79768389

Date: 2025-09-18 11:59:11
Score: 2
Natty:
Report link

I ran into the same Issue, I removed :

using Microsoft.AspNetCore.Components;


it then worked perfectly...
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: WASP

79768379

Date: 2025-09-18 11:52:09
Score: 2.5
Natty:
Report link

Once you have merged these commits into your default branch (e.g., main, master) the issues will close automatically.

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

79768377

Date: 2025-09-18 11:51:08
Score: 4
Natty:
Report link

UPD: I have achieved it by switching to AG Grid

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

79768373

Date: 2025-09-18 11:48:07
Score: 4
Natty: 4.5
Report link

Is it a good practice to use markers for something like log ids which are different for each log and could be millions? I saw that using MarkerFactory.getMarker stores the markers in a map which would cause overhead, but there's MarkerFactory.getDetachedMarker which simply creates and returns the marker object.

Best regards,

Martin

Reasons:
  • Blacklisted phrase (0.5): Best regards
  • Blacklisted phrase (1): regards
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it a
  • Low reputation (1):
Posted by: Martin Kurtev

79768372

Date: 2025-09-18 11:47:06
Score: 4
Natty: 4.5
Report link

may need to be used the XIAO_ESP32C3 firmware

see this https://github.com/nanoframework/Home/issues/1445#issuecomment-1999215765

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

79768369

Date: 2025-09-18 11:44:05
Score: 2.5
Natty:
Report link

you can run this command to delete "Python312" in PowerShell
python.exe -m pip uninstall pip

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

79768363

Date: 2025-09-18 11:38:03
Score: 3
Natty:
Report link

Adding to answer of @Marty

React now blocks javascript: URL as a security precaution. Github

console

Navigation to data: URLs is blocked in all modern browsers. MDN

console

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Marty
  • Low reputation (0.5):
Posted by: Shub

79768345

Date: 2025-09-18 11:20:58
Score: 12 🚩
Natty: 5
Report link

Did you ever find out the fix to this? I am having the same issue!

Reasons:
  • RegEx Blacklisted phrase (3): Did you ever find out the fix to this
  • RegEx Blacklisted phrase (1.5): fix to this?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Laura

79768342

Date: 2025-09-18 11:16:57
Score: 2.5
Natty:
Report link

Use Firebase Identity Platform’s email link sign-in with the new ActionCodeSettings instead of Dynamic Links. Configure the redirect in Firebase Console and handle the sign-in link directly in your app using

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

79768337

Date: 2025-09-18 11:12:55
Score: 6 🚩
Natty: 4.5
Report link

Kindly check the link for detail and video
https://dotnet-az.blogspot.com/2025/09/creating-executable-installer-exe-in.html
https://www.youtube.com/watch?v=gL0-AyfnBl4

Reasons:
  • Blacklisted phrase (1): youtube.com
  • RegEx Blacklisted phrase (1): check the link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ajay zala

79768335

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

For anyone else coming to this much later on, you can enable GlideAjax in your direct UI Pages by including the UI Script which initiates GlideAjax.

Include this HTML in the top of your UI Page template

<script type="text/javascript" src="/scripts/doctype/js_includes_doctype.jsx?v=09-08-2025_1328&amp;lp=Wed_Sep_17_06_56_19_PDT_2025&amp;c=13_273"></script>

I found this by looking at a UI Page with Direct=false and then using browser dev tools to search the sources for "GlideAjax =". Not a bullet proof way to find things, but it also helped me find the script for amb client.

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

79768326

Date: 2025-09-18 10:59:50
Score: 4
Natty: 5
Report link

http://www.example.com/members/me/profile/
use this pattern for redirecting dynamically

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

79768307

Date: 2025-09-18 10:40:45
Score: 2
Natty:
Report link

When you want to return to the home page rather than the previous screen, you can use the "Home" button or icon on the app or browser.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Kavya Pharma

79768306

Date: 2025-09-18 10:38:44
Score: 0.5
Natty:
Report link

image is uint8, so the 1 + image happens in uint8 arithmetic. Therefore 256 becomes 0.

Also, that formula is different. This one reflects the original formula:

c = 255 / np.log(1 + np.max(image.astype(np.float32)))
log_transformed = c * np.log(1 + image.astype(np.float32))
log_transformed = np.clip(log_transformed, 0, 255).astype(np.uint8)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: AcidResin

79768305

Date: 2025-09-18 10:36:43
Score: 6.5 🚩
Natty:
Report link

I am getting same error, i think it is something with the simulator i tested the app with simulator iphone 16 it works while it doesnt on iphone 17

Reasons:
  • RegEx Blacklisted phrase (1): I am getting same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am getting same error
  • Single line (0.5):
  • Low reputation (1):
Posted by: MaKhatib

79768304

Date: 2025-09-18 10:36:43
Score: 0.5
Natty:
Report link

For me the problem occured on the Sunmi T2s.

I was able to fix it by doing the following steps:

System > Developer Options > Default USB Configuration > PTP (enabled)

Hope that helps someone else out.

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

79768296

Date: 2025-09-18 10:27:40
Score: 4.5
Natty:
Report link

请问下,为什么laravel9老是提示不支持put方法,仅支持get/head方法,并且提示index.php中$request= request::capture()

大家有知道的,感谢🙏

Reasons:
  • Blacklisted phrase (0.5): 🙏
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Hello

79768292

Date: 2025-09-18 10:23:39
Score: 3.5
Natty:
Report link

The issue turned out to be with the version of react-grid-layout. So updated the version from 1.3.4 to 1.5.2 and the issue is resolved.

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

79768282

Date: 2025-09-18 10:12:37
Score: 3
Natty:
Report link

The elliptic package includes a suite of functionality for complex integration.

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

79768276

Date: 2025-09-18 10:04:35
Score: 0.5
Natty:
Report link
@less μ_model(period, vol_q, Q)

This will show function source code if it's defined in an included file. You need to provide actual parameters to let Julia detect what types it's calling.

Then it's vim. Use :q to exit.

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

79768270

Date: 2025-09-18 09:57:33
Score: 2
Natty:
Report link

A latent error is a hidden flaw in a system, process, or design that does not cause immediate harm but increases the risk of accidents or failures over time.

Example: In a workplace, if Health & Safety Software records hazards but does not automatically alert managers about overdue corrective actions, the issue remains unnoticed. While nothing happens at first, this hidden gap can eventually contribute to an accident when combined with other unsafe conditions.

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

79768268

Date: 2025-09-18 09:54:32
Score: 2
Natty:
Report link

For me, the issue was that I was referencing Key Vault Secrets in my local.settings.json file and I had not logged in with the correct user with az login before running my function. Logging in through az login with a user that had Secrets Get permission on the Key Vault resolved the problem for me. I also tried reinstalling azure-function-core-tools and AzureFunctionTools as per DA's response above so it may have been a combination

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

