79326359

Date: 2025-01-03 11:49:29
Score: 2.5
Natty:
Report link

Check if your angular, typescript and node versions are compatible with each other , in my case simply updating node version to 16.20.0 worked since it is compatible with both angular 14.1.0 and typescript 4.7.2

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

79326349

Date: 2025-01-03 11:44:28
Score: 3
Natty:
Report link

Just spoke with Microsoft Support on call, ADF Team plans to have compatibility between end Q1 and start Q2.

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

79326342

Date: 2025-01-03 11:42:27
Score: 8.5 🚩
Natty: 4.5
Report link

is it resolved? if yes could you pls provide me the solution

Reasons:
  • RegEx Blacklisted phrase (2.5): could you pls provide me the solution
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): is it
  • Low reputation (1):
Posted by: user29037800

79326340

Date: 2025-01-03 11:41:25
Score: 6.5 🚩
Natty:
Report link

I’m working on integrating FHIR into a WearOS project to enhance health data management and interoperability. The goal is to enable the WearOS app to fetch and send standardized health information via FHIR APIs (e.g., patient data, observations, and device metrics).

Progress So Far: FHIR Libraries: I’m using the HAPI FHIR library, which seems well-suited for handling FHIR resources in Android-based projects. Authentication: Using OAuth2.0 for secure access to FHIR servers, similar to how SMART on FHIR works. WearOS-Specific Challenges: Managing limited storage and processing power while ensuring the app adheres to FHIR standards. Questions for the Community: Lightweight FHIR Libraries: Are there any lightweight libraries for FHIR that work better for WearOS environments? HAPI FHIR is robust but can be resource-heavy. Offline Support: How do you handle syncing FHIR data when the device is offline? Any best practices or libraries for caching? UI Integration: What’s the best approach to display complex FHIR data (e.g., structured observations) on a small WearOS screen? Performance Optimization: Any tips for optimizing FHIR-based data handling on WearOS to reduce lag and battery drain? I’d appreciate insights or resources that could help streamline the process. If anyone has implemented FHIR on WearOS before, I’d love to hear about your experiences!

Thanks in advance!

few more details https://www.aakruthiplasticsurgery.com/

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any tips
  • Blacklisted phrase (1): How do you
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: sr.aakruthi

79326337

Date: 2025-01-03 11:40:25
Score: 3
Natty:
Report link