79768267

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

After researching, the only way I have been able to delete them is to install AWS CLI, configure it, and force a deletion with:

  1. List all buckets:

aws s3 ls

  1. Delete a bucket:

aws s3 rb s3://BUCKET_NAME --force

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

79768266

Date: 2025-09-18 09:54:32
Score: 1.5
Natty:
Report link

the error happens because shrinkResources is enabled without minifyEnabled, which Android does not allow. To fix this, open android/app/build.gradle and check both are set consistently in your release block, either disable both (minifyEnabled false and shrinkResources false) if you just want your build to succeed, or enable both (minifyEnabled true and shrinkResources true) if you want shrinking, in which case you must also include proper proguard-rules.pro to prevent Flutter or plugin code from being stripped out. if a plugin is forcing shrinkResources, you can disable it globally in gradle.properties with android.enableResourceShrinker=false. Which should ensure the build system sees a valid configuration and thus removing the error.

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

79768240

Date: 2025-09-18 09:34:26
Score: 2.5
Natty:
Report link

When you install with pip install "fastapi[standard]" it comes with some default optional standard dependencies.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you in
  • Low reputation (1):
Posted by: Mohamed Mostafa

79768239

Date: 2025-09-18 09:34:26
Score: 3
Natty:
Report link

Did the OP get there solution? To use the parameter from the GET request you would probably have to encode and store the full relative URL and parse it that way. Which could present problems depending on browser security.
I cannot help but think the OPs request wasnt to load a website in an iframe but to try to engage and dabble in some XSS or other nefarious things. Loading a php page in an iframe is easy. Trying to use parameters and arguments is a different kettle of PHISH.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did the
  • Low reputation (1):
Posted by: Daniel Gray

79768228

Date: 2025-09-18 09:27:24
Score: 0.5
Natty:
Report link

In my case I started to get this error when I wanted to check the logs of my Next.js app in a EKS. The app page were loading but when the app API backend wanted to contact an external API it was failing, returning 502. I discovered that the NAT gateway for my cluster subnet was changed and the previous on was not available any longer. I had to change the route table for the subnets to point to the new NAT gateway. Once this was done, everything started working.

The reason for the error was a VPC network configuration change were the connection to external systems in the cluster was not working therefore causing fetching the logs from my PC to not be able to reach the pod even though I could list, get or describe Kubernetes resources.

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

79768227

Date: 2025-09-18 09:24:23
Score: 0.5
Natty:
Report link

Yes, the @Timestamp annotation is mandatory for @EventSourcingHandler methods in Axon Framework. While @EventHandler methods can automatically resolve Instant parameters to the event timestamp, @EventSourcingHandler methods require explicit annotation. Your current implementation with @Timestamp Instant requestedAt is correct and should be maintained.

//CORRECT USE - @Timestamp must be added
@EventSourcingHandler
public void on(FooEvent event, @Timestamp Instant requestedAt) {
  // requestAt now contains the event's timestamp
}

Difference between @EventHandler and @EventSourcingHandler:

In @EventHandler methods, Axon automatically populates Instant parameters with the event timestamp.

In @EventSourcingHandler methods, the explicit @Timestamp annotation is required.

// CORRECT USAGE - @Timestamp must be added.

@EventSourcingHandler

public void on(FooEvent event, @Timestamp Instant requestedAt) {

// requestedAt now contains the event's timestamp.

}

Solution for test error:

Adding @Timestamp will now recognize the parameter, and the "No resource of type Instant" error will disappear.

Alternative solution (carrying timestamp within the event):

// Your Event class

public class FooEvent {

private Instant timestamp;

// getter/setter

}

// In EventSourcingHandler

@EventSourcingHandler

public void on(FooEvent event) {

Instant requestedAt = event.getTimestamp(); // Use the event's own timestamp

}

This may be a documentation oversight/ambiguity, but technically the correct behavior is to require @Timestamp annotation for @EventSourcingHandler. You should continue using your existing working code (with @Timestamp).

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Timestamp
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @EventHandler
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @Timestamp
  • User mentioned (0): @EventHandler
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @EventHandler
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @Timestamp
  • User mentioned (0): @Timestamp
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @Timestamp
  • User mentioned (0): @Timestamp
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @Timestamp
  • User mentioned (0): @EventSourcingHandler
  • User mentioned (0): @Timestamp
  • Low reputation (1):
Posted by: Yavuz Karan

79768220

Date: 2025-09-18 09:18:21
Score: 5
Natty:
Report link

JavaFX developers use @Deprecated Java anotation and @deprecated Javadoc tag as solution for Preview Features in JavaFX.

For more info, see:

Again Thanks @Slaw: https://meta.stackoverflow.com/users/6395627/slaw

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Slaw
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Ladislav Török

79768209

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

Late answer, but looks like there are multiple possible reasons why the storage grows steadily. Orphan replication slots created for all-tables publications pile up WAL content when the replica suddenly goes offline or idle. Also idle or low-writing databases cause "WAL jams". I have experienced a similar situation but using an AWS RDS Postgres as master, which comes with some hidden spice: heartbeat transactions. This blog describes nicely other cases: https://wolfman.dev/posts/pg-logical-heartbeats/

So, avoid:

To drop a replica slot use:

SELECT pg_drop_replication_slot('replication_name');
CHECKPOINT;
Reasons:
  • Blacklisted phrase (1): This blog
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ronal Douglas

79768200

Date: 2025-09-18 09:03:16
Score: 2.5
Natty:
Report link

you need to inject Reflector via @Inject :

constructor(@Inject(Reflector) private readonly reflector: Reflector) {}

worked perfectly

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @Inject
  • Low reputation (1):
Posted by: ourahou amine

79768174

Date: 2025-09-18 08:40:10
Score: 5
Natty: 5.5
Report link

Disable Use non-modal commit interface

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexandru - Ioan Chirvase

79768173

Date: 2025-09-18 08:39:09
Score: 1
Natty:
Report link

Run CMD as Administrator

then execute the following command:

sfc /scannow

after completed, restart the PC

Open Eclipse / Spring Tool Suite as Administrator

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Paul Marcelin Bejan

79768171

Date: 2025-09-18 08:37:08
Score: 4
Natty:
Report link

Following the issue I created on the react-google-maps repository, a PR has been made (not by me) and merged on the Terra Draw project : github.com/JamesLMilner/terra-draw/pull/650. The id will not be required anymore. In the meantime @bobskieee answer works.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @bobskieee
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AxelC

79768131

Date: 2025-09-18 07:57:58
Score: 1
Natty:
Report link