It turned out that the problem is not in the authorization of the GraphQL-Backend but rather in GraphQL-UI. If you connect with a regular client (like https://github.com/graphql-python/gql/blob/master/docs/code_examples/websockets_async.py) authentication works as expected.

Issue in the SmallRye GraphQL-UI is tracked at https://github.com/smallrye/smallrye-graphql/issues/2255

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

79326332

Date: 2025-01-03 11:38:24
Score: 7 🚩
Natty: 4.5
Report link

Seven years later, i have the same problem. Android, Chrome.

I'm amazed this is the only place i found talking of this. And no solution :(

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Blacklisted phrase (1): :(
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have the same problem
  • Low reputation (1):
Posted by: Salagir

79326329

Date: 2025-01-03 11:36:23
Score: 1
Natty:
Report link

As noted in the comments in the GitHub issue there is an alternative to downgrading to Python 3.12, which is to upgrade psycopg2 to psycopg 3 instead as this has supported Python 3.13 from version 3.2.2

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

79326325

Date: 2025-01-03 11:34:22
Score: 0.5
Natty:
Report link

I was just exploring this same topic now, and it is worth mentioning that gt/gte/lt/lte in a query_string works well, ie. like this:

duration:>=100

BUT NOT like this:

duration :>= 100

The space after the equal sign cause query_shard_exception, Caused by type number_format_exception...

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

79326320

Date: 2025-01-03 11:33:22
Score: 3
Natty:
Report link

Please double check version of httpclient5. TlsSocketStrategy is available since version 5.4

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

79326312

Date: 2025-01-03 11:29:21
Score: 1.5
Natty:
Report link

Want to convert a JPG image to PNG and make it fit a "dark mode" style? It's pretty simple—here’s how you can do it in just a few steps:

Open Your JPG Image: Use an image editing tool like Photoshop, GIMP (which is free), or even an online editor like Canva or Figma. Just upload your JPG image into the editor.

Adjust for Dark Mode: If the original image is bright, consider changing its background or colors to darker tones. Look for options like "Fill Color" or "Background Layer" in the editor, and set it to a dark shade like black, navy, or dark gray.

Save as PNG: Once you’re happy with the edits, find the "Save As" or "Export" option in your tool. Choose the file format as PNG and hit save. PNG preserves transparency and is great for digital dark mode designs.

Test It Out: Open your new PNG image and see how it looks on a dark screen. Adjust if needed!

By Maverick Digital Marketing Agency

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Maverick Info Solution Pvt Ltd

79326309

Date: 2025-01-03 11:29:21
Score: 1
Natty:
Report link

RAG is not perfect especially for certain prompts. for your two questions below:

  1. Query: "Count the number of users subscribed to the Free plan." Actual: Incorrect count is returned. The ai search only returns top matched results typically, you can increase the setting but not always all records would be returned

  2. Query: "List users in the Starter plan without any tracks or projects" Actual: Incorrect users or an incomplete list. same reason for incomplete list as #1. for incorrect users, ai search would try to find records by semantic search. the best way to investigate is to inspect which json records are returned from ai search or test it out via ai search UI in portal.

For these kind of questions, my best suggestion is to look into function calling. LLM will invoke the function calling (if found relevent) and pass relevant parameters, then you can implement the function calling logic to query the data (e.g. pull full list of uses back based on plan name).

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

79326300

Date: 2025-01-03 11:25:19
Score: 1.5
Natty:
Report link

You do not use the X-API-Key header to access /metrics but, instead, you use the webserver-password=, or webservice.password in case of the YAML format of the recursor.

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

79326291

Date: 2025-01-03 11:23:19
Score: 2.5
Natty:
Report link

It seems like your featured image issue might be related to file permissions or a server configuration problem after migrating to Bluehost VPS; checking the uploads directory permissions and server error logs could help identify the root cause.

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

79326290

Date: 2025-01-03 11:22:18
Score: 0.5
Natty:
Report link

The warning in IntelliJ about psaSuDb being "always null" is a result of static analysis, which can't predict the dynamic behavior of mongoTemplate.findOne(). The method can return either a valid Psa object or null depending on the MongoDB query result, and IntelliJ doesn't account for this runtime behavior. You can either ignore the warning, suppress it with @SuppressWarnings("ConstantConditions"), or refactor the code to make the dynamic nature clearer to IntelliJ. The code is functioning as expected, and the warning is a false positive.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vedant Kakade

79326289

Date: 2025-01-03 11:22:18
Score: 0.5
Natty:
Report link

For anyone who might be interested, I'm going to explain in detail the solution to the problem that I have finally confirmed.

This is the cause I indicated in my question. The header access-control-allow-origin that the server returns in the callback may or may not exist. If it exists, its purpose is to tell the browser whether or not to block access to the requested resources. If the header value allows it, no error will occur when trying to use the requested resources in our code (in my case, these are files located in Google Drive and that were generated with the Google Classroom platform).

To find out the values ​​that the header access-control-allow-origin can have, you can consult the following URL (https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin

When the header access-control-allow-origin value is the URL of the origin that makes the call (in my case https://localhost:50656) then no error occurs.

If you navigate to a page other than the one that received the response with the authorization and from there you request access to the server's resources, then the header access-control-allow-origin does not exist in the server response, and as a consequence, you will not be able to access the server's resources because the browser will prevent it.

The entire mechanism that regulates this access control is Cross-Origin Resource Sharing (CORS). Help can be found at the following URL (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS

For my problem, the solution has been to make the calls to access the resources from the same page that received the response. Although it seems simple and logical, it has not been easy for me to find the solution because the behavior of my website (ASP.NET) when receiving the response from the server was unexpected for me.

I discovered that the response was always directed to the Default.aspx page even if the request was made from another page. Knowing this, I placed the response processing code on that Default.aspx page. Later, I noticed that if I navigated to another page and sent the authorization token to the server from there, the error with status code 404 occurred due to the missing access-control-allow-origin receiving the response from the server. The next step was to apply the solution I described above.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Manuel Cera Vera

79326283

Date: 2025-01-03 11:18:17
Score: 3
Natty:
Report link

Following HamidReza advice, I've posted my question on the raspberry stack exchange and got an answer that worked!

I'm now closing this question.

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

79326280

Date: 2025-01-03 11:16:17
Score: 2.5
Natty:
Report link

use this [ doc.registerFont( "TiroDevanagariHindi", path.join(__dirname, "fonts", "TiroDevanagariHindi-Regular.ttf") ); ]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ᴀɴᴜᴊ ʀɪꜱʜᴜ ᴛɪᴡᴀʀɪ

79326268

Date: 2025-01-03 11:10:15
Score: 3
Natty:
Report link

I made an account just to say that extensions cannot access the webcam in the background or in a popup, but if it's open in a window it can request permission to open the webcam.

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

79326266

Date: 2025-01-03 11:10:15
Score: 3
Natty:
Report link

Coro] Te vi bailando y me enamoré, Tu mirada me atrapó, no sé qué hacer, En cada paso yo te quiero tener, Te voy a conquistar, lo voy a conseguir, ya lo veré. [Verso 1] Desde el primer día que te vi llegar, Tu sonrisa me hizo suspirar, Tu estilo único me hizo pensar, Que si te tengo, te voy a amar. De lejos me mirabas y me hacía soñar, Ahora que te tengo cerca, te quiero besar, Este amor lo quiero hacer real, Tus ojitos dicen que soy su rival. [Coro] Te vi bailando y me enamoré, Tu mirada me atrapó, no sé qué hacer, En cada paso yo te quiero tener, Te voy a conquistar, lo voy a conseguir, ya lo veré. [Verso 2] Tus labios rojos me dan miedo y placer, Cada vez que te hablo, no te quiero perder, El ritmo en tus caderas me hace entender, Que solo a tu lado quiero amanecer. Dime que sí, no me hagas esperar, Mi corazón late más de lo normal, Este amor no tiene que dudar, Lo quiero todo, ven y vamos a volar. [Coro] Te vi bailando y me enamoré, Tu mirada me atrapó, no sé qué hacer, En cada paso yo te quiero tener, Te voy a conquistar, lo voy a conseguir, ya lo veré. [Outro] Ya no tengo dudas, te quiero aquí, Con cada beat, lo nuestro va a surgir, Ven a mi lado, te lo voy a decir, Te amo, mi amor, ven a vivir.

Reasons:
  • Blacklisted phrase (2): tengo
  • Long answer (-1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AITOR VILLA MONTOYA

79326264

Date: 2025-01-03 11:10:15
Score: 2
Natty:
Report link

can confirm Rohan's comment re: quick_usb. in addition to not compiling, it couldn't find package:convert; i had to add convert: ^3.1.2 to pubspec.yaml, but again, regardless it didn't compile. The error i saw was "Build.VERSION_CODES.S" is an unresolved reference. Just a thought: the horrible shelf life of open-source almost makes it not worth even having. if it's OBE, broken, or otherwise incompatible with the latest stuff then we'd all be better off if it were taken down from pub/github/etc. and all mentions of its existence deleted. e.g. dart 3 compatibility

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can
  • Low reputation (1):
Posted by: William Dwyer

79326255

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

I had the same problem any help

Reasons:
  • Blacklisted phrase (1): any help
  • Whitelisted phrase (-1): I had the same
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mebrouki Amine

79326252

Date: 2025-01-03 11:05:14
Score: 2.5
Natty:
Report link

Instead you can use the solution proposed in symfony the doc :

https://symfony.com/doc/6.4/security/user_providers.html

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: M'madi Zaïb

79326250

Date: 2025-01-03 11:04:13
Score: 0.5
Natty:
Report link

PackageId must end with .Fody

<PackageId>$(MSBuildProjectName).Fody</PackageId>

Credit: https://github.com/Fody/Fody/issues/1308#issuecomment-2568800528

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: Peter Morris

79326244

Date: 2025-01-03 11:03:13
Score: 2.5
Natty:
Report link

I'd use a generics wrapper Like you've done. There's a bit of mechanics to work out in terms of permissions for link items. This particular shape won't satisfy a collection or embeddeds but it's not far off

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

79326235

Date: 2025-01-03 10:59:12
Score: 0.5
Natty:
Report link

1. Block Ciphers (like AES) vs. Asymmetric Ciphers (like RSA)

AES (Advanced Encryption Standard) is a symmetric or secret-key encryption algorithm.

It uses the same key for both encryption and decryption. It operates on blocks of data (typically 128 bits or 16 bytes). The Cipher class can easily handle varying input sizes because it can Process data in blocks: It divides the input into blocks, encrypts each block, and then concatenates them. Use padding techniques: To ensure each block is the correct size, padding schemes like PKCS#5/PKCS#7 are used to add extra bytes to the last block. RSA (Rivest-Shamir-Adleman) is an asymmetric or public-key encryption algorithm.

It uses a pair of keys: a public key for encryption and a private key for decryption. It has limitations on the size of data it can directly encrypt. This is due to the mathematical operations involved in RSA encryption, which become computationally expensive with larger inputs.

2. Cipher Class Behavior

AES: OutputSize: Returns the correct output size (multiple of 16 bytes) because AES encryption typically produces an output of the same size as the input (after padding). BlockSize: Returns the correct block size (16 bytes). Automatic Encryption: The Cipher class can often handle the block-by-block encryption process internally for AES, providing a more convenient interface. RSA: OutputSize: Might return an incorrect or misleading value. RSA encryption often has strict limitations on the size of data that can be directly encrypted. BlockSize: Often returns 0 because RSA encryption doesn't operate in fixed-size blocks in the same way as a block cipher like AES. Manual Encryption: You typically need to: Divide the input data into smaller chunks. Encrypt each chunk individually using the RSA public key. Combine the encrypted chunks (e.g., by concatenating them).

3. Key Considerations

AES Key Size: AES can use various key sizes (e.g., 128, 192, 256 bits). RSA Key Size: Common RSA key sizes include 1024, 2048, and 4096 bits. The larger the key size, the stronger the encryption, but also the slower the performance.

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

79326228

Date: 2025-01-03 10:57:09
Score: 7 🚩
Natty:
Report link

This is a long shot, but @maxbutch, did you ever figure this out? I have found myself in the same situation.

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure this out
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @maxbutch
  • Low reputation (1):
Posted by: Colin

79326225

Date: 2025-01-03 10:57:09
Score: 3
Natty:
Report link

For me this issue solved by wiping the data of virtual device or it can be done by deleting that app manually from virtual device as we do in our physical device.

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

79326218

Date: 2025-01-03 10:55:09
Score: 2
Natty:
Report link

You can try the library: https://pub.dev/packages/dart_ipc

Uses named pipe on Windows and Unix domain sockets on Unix systems.

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

79326217

Date: 2025-01-03 10:55:09
Score: 2.5
Natty:
Report link

Try with app.use(cors()) instead of app.use(cors) in line 7 of index.js.

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

79326213

Date: 2025-01-03 10:54:08
Score: 2.5
Natty:
Report link

One thing is to check if the connection is read-only:

highlighted read only connection button n DBeaver

The highlighted button was toggled ON for me

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
Posted by: Binod Kalathil

79326209

Date: 2025-01-03 10:53:08
Score: 3
Natty:
Report link

In addition to the comments above.It also makes sense to replace elements separated by square brackets with ".at()"

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

79326208

Date: 2025-01-03 10:53:08
Score: 1.5
Natty:
Report link

Make sure that the clientId you pass to GetSignInWithGoogleOption.Builder is not a Client ID for Android in Google Cloud Console. Create a separate OAuth Client ID for Web application.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Anna Andreeva Rogotulka

79326205

Date: 2025-01-03 10:51:08
Score: 2
Natty:
Report link

Just for documentation 7 years later, as I stumbled about the same question today, which is basically unanswered.

Here are the types for the chrome namespace: https://www.npmjs.com/package/@types/chrome

Here are the types for the browser namespace: https://www.npmjs.com/package/@types/firefox-webext-browser

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Fabian N.

79326156

Date: 2025-01-03 10:30:03
Score: 1
Natty:
Report link

I opened Developer Tools, and it looks like you need to change the Div element which is below the Canvas element, it has class="visible scrollbar vertical"

And maybe you can try to set background color of the Canvas element via CSS?

screen

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

79326155

Date: 2025-01-03 10:30:03
Score: 1
Natty:
Report link

For comparing Integer values in Java, this is my running Code.

x.intValue() == y.intValue()

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

79326152

Date: 2025-01-03 10:29:03
Score: 0.5
Natty:
Report link

I want to use a custom allocator to get rid of dynamic memory overhead. A static const vector is statically initialized and never freed. Same with static const strings.

E.g. current C++ libraries to generate perfect hashes are all using dynamic memory, with insane memory and deserialization overhead. Whilst their much faster C counterparts (gperf, nbperf, or unicode libraries) create static const tables in C, which the compiler can further optimize.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • High reputation (-1):
Posted by: rurban

79326145

Date: 2025-01-03 10:25:02
Score: 3
Natty:
Report link
"'$env:CI_PROJECT_DIR' | .\\dorelease.bat"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: IzaeDA

79326143

Date: 2025-01-03 10:24:02
Score: 2.5
Natty:
Report link

For me this problem was solved by updating to a newer Spring Boot version. However in my case that was 2.4.5 which suggest this might be version dependent, so one might want to try different versions.

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

79326132

Date: 2025-01-03 10:21:01
Score: 2.5
Natty:
Report link

Just as @MarkB stated. For some reason, for one of my accounts, I had the old scanning while the rest of my accounts were on the new native one :)

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

79326129

Date: 2025-01-03 10:19:01
Score: 1
Natty:
Report link

I got a solution. Let me know is it correct or not

import 'package:flutter/material.dart';
extension MediaQueryValues on BuildContext {
  double get width => MediaQuery.of(this).size.width;
  double get height => MediaQuery.of(this).size.height;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: VISHNU PRABHAKARAN

79326123

Date: 2025-01-03 10:18:00
Score: 2
Natty:
Report link

To find out the Missing Microsoft RDLC Report Designer in Visual Studio either in 2022 or in 2019 or later one. Firstly you have to go to Extensions Tab then Manage Extensions, then you have find out the Microsoft RDLC Report Designer 17.0.0 (Which is latest version of it). Image of Extension Manager Shows about the Microsoft RDLC Report Designer.

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

79326121

Date: 2025-01-03 10:17:00
Score: 1.5
Natty:
Report link

so psycopg2 is known for having a lot of integration issues with Windows, and unless your current project is built on psycopg2 or your are explicitly required to use psycopg2 I would recommend using psycopg3.

Install it simply by using: pip install psycopg

and for me the only change I had to make in my project to make the switch from psycopg2 to psycopg3 was in my .env file

changed my .env file from this: DB_URL=postgresql://postgres:[pswrd]@localhost:5432/[database_name]

to this: DB_URL=postgresql+psycopg://postgres:[pswrd]@localhost:5432/[database_name]

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

79326117

Date: 2025-01-03 10:16:00
Score: 3
Natty:
Report link

if ($result->num_rows) {echo "User Name Available";}

else {echo "Sorry user name taken";}

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Андрей

79326115

Date: 2025-01-03 10:15:00
Score: 0.5
Natty:
Report link

I do not know if you run MSSQL in docker or not, but I run into the same strange error when starting Spring Boot Rest Application on the Windows host machine with MSSQL DB on the same machine on WSL in docker.

My connection string looks like "jdbc:sqlserver://localhost:1433;encrypt=false"

And database connection worked fine just until I run my REST API application. Then I get the following error:

250103 115050.433[main] SQLServerConnection - ConnectionID:1 ClientConnectionId: f9c5c414-da5f-471b-9fe8-1ecb603a7d34 Prelogin error: host localhost port 1433 Error reading prelogin response: Connection reset ClientConnectionId:f9c5c414-da5f-471b-9fe8-1ecb603a7d34
250103 115051.437[main] HikariPool - HikariPool-1 - Exception during pool initialization.
com.microsoft.sqlserver.jdbc.SQLServerException: Connection reset ClientConnectionId:f9c5c414-da5f-471b-9fe8-1ecb603a7d34
    at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:4026) ~[mssql-jdbc-12.4.2.jre11.jar:?]

And from now, no one DB client can connect to this database via 'localhost:1433' until I restart wsl via "wsl --shutdown".

I don't know exactly what problem is, it seems like Spring Boot WEB server localhost binding somehow disturbs WSL network routing. But the solution was very simple: You better should use WSL network address to connect to containers inside WSL docker. This address can be obtained in WSL console via:

hostname -I

172.27.30.136 172.17.0.1

Now this connection string will work: "jdbc:sqlserver://172.27.30.136:1433;encrypt=false"

Reasons:
  • RegEx Blacklisted phrase (1): I get the following error
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sergei Dmitriev

79326108

Date: 2025-01-03 10:11:59
Score: 5.5
Natty: 5
Report link

Actually we got the log file using the query. But we got no luck finding out the output file link. We do not have any report server installed in our EBS system. Also, we are using EBS 12.2 . Any way we can setup a report server?

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): no luck
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: B AND R IT DEPARTMENT

79326090

Date: 2025-01-03 10:01:56
Score: 1
Natty:
Report link

As far as I know, there is no such constraint at the database level. The common approach is to enforce the constraint at the application level by checking before inserting. Alternatively, a trigger in the database can achieve the same effect, but this method is rarely used. Generally, the constraint is enforced at the application level.

Application level refers to enforcing the constraint within your business logic code.

(My English is poor, this was translated using a translation tool, so please forgive me if the sentences are awkward.)

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

79326087

Date: 2025-01-03 10:01:56
Score: 0.5
Natty:
Report link

I needed to disable all animations/transitions everywhere. I found that some of my transitions were declared diffrent ways and also had a few animations.

Anyway this snippet will overrule everything (*).

  *{
  -webkit-transition: none!important;
  -moz-transition: none!important;
  -o-transition: none!important;
  -ms-transition: none!important;
  transition: none!important;

  -webkit-transition-duration: none!important;
  -moz-transition-duration: none!important;
  -o-transition-duration: none!important;
  -ms-transition-duration: none!important;
  transition-duration: none!important;

  -webkit-animation-duration: unset!important;
  -moz-animation-duration: unset!important;
  -o-animation-duration: unset!important;
  -ms-animation-duration: unset!important;
  animation-duration: unset!important;
}

If you want to target a specfic class then you simply write.

.no-transations * {

Then append the class to eg. your body tag using js.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kristian Bangsø

79326085

Date: 2025-01-03 10:00:56
Score: 2.5
Natty:
Report link

You need

'middleware' => 'auth:sanctum'
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Magzhan Eleup

79326082

Date: 2025-01-03 09:59:55
Score: 3
Natty:
Report link

By opening the Package.appxmanifest file, you can see the 'Package family name', which has the value of 'maui-package-name-placeholder_' followed by that string of seemingly random characters.

The Package family name is not editable - but when setting the Publisher details to point to the certificate I'd been using for my Xamarin app, the seemingly random characters changed to be the same as my Xamarin app.

Thanks to @BhavaneshN for pointing me in the right direction!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • User mentioned (1): @BhavaneshN
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Sparky

79326078

Date: 2025-01-03 09:57:54
Score: 4
Natty: 4.5
Report link

Is it possible to integrate an ad provider like Applovin or Appodeal and to play ads running in background but actually they will be hidden from the user?

The idea is to integrate some of this providers in react native app and to have monetization for that. I checked and they have npm modules with event listeners which somehow are detecting when the ad is shown/closed/clicked. Thanks.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is it possible to
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (1):
Posted by: TOP MUSIC CHANNEL

79326076

Date: 2025-01-03 09:56:53
Score: 2
Natty:
Report link

short answer: no

You would need to modify the extension's files
OR
create a new extension to replace/inject into the grammar

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

79326065

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

After some unsuccessful attempts I eventually launched the application on a physical AA device. The process is the same as with emulator(old variant). You need to enable developer mode in AA on the phone by clicking on AA version several times. Then at the top-right corner click 3 dots and select "Run head unit server" or something like this and connect to the AA wirelessly or with a cable depends on your needs. That's it. All debug applications will be visible

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: Dmitriy Mitiai

79326063

Date: 2025-01-03 09:51:52
Score: 1
Natty:
Report link

GUI web apps usually need to be run with root path (/), as the initial page might load with a custom path, but it might require dependencies (scripts, images) from any (absolute) path. Therefore it's best practice to use a sub-domain per GUI service.

If that doesn't help, share your full Traefik static and dynamic config. Maybe compare to simple Traefik example.

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

79326062

Date: 2025-01-03 09:51:52
Score: 2.5
Natty:
Report link

Target class [ class name ] does not exist.

in /routes/web.php

you add that missing controller with

use App\Http\Controllers\ [ class name ] ;

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

79326059

Date: 2025-01-03 09:49:52
Score: 2.5
Natty:
Report link

If you're encountering issues with the SSM Agent on your EC2 instance, there are several possible causes. Below are some common troubleshooting steps to help resolve the issue:

SSM Agent Issue IMG

Below are some common troubleshooting steps to help resolve the issue:

  1. Check the CPU Utilization of the Server
  • Issue: High CPU utilization can cause the instance to become unresponsive to SSM commands.
  • Action: Try logging into the instance via SSH. If you're unable to log in, proceed to the next step.
  1. Review System Logs:

You can check from AWS console: System log IMG

To review system logs for an EC2 instance on the AWS console using "Get System Log", navigate to the EC2 console, select your instance, then under "Actions" choose "Monitor and troubleshoot" and then "Get System Log"

  1. Restart the Server
  • Issue: A server restart can often resolve temporary issues, such as resource contention or unresponsive services.
  • Action: If the server is still unresponsive, try restarting it. (To avoid potential data loss, you can stop and then start the server instead of a direct reboot.)
  1. SSM Installation or Setup Issues & Updates.

Issue: The SSM Agent might not be correctly installed or configured. Action: Check if the SSM Agent is installed and running on your server.

  1. Verify IAM Role Permissions

Note: IAM role configuration should be proper to connect throuhgh SSM from EC2 Instance.

  1. Additional Troubleshooting Resources

Official Documentation: For more detailed troubleshooting, refer to the official AWS SSM Agent troubleshooting guide

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): this link
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vaibhav Kapase

79326055

Date: 2025-01-03 09:49:52
Score: 1.5
Natty:
Report link

Helm doesn't have such functionality. Each helm chart that is getting installed is independent package. If you want to achieve such dependency between multiple helm charts, you have to do that in your installation environment using bash scripts or any other scripts. That's what we do in our organization - we use jenkins to deploy our helm packages to cluster using scripts we achieve this dependency between multiple helm packages.

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

79326045

Date: 2025-01-03 09:46:51
Score: 0.5
Natty:
Report link

Dafny doesn't support operator overloading. However, you can define your own predicates to support ordering on your data type. If you make it a module then you can abstract away the actual ordering comparison as well. Then later when you have a native type that supports those operators you can just supply the implementation of the operations as a module instance.

There was a great blog post with an example, which now I can only find on the wayback machine here

Reasons:
  • No code block (0.5):
Posted by: Hath995

79326039

Date: 2025-01-03 09:43:50
Score: 1
Natty:
Report link

Add the :focus CSS pseudo-class to the button element

   button:focus {
      outline: none;
   }
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: David Aniebo

79326027

Date: 2025-01-03 09:40:49
Score: 3.5
Natty:
Report link

to use multiline you have to enable php extension names: php-readline

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

79326022

Date: 2025-01-03 09:38:49
Score: 1
Natty:
Report link

To ensure that the access token covers all the scopes the user has previously granted, you need to set the include_granted_scopes parameter to true when generating the authorization URL using the method generateAuthUrl().

According to Google doc: “Enables applications to use incremental authorization to request access to additional scopes in context. If you set this parameter's value to true and the authorization request is granted, then the new access token will also cover any scopes to which the user previously granted the application access.”

Source:”https://cloud.google.com/nodejs/docs/reference/google-auth-library/latest/google-auth-library/generateauthurlopts”

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

79326014

Date: 2025-01-03 09:33:48
Score: 2.5
Natty:
Report link

I have the same issue . But After changing the code

        public void Configure(EntityTypeBuilder<Check> builder)
    {
        builder.ToTable("tbl_Checks", "interactions");
        builder.HasKey(x => new { x.Id, x.PlayerId, x.RuleId, x.UpdatedDate });

        builder.Property(x => x.Id).HasColumnName(@"ID").HasColumnType("bigint").IsRequired().ValueGeneratedOnAdd().UseIdentityColumn();
        builder.Property(x => x.PlayerId).HasColumnName(@"PlayerID").HasColumnType("bigint").IsRequired().ValueGeneratedNever();
        builder.Property(x => x.RuleId).HasColumnName(@"RuleID").HasColumnType("int").IsRequired().ValueGeneratedNever();
        builder.Property(x => x.UpdatedDate).HasColumnName(@"UpdatedDate").HasColumnType("datetime").IsRequired().ValueGeneratedNever();
    }

into

        public void Configure(EntityTypeBuilder<Check> builder)
    {
        builder.ToTable("tbl_Checks", "interactions");
        builder.HasKey(x => new { x.Id });

        builder.Property(x => x.Id).HasColumnName(@"ID").HasColumnType("bigint").IsRequired().ValueGeneratedOnAdd().UseIdentityColumn();
        builder.Property(x => x.PlayerId).HasColumnName(@"PlayerID").HasColumnType("bigint").IsRequired().ValueGeneratedNever();
        builder.Property(x => x.RuleId).HasColumnName(@"RuleID").HasColumnType("int").IsRequired().ValueGeneratedNever();
        builder.Property(x => x.UpdatedDate).HasColumnName(@"UpdatedDate").HasColumnType("datetime").IsRequired().ValueGeneratedNever();
    }

this problem was resolved

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (0.5):
Posted by: user1575120

79325994

Date: 2025-01-03 09:25:46
Score: 2
Natty:
Report link

In my case using FocusScope.of(context).focusedChild?.unfocus(); instead of FocusManager.instance.primaryFocus?.unfocus(); solved my issue.

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

79325986

Date: 2025-01-03 09:19:45
Score: 4.5
Natty: 4.5
Report link

Check out this new package: network_media_mock

Full Answer

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hossein Zare

79325982

Date: 2025-01-03 09:15:43
Score: 1
Natty:
Report link

after some searching, i found that after using:

self.player.mediaStatusChanged.connect(self.check_video_status)

and

    def check_video_status(self, status):
    # Check if the media status indicates the video has finished
    if status == QMediaPlayer.MediaStatus.EndOfMedia:
        self.video.close()  # Close the app when the video is over

the program is able to send a signal when the video over, then close the app

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

79325981

Date: 2025-01-03 09:15:43
Score: 2.5
Natty:
Report link

Ant Media's Flutter WebRTC SDK makes it simple to build Flutter applications that can publish and play WebRTC broadcasts with just a few lines of code. It's designed for easy integration and use, and the best part is that Ant Media does not charge any additional fees for the Flutter WebRTC SDK or other SDKs.

For detailed guidance, please refer to the documentation: [Flutter SDK Documentation][https://antmedia.io/docs/category/flutter-sdk/]

Additionally, this blog post provides an easy step-by-step guide: [WebRTC Flutter SDK: Build Your Web App in 4 Simple Steps][https://medium.com/@usamawizard/webrtc-flutter-sdk-build-your-web-app-in-4-simple-steps-7856fc285c76]

If you have any questions or need further assistance, feel free to reach out to us at [email protected]. We’re here to help!

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amar Thodupunoori

79325979

Date: 2025-01-03 09:15:43
Score: 2.5
Natty:
Report link

You can also just unlist post extraction: r$Retweetfrom <- str_extract_all(r$Tweets, "^RT[:space:]+@[:graph:]+") %>% unlist()

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

79325969

Date: 2025-01-03 09:09:42
Score: 2
Natty:
Report link

The problem is because of the cursor was not closed properly and for performance optimization you can increase a open cursor limit ALTER SESSION SET open_cursors = <new_value>;

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

79325962

Date: 2025-01-03 09:07:41
Score: 1.5
Natty:
Report link
  1. Concat the two dataframes into one
  2. Dissolve
  3. If you dont dissolve by some column you will end up with one multipolygon. Explode it to single parts
Reasons:
  • Low length (1):
  • No code block (0.5):
Posted by: Bera

79325957

Date: 2025-01-03 09:04:40
Score: 2.5
Natty:
Report link

I've added the raw urls and title in my GitHub repository, just change the user_name in save_to_document.py line 21.

Then run it to start the process in creating spreadsheet with the outcomes you've stated.

highly recommend to initialize virtual environment (venv).

Output looks like this:

enter image description here

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

79325954

Date: 2025-01-03 09:03:40
Score: 1.5
Natty:
Report link

After some investigation, I identified the problem: I use modular architecture and the issue was that Sourcery couldn't resolve a parent protocol located in another module when generating mocks for a child protocol in the current module. Since Sourcery processes only the specified source files, it lacked the necessary context for the parent protocol.

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

79325951

Date: 2025-01-03 09:02:39
Score: 3.5
Natty:
Report link

Thank you for the detailed explanation of the scenario.

First may I suggest you use the BIM360 / ACC UI (web) to confirm you have the correct permissions (especially MOVE permission, which corresponds to EDIT permission ) on the model of interest. Please refer to this guide: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/How-to-check-cloud-project-permissions.html.

Also, may you use this guide to troubleshoot linking Consumed/shared models: https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/You-don-t-have-access-to-the-cloud-folder-error-message-when-opening-or-linking-a-Revit-Cloud-Model.html

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): this guide
  • Probably link only (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Carol Gitonga

79325949

Date: 2025-01-03 09:02:39
Score: 3
Natty:
Report link

If you are working in a Windows environment, follow these steps:

In the first step: 1- Run the cmd: flutter config --list

I will show you the way out of it enter image description here

2- Second: Run the cmd: flutter config --jdk-dir /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home

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

79325943

Date: 2025-01-03 08:59:39
Score: 2
Natty:
Report link

android.enableResourceOptimizations still available in AGP 8.x

WARNING: The option setting 'android.enableResourceOptimizations=false' is deprecated. The current default is 'true'. It will be removed in version 9.0 of the Android Gradle plugin.

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

79325941

Date: 2025-01-03 08:59:39
Score: 1
Natty:
Report link

For Django daemons, calling db.close_old_connections() once in a while to refresh your db connection fixes a similar problem.

A better solution might be adding a retry functionality to db backend directly.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: HasanYıldız

79325935

Date: 2025-01-03 08:55:38
Score: 2.5
Natty:
Report link

Thank you user202311 and Ngenator, both approaches work very well.

rule-id : index(var.schemas, value) + i + 1

or

rule-id : i * 2 + 1
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): user202311
  • Self-answer (0.5):
Posted by: Theo Sweeny

79325921

Date: 2025-01-03 08:51:37
Score: 1
Natty:
Report link

by using #arraymap

customize "Property-A OR YourFormLabelForProperty-A" : you need to set this value the same as the one in your form

{{#ask: 
   {{#arraymap:{{{Property-A OR YourFormLabelForProperty-A|}}}|,|xxx|[[Property-A::xxx]]|OR}}
 ...
}}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fredk acsid

79325907

Date: 2025-01-03 08:43:35
Score: 1.5
Natty:
Report link

Workaround for this is to have a long enough text in the DropdownMenuItem, e.g. "Really long string to be clicked successfully" - the length depends on your tester surfaceSize.

Possible reason: it seems like the items don't fill the width of the menu but the hit area is cut off where text ends.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: gabe.giro

79325905

Date: 2025-01-03 08:42:34
Score: 1.5
Natty:
Report link

Even service principle acts like an independent entity as a user in Fabric. So the service principle must have 'role assignment' in order to gain access to the workspace.

You can also create a new workspace using the service principle, in which case you will have complete control. Note: Please add at least one user as admin when you create using service principle or else that workspace will be inaccessible in UI. Role assignments can be done by service principle.

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

79325904

Date: 2025-01-03 08:42:34
Score: 0.5
Natty:
Report link

Its working with ` org.springdoc springdoc-openapi-starter-webmvc-ui 2.7.0 @Configuration public class OpenApi3Config {

    private static final String YYYY_MM_DD_T_HH_MM_SS_PATTERN = "yyyy-MM-dd'T'HH:mm:ss";
    private static final String YYYY_MM_DD_PATTERN = "yyyy-MM-dd";
    private static final String HH_MM_PATTERN = "HH:mm";
    static {
        StringSchema timeSchema = new StringSchema();
        timeSchema.example(LocalTime.now().format(DateTimeFormatter.ofPattern(HH_MM_PATTERN)));
        SpringDocUtils.getConfig().replaceWithSchema(LocalTime.class, timeSchema);

        // Replace schema for LocalDate
        StringSchema dateSchema = new StringSchema();
        dateSchema.example(LocalDate.now().format(DateTimeFormatter.ofPattern(YYYY_MM_DD_PATTERN)));
        SpringDocUtils.getConfig().replaceWithSchema(LocalDate.class, dateSchema);

        // Replace schema for LocalDateTime
        StringSchema datetimeSchema = new StringSchema();
        datetimeSchema.example(LocalDateTime.now().format(DateTimeFormatter.ofPattern(YYYY_MM_DD_T_HH_MM_SS_PATTERN)));
        SpringDocUtils.getConfig().replaceWithSchema(LocalDateTime.class, datetimeSchema);
    }
}`
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Configuration
  • Low reputation (1):
Posted by: Vo Khuong

79325902

Date: 2025-01-03 08:41:34
Score: 1
Natty:
Report link

This might not be the exact same case but it might be helpful.

Workaround for the 'off-screen' issue is to have a long enough text in the test case for whatever widget you are testing - in my case it was a DropdownMenuItem and I've set the text to a very long string: "Really long string to be clicked successfully"

For the DropDownMenuItem, it seems like the items don't fill the width of the menu.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: gabe.giro

79325890

Date: 2025-01-03 08:35:32
Score: 1
Natty:
Report link

My fault.
Answer for the issue I've posted on Github:
".NET 6 is out of support. The 9.0.0 version of that package dropped the .NET 6 target framework, so when you upgraded to the 9.0.0 version of the package, you started getting the .NET Standard implementation. ... The recommended solution would be to move your project to .NET 8.0 or .NET 9.0, or alternatively stay on the 8.0.0 version of the package."

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Adam Calvet Bohl

79325889

Date: 2025-01-03 08:34:32
Score: 3.5
Natty:
Report link

now there's std::rotl and std::rotr since C++20.

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

79325887

Date: 2025-01-03 08:34:32
Score: 1.5
Natty:
Report link

Got the same error because I hadn't converted the yaml to json format. After doing that it worked.

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

79325884

Date: 2025-01-03 08:33:31
Score: 2
Natty:
Report link

Solution provided above worked for me, as I am also using Laravel 11.x.

@zeeshan When Making an API request, also include accept: application/json in the header, and it will work fine.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @zeeshan
  • Low reputation (1):
Posted by: Aditya verma

79325879

Date: 2025-01-03 08:30:31
Score: 1
Natty:
Report link

I think you can measure the size values inside the build() method of root page, because root page in most cases won't rebuild so it won't gain the performance

Then store these values in global variables, which can be accessed anywhere in the app

Or even write down values to local storage and then read it next time without recalculation

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

79325872

Date: 2025-01-03 08:27:30
Score: 3
Natty:
Report link

Yes, I find a way that use standalone solver to call FMU.This method can improve the reset() speed.

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

79325865

Date: 2025-01-03 08:22:29
Score: 1
Natty:
Report link

This happens when one record of table matches to multiple records of another table, and vice versa.

Try with relationship="many-to-many" in the join statement

merged_data <- inner_join(distinct(flights), distinct(tickets), by = c("ORIGIN", "DESTINATION"), relationship="many-to-many") 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fariha

79325858

Date: 2025-01-03 08:19:27
Score: 6.5 🚩
Natty: 4
Report link

Would you mind sharing the code on how you added the hook? I want to use hooks to generate hidden states with gradients

Reasons:
  • Blacklisted phrase (2): Would you mind
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: begin begin

79325857

Date: 2025-01-03 08:19:27
Score: 2
Natty:
Report link

Actually the error is pretty straightforward. It can't read the process because it's not defined. It's not like how it's in the NodeJS. You'll need to import your environment ( first you'll need to define your file replacements and anything) then you can read your env variables. Please take a look at the doc

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

79325856

Date: 2025-01-03 08:19:27
Score: 2.5
Natty:
Report link

Commit can be done as the official document https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pushes/create?view=azure-devops-rest-7.2&tabs=HTTP.

I tested your code and get the same error.But after change to latest version to "api-version=7.2-preview.3" it works.
I think it is because they didn't fix the old preview vesion anymore. Cause "api-version=7.1" also works.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): get the same error
  • High reputation (-1):
Posted by: Qiang Fu

79325855

Date: 2025-01-03 08:19:27
Score: 2
Natty:
Report link

I recently came across https://labs.itassist.com/ and found it pretty helpful for learning AWS. They offer practical courses, community discussions, and resources like tutorials and guides.

If you're exploring AWS or looking for new ways to dive deeper, it’s worth checking out!

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

79325844

Date: 2025-01-03 08:15:26
Score: 1.5
Natty:
Report link

I am also learning DSA using Python. Having conversed with multiple software engineers from big tech companies, including from FAANG, I believe language should not be given priority in this initial learning curve. Instead, you should focus on internalizing the concepts first, then concentrate on a specific language if necessary. Otherwise, you may end up wasting time on understanding the syntax of C/C++.

Moreover, for the technical interview, it is preferable to use Python as it will allow you to focus on the problem rather than thinking about the syntax. It's worth mentioning that C/C++ is heavily used in coding competitions due to its speed.

Thank you & All the best!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ajharul Islam Aunik

79325835

Date: 2025-01-03 08:13:25
Score: 1.5
Natty:
Report link

To see all files loaded, add this option to the zsh command:

zsh -o SOURCE_TRACE
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Noam

79325828

Date: 2025-01-03 08:09:24
Score: 1
Natty:
Report link

If you're relying heavily on Bootstrap templates and you don't want to migrate the templates so as to use MudBlazor components, I'd recommend that you stay away from MudBlazor altogether and use Blazor Bootstrap or a similar library. The templates would need in-depth modifications due to the differences in HTML/CSS/JS usage between the libraries, by which point it would probably be more effective to create your own templates from scratch.

As an additional side note, I'd strongly recommend that you don't start mixing different UI libraries. I've tried it with multiple projects, and it leads to an inconsistent UI and a hard-to-manage front end.

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

79325819

Date: 2025-01-03 08:01:23
Score: 0.5
Natty:
Report link

We can listen for the ApplicationFailedEvent for dealing with Exceptions occurring during the startup of spring boot application. Attaching the sample code how i dealt with same.

`@Component public class PortConflictListener implements ApplicationListener {

private static final Logger log = LoggerFactory.getLogger(PortConflictListener.class);

@Value("${server.port}")
private String serverPort;

@Override
public void onApplicationEvent(ApplicationFailedEvent event) {

    Throwable exception = event.getException();
    if (exception instanceof ApplicationContextException
            && exception.getCause() instanceof PortInUseException) {
        log.error("custom error message");
        System.exit(1);
    }
}

} `

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

79325817

Date: 2025-01-03 07:58:22
Score: 1
Natty:
Report link

Thanks @Sweeper!

.presentationSizing(.page) works smoothly.

Posting an extension for those who will support new sheet on iPad iOS 18.0+:

struct SheetOrPageModifier<PresentedContent: View>: ViewModifier {
    @Binding var isPresented: Bool
    let onDismiss: (() -> Void)?
    let viewToPresent: () -> PresentedContent

    func body(content: Content) -> some View {
        if #available(iOS 18.0, *) {
            content
                .sheet(isPresented: $isPresented, onDismiss: onDismiss) {
                    viewToPresent()
                        .presentationSizing(.page) // Page presentation on     iOS 18+ on iPad
                 }
         } else {
            content
                .sheet(isPresented: $isPresented, onDismiss: onDismiss, content: viewToPresent)
        }
    }
}


extension View {
/// Presents a sheet or page based on the iOS version.
///
/// - Parameters:
///   - isPresented: A binding to whether this sheet is presented.
///   - onDismiss: An optional closure to execute when the sheet is dismissed.
///   - content: The content of the sheet.
/// - Returns: A view that presents a sheet or page when `isPresented` is `true`.
    func sheetOrPage<PresentedContent>(
        isPresented: Binding<Bool>,
        onDismiss: (() -> Void)? = nil,
        @ViewBuilder content: @escaping () -> PresentedContent
    ) -> some View where PresentedContent: View {
        self.modifier(SheetOrPageModifier(isPresented: isPresented, onDismiss: onDismiss, viewToPresent: content))
    }
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Sweeper
  • Low reputation (1):
Posted by: Paul Selivanov

79325816

Date: 2025-01-03 07:57:22
Score: 0.5
Natty:
Report link

Actual Behavior: The SelectedRole does not reflect the new selection, and the saved role remains as the initially loaded role.

How can I ensure that the InputSelect properly updates the SelectedRole variable?

Try to set a break point in the OnInitializedAsync method, you will find that after submitting the form, this method will execute first and then the SaveChanges method, so it will change the selected value to the default value.

To solve this issue, you can check whether the SelectedRole is null or not in the OnInitializedAsync method, and then set the default value. Code like this:

protected override async Task OnInitializedAsync()
{ 
    if (Id is not null)
    {
        User = await UserManager.FindByIdAsync(Id);

        if (User is null)
        {
            DebugMessage = "Usuário não encontrado.";
            NavigationManager.NavigateTo("/notfound");
            return;
        }

        AllRoles = RoleManager.Roles.ToList();

        var roles = await UserManager.GetRolesAsync(User);

        //if the SelectRole is null, set the default value.
        if (SelectedRole is null)
            SelectedRole = roles.FirstOrDefault() ?? "-1";
    }
}

Besides, since you will receive the data from the form. I think you'd better to add the [SupplyParameterFromForm] attribute for the User and SelectedRole, after modified the code should like this:

[SupplyParameterFromForm]
private ApplicationUser? User { get; set; } = new(); 
[SupplyParameterFromForm]
private string? SelectedRole { get; set; }

After that in the SaveChanges method, you can see the selected value.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Zhi Lv

79325814

Date: 2025-01-03 07:55:21
Score: 1
Natty:
Report link

For me I had to uncheck all of the missing libraries by going to tools > references. Note you have to reset the editor for you to be able to click on references else, it'll be greyed out

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

79325812

Date: 2025-01-03 07:53:21
Score: 0.5
Natty:
Report link

As Mike M. mentioned, there was a bug during activity recreation and his suggested workaround is the solution. So, for those who also faced this issue, you should do:

override fun onCreate(savedInstanceState: Bundle?) {
    super.onCreate(savedInstanceState)
    // Add these 3 lines to your code
    if (savedInstanceState != null && Build.VERSION.SDK_INT >= 35) {
        WindowCompat.setDecorFitsSystemWindows(window, false)
    }
    enableEdgeToEdge()
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nazar Taraniuk

79325807

Date: 2025-01-03 07:50:21
Score: 3
Natty:
Report link

Did mail the support for the same and received a response saying that there are no test credentials(Email, Password) for sandboxing and that "you can create an actual order after making an recharge at your Shiprocket wallet, later you can cancel the shipment and you will get full refund".

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did
  • Low reputation (1):
Posted by: Mohit Jain