Use a fixed string for secretKey to replace random genereated 20 length string.

 'Dim mySecretKey As String = Me.GenerateRandomKey(20)
 Dim mySecretKey As String = "JBSWY3DPEHPK3PXP"

Using random secretkey causing QR code added account is not reusable. Therefore, we need to scan the QR code every time at the OTP validation step.

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

79768130

Date: 2025-09-18 07:56:58
Score: 0.5
Natty:
Report link

Zero Knowledge Proof (ZKP) is an extremely powerful pairing of security and efficiency that makes them extremely useful for privacy-preserving applications. ZKP' security is rooted in hard mathematical assumptions and cryptography—so that one party can prove knowledge of information without revealing information itself.

At the performance level, there have been recent advances that hugely improve the scalability and speed of ZKP, especially with solutions like zk-SNARKs and zk-STARKs. These schemes minimize computational overhead while maintaining strong security guarantees. For example, zk-SNARKs provide short proofs that are simple to verify in a short period of time and enable uses like private blockchain transactions and identity verification.

However, performance can also vary depending on the application-specific ZKP protocol and instantiation. Some can require trusted setups, and some highlight transparency and quantum security. Generally speaking, the balance between performance and security in ZKP is also quickly improving, and they become viable for real-world application with a need for privacy and efficiency.

If you are searching for in-depth comparisons or implementation tips, I recommend exploring sources on zk-SNARKs, zk-STARKs, and ZKP scalability breakthroughs over the recent past.

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

79768129

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

The problem on my HP notebook was solved by installing several original HP hardware drivers for Windows! Using drivers installed by Windows Update system was not sufficient.

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

79768126

Date: 2025-09-18 07:51:56
Score: 1.5
Natty:
Report link

You can see this file :

vendor/symfony/http-kernel/Resources/welcome.html.php

But as yivi said, you can't edit this file, you have to create your own controller and template.

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

79768125

Date: 2025-09-18 07:48:56
Score: 3.5
Natty:
Report link

Can you check that you have a cache directory and a sessions directory in the storage/framework directory? If not, you will need to create them. I believe it is trying to cache the blade, but it has nowhere to do so.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Matt

79768115

Date: 2025-09-18 07:37:53
Score: 0.5
Natty:
Report link

I eventually figured out why I was getting the vague:

Error: SignerSign() failed.
(-2147467259/0x80004005)

The missing piece was permissions at the Trusted Signing account level.
Even though I was the Owner of the Azure subscription, it is not enough to actually sign. You must also have the Trusted Signing Certificate Profile Signer role assigned.

Once I added my user to the Trusted Signing account with the Trusted Signing Certificate Profile Signer role, the signing command started working immediately.

Fix: Assign the user/service principal the Trusted Signing Certificate Profile Signer role on the Trusted Signing resource. Assigning role

After that, my signtool post-build step was able to successfully sign both DLLs and the MSI installer.

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

79768112

Date: 2025-09-18 07:36:52
Score: 2.5
Natty:
Report link

Here is the source:

https://source.dot.net/#PresentationFramework/System/Windows/Controls/BooleanToVisibilityConverter.cs

Search Converter.cs in the browser.

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

79768111

Date: 2025-09-18 07:35:52
Score: 1
Natty:
Report link

import React, { useEffect, useState } from "react";

// Simple single-file Social Media app prototype // - Tailwind CSS assumed to be available in the host project // - Paste this component into a Vite/CRA React project and render <SocialApp /> in App.jsx

const samplePosts = [ { id: 1, author: "Mango Shak", avatarLetter: "M", time: "2025-09-18", text: "Hello world! This is my first post.", image: null, likes: 3, comments: [ { id: 1, author: "Ami", text: "Nice post!" }, ], }, ];

function useLocalStorage(key, initial) { const [state, setState] = useState(() => { try { const raw = localStorage.getItem(key); return raw ? JSON.parse(raw) : initial; } catch (e) { return initial; } });

useEffect(() => { try { localStorage.setItem(key, JSON.stringify(state)); } catch (e) {} }, [key, state]);

return [state, setState]; }

export default function SocialApp() { const [posts, setPosts] = useLocalStorage("sm_posts", samplePosts); const [user, setUser] = useLocalStorage("sm_user", { name: "You", avatarLetter: "Y", });

const [newText, setNewText] = useState(""); const [newImage, setNewImage] = useState(""); const [query, setQuery] = useState(""); const [filter, setFilter] = useState("latest");

function addPost() { if (!newText.trim() && !newImage.trim()) return; const id = Date.now(); const post = { id, author: user.name, avatarLetter: user.avatarLetter || user.name.charAt(0).toUpperCase(), time: new Date().toISOString(), text: newText.trim(), image: newImage.trim() || null, likes: 0, comments: [], }; setPosts([post, ...posts]); setNewText(""); setNewImage(""); }

function toggleLike(postId) { setPosts( posts.map((p) => (p.id === postId ? { ...p, likes: p.likes + 1 } : p)) ); }

function addComment(postId, text) { if (!text.trim()) return; setPosts( posts.map((p) => p.id === postId ? { ...p, comments: [ ...p.comments, { id: Date.now(), author: user.name, text: text.trim() }, ], } : p ) ); }

function deletePost(postId) { setPosts(posts.filter((p) => p.id !== postId)); }

function updateProfile(name) { setUser({ ...user, name, avatarLetter: name.charAt(0).toUpperCase() }); }

const visiblePosts = posts .filter((p) => p.text.toLowerCase().includes(query.toLowerCase())) .sort((a, b) => { if (filter === "latest") return new Date(b.time) - new Date(a.time); if (filter === "oldest") return new Date(a.time) - new Date(b.time); return 0; });

return ( <div className="min-h-screen bg-gray-50 p-4 md:p-8"> <div className="max-w-4xl mx-auto"> {/* Header */} <header className="flex items-center justify-between mb-6"> <h1 className="text-2xl font-bold">Simple Social — Prototype</h1> <div className="flex items-center gap-3"> <div className="w-10 h-10 rounded-full bg-indigo-600 text-white flex items-center justify-center font-semibold">{user.avatarLetter}</div> <div className="text-sm text-gray-700">{user.name}</div> </div> </header>

{/* Composer */}

\<section className="bg-white p-4 rounded-2xl shadow mb-6"\>

  \<textarea

    value={newText}

    onChange={(e) =\> setNewText(e.target.value)}

    placeholder={\`What's on your mind, ${user.name}?\`}

    className="w-full border-0 focus:ring-0 resize-none text-sm"

    rows={3}

  /\>

  \<div className="mt-2 flex gap-2"\>

    \<input

      value={newImage}

      onChange={(e) =\> setNewImage(e.target.value)}

      placeholder="Image URL (optional)"

      className="flex-1 text-sm border rounded px-2 py-1"

    /\>

    \<button onClick={addPost} className="px-4 py-2 bg-indigo-600 text-white rounded"\>Post\</button\>

  \</div\>

  \<div className="mt-3 text-xs text-gray-500"\>Tip: paste an image URL or write a short post.\</div\>

\</section\>

{/\* Filters/Search \*/}

\<div className="flex gap-3 items-center mb-4"\>

  \<input

    value={query}

    onChange={(e) =\> setQuery(e.target.value)}

    placeholder="Search posts..."

    className="flex-1 border px-3 py-2 rounded"

  /\>

  \<select value={filter} onChange={(e) =\> setFilter(e.target.value)} className="border rounded px-2 py-2"\>

    \<option value="latest"\>Latest\</option\>

    \<option value="oldest"\>Oldest\</option\>

  \</select\>

  \<button

    onClick={() =\> {

      const name = prompt("Enter display name:", user.name) || user.name;

      updateProfile(name);

    }}

    className="px-3 py-2 border rounded"

  \>

    Edit Profile

  \</button\>

\</div\>

{/\* Posts \*/}

\<main className="space-y-4"\>

  {visiblePosts.length === 0 && (

    \<div className="text-center text-gray-500 py-8"\>No posts yet — be the first!\</div\>

  )}

  {visiblePosts.map((post) =\> (

    \<article key={post.id} className="bg-white p-4 rounded-2xl shadow"\>

      \<div className="flex gap-3"\>

        \<div className="w-12 h-12 rounded-full bg-indigo-600 text-white flex items-center justify-center font-semibold"\>{post.avatarLetter || post.author.charAt(0)}\</div\>

        \<div className="flex-1"\>

          \<div className="flex items-center justify-between"\>

            \<div\>

              \<div className="font-semibold"\>{post.author}\</div\>

              \<div className="text-xs text-gray-500"\>{new Date(post.time).toLocaleString()}\</div\>

            \</div\>

            \<div className="text-xs"\>

              \<button onClick={() =\> deletePost(post.id)} className="px-2 py-1 rounded hover:bg-gray-100"\>Delete\</button\>

            \</div\>

          \</div\>

          \<p className="mt-3 whitespace-pre-wrap"\>{post.text}\</p\>

          {post.image && (

            \<div className="mt-3"\>

              \<img src={post.image} alt="post" className="w-full max-h-64 object-cover rounded-lg" /\>

            \</div\>

          )}

          \<div className="mt-3 flex items-center gap-3 text-sm text-gray-600"\>

            \<button onClick={() =\> toggleLike(post.id)} className="px-2 py-1 rounded hover:bg-gray-100"\>👍 Like ({post.likes})\</button\>

            \<CommentBox post={post} onAddComment={(t) =\> addComment(post.id, t)} /\>

          \</div\>

          {post.comments.length \> 0 && (

            \<div className="mt-3 border-t pt-3"\>

              {post.comments.map((c) =\> (

                \<div key={c.id} className="text-sm mb-2"\>

                  \<span className="font-semibold"\>{c.author}\</span\>: {c.text}

                \</div\>

              ))}

            \</div\>

          )}

        \</div\>

      \</div\>

    \</article\>

  ))}

\</main\>

{/\* Footer / small profile settings \*/}

\<footer className="mt-8 text-center text-gray-500 text-xs"\>Prototype — data saved locally in your browser.\</footer\>

</div>

</div>

); }

function CommentBox({ post, onAddComment }) { const [open, setOpen] = useState(false); const [text, setText] = useState("");

return ( <div> <button onClick={() => setOpen((s) => !s)} className="px-2 py-1 rounded hover:bg-gray-100">💬 Comment</button> {open && ( <div className="mt-2 flex gap-2"> <input value={text} onChange={(e) => setText(e.target.value)} placeholder="Write a comment..." className="flex-1 border rounded px-2 py-1 text-sm" /> <button onClicimport React, { useEffect, useState } from "react";

// Simple single-file Social Media app prototype // - Tailwind CSS assumed to be available in the host project // - Paste this component into a Vite/CRA React project and render <SocialApp /> in App.jsx

const samplePosts = [ { id: 1, author: "Mango Shak", avatarLetter: "M", time: "2025-09-18", text: "Hello world! This is my first post.", image: null, likes: 3, comments: [ { id: 1, author: "Ami", text: "Nice post!" }, ], }, ];

function useLocalStorage(key, initial) { const [state, setState] = useState(() => { try { const raw = localStorage.getItem(key); return raw ? JSON.parse(raw) : initial; } catch (e) { return initial; } });

useEffect(() => { try { localStorage.setItem(key, JSON.stringify(state)); } catch (e) {} }, [key, state]);

return [state, setState]; }

export default function SocialApp() { const [posts, setPosts] = useLocalStorage("sm_posts", samplePosts); const [user, setUser] = useLocalStorage("sm_user", { name: "You", avatarLetter: "Y", });

const [newText, setNewText] = useState(""); const [newImage, setNewImage] = useState(""); const [query, setQuery] = useState(""); const [filter, setFilter] = useState("latest");

function addPost() { if (!newText.trim() && !newImage.trim()) return; const id = Date.now(); const post = { id, author: user.name, avatarLetter: user.avatarLetter || user.name.charAt(0).toUpperCase(), time: new Date().toISOString(), text: newText.trim(), image: newImage.trim() || null, likes: 0, comments: [], }; setPosts([post, ...posts]); setNewText(""); setNewImage(""); }

function toggleLike(postId) { setPosts( posts.map((p) => (p.id === postId ? { ...p, likes: p.likes + 1 } : p)) ); }

function addComment(postId, text) { if (!text.trim()) return; setPosts( posts.map((p) => p.id === postId ? { ...p, comments: [ ...p.comments, { id: Date.now(), author: user.name, text: text.trim() }, ], } : p ) ); }

function deletePost(postId) { setPosts(posts.filter((p) => p.id !== postId)); }

function updateProfile(name) { setUser({ ...user, name, avatarLetter: name.charAt(0).toUpperCase() }); }

const visiblePosts = posts .filter((p) => p.text.toLowerCase().includes(query.toLowerCase())) .sort((a, b) => { if (filter === "latest") return new Date(b.time) - new Date(a.time); if (filter === "oldest") return new Date(a.time) - new Date(b.time); return 0; });

return ( <div className="min-h-screen bg-gray-50 p-4 md:p-8"> <div className="max-w-4xl mx-auto"> {/* Header */} <header className="flex items-center justify-between mb-6"> <h1 className="text-2xl font-bold">Simple Social — Prototype</h1> <div className="flex items-center gap-3"> <div className="w-10 h-10 rounded-full bg-indigo-600 text-white flex items-center justify-center font-semibold">{user.avatarLetter}</div> <div className="text-sm text-gray-700">{user.name}</div> </div> </header>

{/* Composer */}

\<section className="bg-white p-4 rounded-2xl shadow mb-6"\>

  \<textarea

    value={newText}

    onChange={(e) =\> setNewText(e.target.value)}

    placeholder={\`What's on your mind, ${user.name}?\`}

    className="w-full border-0 focus:ring-0 resize-none text-sm"

    rows={3}

  /\>

  \<div className="mt-2 flex gap-2"\>

    \<input

      value={newImage}

      onChange={(e) =\> setNewImage(e.target.value)}

      placeholder="Image URL (optional)"

      className="flex-1 text-sm border rounded px-2 py-1"

    /\>

    \<button onClick={addPost} className="px-4 py-2 bg-indigo-600 text-white rounded"\>Post\</button\>

  \</div\>

  \<div className="mt-3 text-xs text-gray-500"\>Tip: paste an image URL or write a short post.\</div\>

\</section\>

{/\* Filters/Search \*/}

\<div className="flex gap-3 items-center mb-4"\>

  \<input

    value={query}

    onChange={(e) =\> setQuery(e.target.value)}

    placeholder="Search posts..."

    className="flex-1 border px-3 py-2 rounded"

  /\>

  \<select value={filter} onChange={(e) =\> setFilter(e.target.value)} className="border rounded px-2 py-2"\>

    \<option value="latest"\>Latest\</option\>

    \<option value="oldest"\>Oldest\</option\>

  \</select\>

  \<button

    onClick={() =\> {

      const name = prompt("Enter display name:", user.name) || user.name;

      updateProfile(name);

    }}

    className="px-3 py-2 border rounded"

  \>

    Edit Profile

  \</button\>

\</div\>

{/\* Posts \*/}

\<main className="space-y-4"\>

  {visiblePosts.length === 0 && (

    \<div className="text-center text-gray-500 py-8"\>No posts yet — be the first!\</div\>

  )}

  {visiblePosts.map((post) =\> (

    \<article key={post.id} className="bg-white p-4 rounded-2xl shadow"\>

      \<div className="flex gap-3"\>

        \<div className="w-12 h-12 rounded-full bg-indigo-600 text-white flex items-center justify-center font-semibold"\>{post.avatarLetter || post.author.charAt(0)}\</div\>

        \<div className="flex-1"\>

          \<div className="flex items-center justify-between"\>

            \<div\>

              \<div className="font-semibold"\>{post.author}\</div\>

              \<div className="text-xs text-gray-500"\>{new Date(post.time).toLocaleString()}\</div\>

            \</div\>

            \<div className="text-xs"\>

              \<button onClick={() =\> deletePost(post.id)} className="px-2 py-1 rounded hover:bg-gray-100"\>Delete\</button\>

            \</div\>

          \</div\>

          \<p className="mt-3 whitespace-pre-wrap"\>{post.text}\</p\>

          {post.image && (

            \<div className="mt-3"\>

              \<img src={post.image} alt="post" className="w-full max-h-64 object-cover rounded-lg" /\>

            \</div\>

          )}

          \<div className="mt-3 flex items-center gap-3 text-sm text-gray-600"\>

            \<button onClick={() =\> toggleLike(post.id)} className="px-2 py-1 rounded hover:bg-gray-100"\>👍 Like ({post.likes})\</button\>

            \<CommentBox post={post} onAddComment={(t) =\> addComment(post.id, t)} /\>

          \</div\>

          {post.comments.length \> 0 && (

            \<div className="mt-3 border-t pt-3"\>

              {post.comments.map((c) =\> (

                \<div key={c.id} className="text-sm mb-2"\>

                  \<span className="font-semibold"\>{c.author}\</span\>: {c.text}

                \</div\>

              ))}

            \</div\>

          )}

        \</div\>

      \</div\>

    \</article\>

  ))}

\</main\>

{/\* Footer / small profile settings \*/}

\<footer className="mt-8 text-center text-gray-500 text-xs"\>Prototype — data saved locally in your browser.\</footer\>

</div>

</div>

); }

function CommentBox({ post, onAddComment }) { const [open, setOpen] = useState(false); const [text, setText] = useState("");

return ( <div> <button onClick={() => setOpen((s) => !s)} className="px-2 py-1 rounded hover:bg-gray-100">💬 Comment</button> {open && ( <div className="mt-2 flex gap-2"> <input value={text} onChange={(e) => setText(e.target.value)} placeholder="Write a comment..." className="flex-1 border rounded px-2 py-1 text-sm" /> <button onClick={() => { onAddComment(text); setText(""); }} className="px-3 py-1 border rounded text-sm" > Send </button> </div> )} </div> ); }

k={() => { onAddComment(text); setText(""); }} className="px-3 py-1 border rounded text-sm" > Send </button> </div> )} </div> ); }

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mango shak

79768102

Date: 2025-09-18 07:25:49
Score: 1
Natty:
Report link

The error occurs when my WSO2 installation path contains space,WSO2 Carbon framework has problems handling file paths with spaces on Windows systems.

Solution

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

79768082

Date: 2025-09-18 07:04:44
Score: 2.5
Natty:
Report link

Your problem is most likely: the listening port or security group configuration does not match. Although the target group is healthy, the actual requested port/protocol when the ALB forwards is incorrect, or the instance only listens on localhost

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

79768080

Date: 2025-09-18 06:59:43
Score: 1
Natty:
Report link

In my case, to address the previous iOS issue, I was using.

env(safe-area-inset-bottom)

Now it seems like Apple has fixed this issue, so if any of you are using this, please remove it

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

79768062

Date: 2025-09-18 06:42:39
Score: 2
Natty:
Report link

I’ve seen a few people run into the same issue when working with the Spotify API. Honestly, it can be a bit tricky, but that’s one of the things I like about Spotify. Once you figure it out, the amount of data you can pull from playlists is amazing. I’ve used it myself just to explore artists and albums more deeply, and it really shows how powerful Spotify is beyond just listening to music.

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

79768059

Date: 2025-09-18 06:38:38
Score: 2
Natty:
Report link

In my case, I add -Dfile.encoding=UTF-8 to that particular node's JVM Options.

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

79768056

Date: 2025-09-18 06:36:37
Score: 1.5
Natty:
Report link

Workaround/Best-practice: type(None) instead of directly accessing the dunder-attribute with None.__class__. Thanks @chepner from the comments of the question.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @chepner
  • Single line (0.5):
  • High reputation (-1):
Posted by: julaine

79768031

Date: 2025-09-18 06:11:31
Score: 0.5
Natty:
Report link
class MyClass
{
  bool operator <(const MyClass& rhs) const
  {
    return this->key < rhs.key;
  }
}

Set needs operator< to be const
- For set, the comparator (operator<) must be a const member function because the set needs to compare elements without modifying them.

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

79768027

Date: 2025-09-18 06:06:30
Score: 2.5
Natty:
Report link

Your policy failed because many EC2 APIs don't support resource-level permissions. Changing it to "Resource": "*" will fix the issue. If the policy is limited to a specific region, use a Condition. If you want to save time, simply attach the official policy: AmazonEC2FullAccess

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

79768024

Date: 2025-09-18 06:04:29
Score: 3.5
Natty:
Report link

Ceate Base Module , manager save public resouce or code....

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

79768014

Date: 2025-09-18 05:46:24
Score: 4
Natty:
Report link

enter image description here

You need to specify HTTP version as HTTP_1_1, the default is HTTP_2

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

79768011

Date: 2025-09-18 05:40:23
Score: 0.5
Natty:
Report link

I may be late to the party but this error also manifests when your user is not attached to a user group within Elasticache. And then your group needs to be attached to your Valkey cache as well.
Hope it helps.

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

79767998

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

I’ve already tried all the steps you mentioned (including checking the keys, the Gateway Error Log, and replicating the request in /IWFND/GW_CLIENT). I could also see that the request was reaching CHANGESET_PROCESS, and I even attempted to handle the logic there, but it still didn’t solve the issue.

What finally worked was disabling batch requests by setting:

oODataModel.setUseBatch(false);

This way the request is sent as a plain POST instead of being grouped in a batch with PUT or MERGE. While this is more of a workaround than a real fix, it allowed the service to process the request correctly.

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

79767981

Date: 2025-09-18 04:30:08
Score: 2.5
Natty:
Report link

literally all i had to do was specify --enable-multilib when compiling gcc

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Coarse Rosinflower

79767957

Date: 2025-09-18 03:29:55
Score: 4
Natty:
Report link

I use node fs to read bundled dist/index.js, and overwrite the content with the export paths I need. Problem solved!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kate Tang

79767956

Date: 2025-09-18 03:27:55
Score: 0.5
Natty:
Report link

In my case the problem was that I was using dots in the test names. Here is a github issue describing this.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: Yola

79767945

Date: 2025-09-18 03:03:50
Score: 1.5
Natty:
Report link

If Redshift kills an idle session, your next query will fail with an error (usually OperationalError or InterfaceError). The clean way to handle this in SQLAlchemy is to enable pool\_pre\_ping=True, which sends a quick SELECT 1 before using a connection and swaps out dead ones automatically. Pair that with pool\_recycle set to less than the idle timeout (e.g., 300 seconds for a 10-minute timeout) to proactively refresh connections before they expire. Keep sessions short-lived and add retry logic for critical queries. One gotcha: if a connection dies mid-transaction, you'll still get an error since transactions can't transparently recover - you'll need to rollback and retry. In short: pool\_pre\_ping handles dead connections, pool\_recycle prevents them from dying, and retries cover the edge cases.

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

79767942

Date: 2025-09-18 02:45:46
Score: 2
Natty:
Report link

I have issue , my eb is in intranet environment so it can't do npm installl by itself.

similar issue happened for my angular app so i added the node modules together with zip file ,

I have created the two package.json , one for node json only kept in parent folder ,

then i have done npm install locally for parent folder, less node modules installed.

then zipped together dist build file , server.js and nodemodule for angular it was working,But similar thing in nextjs i am not sure

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

79767934

Date: 2025-09-18 02:14:39
Score: 1
Natty:
Report link

In case the string we are splitting is delimiter itself. Then split results in an empty list.

String emptyString = "";
String[] result = emptyString.split(""); // Delimiter is also an empty string
System.out.println(result.length); // Output: 0
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: teja

79767926

Date: 2025-09-18 01:53:34
Score: 1
Natty:
Report link

The Spring Boot Assistant plugin can help you, as it allows IntelliJ Community to see application.properties and application.yml as Spring configuration files, highlighting in-use properties in orange.

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

79767922

Date: 2025-09-18 01:38:30
Score: 2
Natty:
Report link

-----BEGIN CERTIFICATE-----

Compatibility

Father-in-law

Businesswoman

Counterproductive

Chemotherapeutic

Charlottesville

Authoritative

Nonspecific/Family-friendly

Acres/uT1ceUmwJinyOPR1Bpj431+Chromatographic/Airbag

Overshadowed/Categorisation

Varietal/Baobab/Pre-qualified+Anniversaries

Accomplishments+Ohio

wage

-----END CERTIFICATE-----

https://3222463673-files.gitbook.io/\~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM2pnrVN

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

79767920

Date: 2025-09-18 01:34:30
Score: 0.5
Natty:
Report link

As of Godot 4.0, TileMapLayers can tile nodes as if they were tiles:

Create your scene and save it. Open the tileset editor, hit the plus icon, and create a new Scene Collection. Keep in mind this comes with a higher computational cost than atlases. The documentation page is here.

I hope this helped!

Reasons:
  • Whitelisted phrase (-1): hope this help
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: mr-chen-rui

79767917

Date: 2025-09-18 01:27:28
Score: 2
Natty:
Report link

This usually happens because your GitHub Actions IAM role isn’t mapped to a Kubernetes RBAC user in EKS. To fix it, confirm which IAM identity is being used with `aws sts get-caller-identity` and `kubectl whoami`, then check the `aws-auth` ConfigMap with `kubectl get configmap aws-auth -n kube-system -o yaml`. If your GitHub Actions IAM role isn’t listed there, add it. That’s the step that wires up authentication properly.

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

79767916

Date: 2025-09-18 01:26:28
Score: 1
Natty:
Report link

You can use jupyter-cpp-kernel or xeus-cling to write cpp code, but neither of them supports magic like %%cpp.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Allen Shaw

79767915

Date: 2025-09-18 01:24:27
Score: 0.5
Natty:
Report link

The error ModuleNotFoundError: No module named 'requests' is because a dependency for the install is not there. My guess is when installing directly with pip for the main version, dependencies are installed automatically.

Try running pip install requests in your environment before the GitHub pip install.

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

79767914

Date: 2025-09-18 01:22:27
Score: 1.5
Natty:
Report link

Your local pointer appeared to work because it was likely pointing to a RAM copy of the data that the compiler created temporarily! The global pointer failed because it was trying to directly point to PROGMEM with a regular data pointer type.

The key insight is that all pointers to PROGMEM data should themselves be declared with PROGMEM to ensure they use the correct memory space and pointer representation.

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

79767909

Date: 2025-09-18 01:10:24
Score: 3.5
Natty:
Report link

I had the password fed wrong! After fixing the password, the pipeline worked well

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

79767907

Date: 2025-09-18 00:49:20
Score: 0.5
Natty:
Report link

Try adding title and description props to the <Marker /> component like this:

<Marker
  coordinate={{
    latitude: -20.213090469552533,
    longitude: -40.266256965125116,
  }}
  pinColor="red"
  title="Test title"
  description="Test description"
>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Craig Wheeler

79767890

Date: 2025-09-17 23:59:11
Score: 1.5
Natty:
Report link

Find a solution. I had to add Filament and Livewire assets on heroku deployment in my composer.json

        "post-install-cmd": [
            "php artisan filament:assets",
            "php artisan livewire:publish --assets"
        ],
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KarmaWin

79767889

Date: 2025-09-17 23:59:11
Score: 0.5
Natty:
Report link

I'm not sure if this would help you on Restrict Content Pro but may help others.

I am running Profile Builder Basic but fooled around with Restrict Content Pro in the early research phases of site build out.

The solution for me was to create a NEW page with no copied over elements and rebuild it.

Background:

After going around in circles of staging website, disabling all plugins, and caching services, I still couldn't find what was causing it. My plan was to try and put people through the native Wordpress login/logout screen. However, after that plan failed as they were still experiencing the logged in cookie on that one page that as my culprit (/portal).

The plugin I was using was Profile Builder Basic. However, in my early development stages I was fooling around with Restrict Content Pro. My hypothesis is that something under the hood is misaligning or a leftover fragment from that plugin.

After logging out on the new /portal-2 page, and when I revisit the /portal page, it was identifying I was logged out and not sending me in a loop showing I'm logged in. :D

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

79767888

Date: 2025-09-17 23:55:10
Score: 1
Natty:
Report link
warehouses.filter((warehouse, index, self) =>
        index === self.findIndex((w) => (
            w.id === warehouse.id
        ))
    )
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Emirhan Naneli

79767887

Date: 2025-09-17 23:53:09
Score: 1
Natty:
Report link

See CodeTracking.jl, specifically its @code_string.

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

79767886

Date: 2025-09-17 23:48:08
Score: 1
Natty:
Report link

I'm here because this error is apparently not only for the firebases that require xcode 16+.

I've had to retreat to firebase 12.5 from 12.9 (which 12.9 is supposed to be okay with xcode 15.4 but that had problems too)

using Unity 6000.0.36f1 (but also got this error on 6000.2.2f1)

using xcode 15.4

I create a new project, import the 12.5 firebases (auth, cloud functions, firestore, storage)

and build to iOS and on building in xcode it throws the same Cannot find type 'sending' in scope error.

I'm guessing its something to do with some Swift setting somewhere or other in either the Unity side on postprocess or some random swift setting in xcode after its built from Unity. I just cant seem to find any information about it.

So if you're a Swift-ie (lolz)/someone who can help, we need you!

PS: as a Unity dev for over a decade, lemme be the nth person to say this hodgepodge of xcode, unity, cocoapods, java, firebase package support is so ridiculous..!

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

79767885

Date: 2025-09-17 23:46:07
Score: 4.5
Natty: 4
Report link

I have tried the code

import requests
headers={"user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Safari/537.36"}
res=requests.get("https://finance.yahoo.com/quote/AAPL/financials?p=AAPL",headers=headers)
res.status_code

but it fails and gives the

404

Is any way to fix this problem? Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • RegEx Blacklisted phrase (1.5): fix this problem?
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: sping G

79767874

Date: 2025-09-17 23:23:03
Score: 0.5
Natty:
Report link

Its due to a font mishap trying to draw the bullet point, I fixed it by removing the fontawesome package.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: EmmanuelMess

79767868

Date: 2025-09-17 23:04:59
Score: 2
Natty:
Report link

Possibility: You executed the go application indirectly via godotenv from the command line. And perhaps Command-C or Ctrl-C is only killing godotenv.

Maybe you used: godotenv -f ./env/local.env go run cmd/blah/main.go to start your application.

Do you recall how you started your app?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: Michael R

79767867

Date: 2025-09-17 23:02:58
Score: 5
Natty: 5.5
Report link

how many times ?

https://drive.google.com/file/d/1MSpaZIv_T9Gnv_8nn3Kk5uR1GXfDM0zM/view?usp=drivesdk

it's seems to be corrupted.

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: w fournier

79767861

Date: 2025-09-17 22:45:55
Score: 2.5
Natty:
Report link

This can also happen if your parameter type was changed to String when the value is not a string. (My editor did that for me...)

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

79767858

Date: 2025-09-17 22:36:53
Score: 1
Natty:
Report link

I believe you would want to set the flush argument of print() to True like so:

print('*', end='', flush=True)

Per the print() documentation here:

if flush is true, the stream is forcibly flushed.

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

79767850

Date: 2025-09-17 22:09:46
Score: 1.5
Natty:
Report link

In Qt 6.9 and propbably earlier versions you can force the textedit to accept only plain text.

        self.textEdit.setAcceptRichText(False)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: QC Developer

79767843

Date: 2025-09-17 21:57:44
Score: 1.5
Natty:
Report link

I just turned off dependency optimization entirely in the Cypress config Vite dev server config, worked like a charm:


optimizeDeps: {
   noDiscovery: true,
   include: undefined,
}
Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: bvandercar

79767836

Date: 2025-09-17 21:46:41
Score: 4.5
Natty: 4.5
Report link

Perhaps you're looking for SELECT GREATEST(Months_Used,0) AS Months_Used, which will replace negative values with 0?

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

79767831

Date: 2025-09-17 21:43:41
Score: 2.5
Natty:
Report link

The pynvl-lib will do it:

from pynvl import nvl

part_number = None

substr = "1234567"

fallback = "not in defn table"

print(nvl(part_number, nvl(substr, fallback))) # '1234567'

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

79767820

Date: 2025-09-17 21:24:36
Score: 1
Natty:
Report link

Did none of the other XAML solutions work for you?

Do you reject the flicker that IsAsync causes?

Do you detest workarounds in C#?

Set CommandParameter as an attribute, and Command in a style.

For instance, instead of this:

<Button
    CommandParameter="{Binding .}"
    Command="{Binding Source={SOME_SOURCE}, Path=SOME_PATH}"
</Button>

Use this:

<Button
    CommandParameter="{Binding .}"
    <Button.Style>
        <Style TargetType="Button">
            <Setter Property="Command" Value="{Binding Source={SOME_SOURCE}, Path=SOME_PATH}"/>
        </Style>
    </Button.Style>
</Button>

Why does this work?

I'm guessing that different types of bindings are resolved at different times, and CanExecute() is called on the bound Command object as soon as it's resolved - even if CommandParameter hasn't been resolved yet.

Styles use a different mechanism to set attributes. I imagine that this is resolved in a later step, meaning that CommandParameter is guaranteed to be resolved before Command.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (1):
Posted by: ator-dev

79767817

Date: 2025-09-17 21:20:35
Score: 1.5
Natty:
Report link

Is it possible to have a scoped_lock with a timeout to wait N seconds/millis to acquire the lock?

std::scoped_lock does not have a built-in timeout mechanism in C++. std::scoped_lock is a simple RAII wrapper that blocks indefinitely until it acquires the lock(s).

The class scoped_lock is a mutex wrapper that provides a convenient RAII-style mechanism for owning zero or more mutexes for the duration of a scoped block.

When a scoped_lock object is created, it attempts to take ownership of the mutexes it is given. When control leaves the scope in which the scoped_lock object was created, the scoped_lock is destructed and the mutexes are released. If several mutexes are given, deadlock avoidance algorithm is used as if by std::lock.

The scoped_lock class is non-copyable.

And:

Tries to lock (i.e., takes ownership of) the associated mutex. Blocks until specified timeout_duration has elapsed or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. Effectively calls mutex()->try_lock_for(timeout_duration).

This function may block for longer than timeout_duration due to scheduling or resource contention delays.

The standard recommends that a steady clock is used to measure the duration. If an implementation uses a system clock instead, the wait time may also be sensitive to clock adjustments.

std::system_error is thrown if there is no associated mutex or if the mutex is already locked by this std::unique_lock.

Reasons:
  • Blacklisted phrase (1): Is it possible to
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: PumpkinPie π

79767807

Date: 2025-09-17 21:04:31
Score: 2.5
Natty:
Report link

It is misisng the header file llvm/IR/Instructions.h!

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

79767802

Date: 2025-09-17 20:57:29
Score: 5
Natty: 5
Report link

What about RainLisp? It integrates with .NET and it's syntax is very simple.

Reasons:
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: chr1st0scli

79767796

Date: 2025-09-17 20:44:26
Score: 1.5
Natty:
Report link
<VDateInput
    label="Select a date"
    prepend-icon=""
    variant="solo"
/>

just set prepend-icon as a empty string.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Antônio Fernandes

79767791

Date: 2025-09-17 20:37:24
Score: 2
Natty:
Report link

The only reason the "group by" worked faster then the "distinct" in your example is the data was already in-cache.

I would recommend using Distinct, unless you need an aggregate of another field like SUM, MIN, MAX, AVG.

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

79767787

Date: 2025-09-17 20:27:21
Score: 4.5
Natty:
Report link

For a DSL on .NET, you can check at RainLisp.

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

79767785

Date: 2025-09-17 20:26:21
Score: 11
Natty: 7.5
Report link

Sorry for the off-topic message, but I need to run some tests with the latest Linux Luna HSM Client.
Could someone please share it with me?

Thank you in advance,
Nikolay

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Could someone please share
  • RegEx Blacklisted phrase (3): Thank you in advance
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nikolay

79767780

Date: 2025-09-17 20:23:20
Score: 1
Natty:
Report link

Yes, its in pynvl-lib.

from pynvl import nvl, coalesce

print(nvl(None, 5)) # 5

print(nvl("hello", 99)) # 'hello'

#Coalesce is there too:

port_address = None
ip_address = None
mac_address = "A1:B2:C3:D4:E5:F6"
print(coalesce(port_address, ip_address, mac_address)) # "A1:B2:C3:D4:E5:F6"

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

79767768

Date: 2025-09-17 20:05:13
Score: 1.5
Natty:
Report link

This answer shows how to set the PendingIntent flags with the NavDeepLinkBuilder by using createTaskStackBuilder: Missing mutability flags: Android 12 pending intents with NavDeepLinkBuilder

So:

PendingIntent pendingIntent = new NavDeepLinkBuilder(context)
                .setGraph(R.navigation.nav_graph)
                .setDestination(R.id.android)
                .createTaskStackBuilder()
                .getPendingIntent(0, PendingIntent.FLAG_UPDATE_CURRENT | PendingIntent.FLAG_IMMUTABLE);

PendingIntent.FLAG_IMMUTABLE is required or an exception is thrown.

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

79767746

Date: 2025-09-17 19:23:04
Score: 0.5
Natty:
Report link

Make sure to dispatch input, which it looks like you are.
Also, dispatch change, and blur events and that should trigger Angular's change detection.

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

79767745

Date: 2025-09-17 19:22:03
Score: 1
Natty:
Report link
nic_selection_all.SetDNSServerSearchOrder()

just use this dont use anything between() works for me!!!
Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: xoradin

79767739

Date: 2025-09-17 19:19:03
Score: 3.5
Natty:
Report link

I was able to get rid of the errors by upgrading to the 20250914 snapshot of clangd. The latest stable version 21.1.0 still has the errors.

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

79767735

Date: 2025-09-17 19:15:02
Score: 0.5
Natty:
Report link

you basically have a nested array inside `input.values`, where each element is itself an array, and the first element of that sub-array is an object containing `"email"`.

In Azure Data Factory (ADF) or Synapse Data Flows, you can flatten this cleanly without multiple copy activities.

Here’s a step-by-step approach using a Mapping Data Flow:

---

Source

• Point your Source dataset to the JSON file (or API output).

• In Projection, make sure the schema is imported so you can see `input.values`.

---

First Flatten

• Add a Flatten transformation.

• Unroll by: `input.values`

This will give you each inner array as a row.

---

Second Flatten

• Add another Flatten transformation.

• Unroll by: `input_values[0]` (the first element of the inner array — the object with `email`).

• Now you can directly access `email` as a column:

`input_values[0].email`

---

Select Only Email

• Add a Select transformation.

• Keep only the `email` column.

Sink

• Set your Sink dataset to CSV.

• Map `email` → `email` in the output.

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

79767729

Date: 2025-09-17 19:09:00
Score: 2
Natty:
Report link

As @Tsyvarev pointed out, the error indicates that arm-none-eabi-ar was not found, and I had not created a symlink for that. After creating a symlink for it in the same manner as the rest, I was able to use CMake successfully and build the project!

podman machine ssh %machine% sudo ln -s ~/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi/bin/arm-none-eabi-ar /usr/bin/arm-none-eabi-ar

Note that the tools can be tested by calling them with the argument --version (eg: arm-none-eabi-gcc --version)

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Tsyvarev
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sky

79767725

Date: 2025-09-17 19:04:59
Score: 1.5
Natty:
Report link

this looks a little bit odd:

            'product.suggest.criteria' => 'onSuggestSearch',

Try:

ProductSuggestCriteriaEvent::class => 'onCriteria',
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Patryk Fabeck