79229368

Date: 2024-11-27 07:59:59
Score: 1
Natty:
Report link

There is a third parameter for options in cpSync(source,destination, options?), which does have a recursive property. Set it to true and you should get a copy of your source directory including all files at target.

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

79229363

Date: 2024-11-27 07:56:57
Score: 8 🚩
Natty: 4.5
Report link

Do you solve the problem? I met the smae

Reasons:
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (2.5): Do you solve the
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user28020954

79229361

Date: 2024-11-27 07:56:57
Score: 1
Natty:
Report link

save the audio but make sure before saving remove the special character sapce use this regexp String sanitizeFileName(String fileName) { // Remove special characters and replace spaces with underscores return fileName .replaceAll(RegExp(r'[^\w\s.]'), '') // Remove special characters .replaceAll(RegExp(r'\s+'), '_') // Replace spaces with underscores .replaceAll(RegExp(r'.+'), '.') // Ensure only single dots .toLowerCase(); // Convert to lowercase }

use command like this '-i "$outputPath" -i "$audioPath" -map 0:v -map 1:a -c:v copy -c:a aac "$finalOutputPath"';

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

79229357

Date: 2024-11-27 07:54:56
Score: 2.5
Natty:
Report link

try removing the DEFAULT_DDL_COLLATION from account level by setting it to a blank string ('') and confirm if this resolves the issue. (E.g. alter ACCOUNT set DEFAULT_DDL_COLLATION = '';)

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

79229353

Date: 2024-11-27 07:52:55
Score: 1.5
Natty:
Report link

This one work easily.

{% unless product.available %}
              <span class="product-sold-out">Sold Out</span>
            {% endunless %}

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

79229352

Date: 2024-11-27 07:52:55
Score: 2
Natty:
Report link

Instead of trying to store it in a database, I used GitHub artifacts to store and retrieve the reports, and it worked well for me!! DO let me know if there is a way to store it in a DB, you could also share resources for the same.

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vaibhav Mishra

79229348

Date: 2024-11-27 07:50:54
Score: 3
Natty:
Report link

Check your outgoing TCP port. If you are trying to make some connections in short time interval from the same outgoing port - server will not answer.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Н

79229343

Date: 2024-11-27 07:49:54
Score: 2
Natty:
Report link

I have a related question; I made a cool site what collects all the data from my clients and than it programatically (javascript) put everything into a hidden CF7 from BUT when I programatically start the CF7 submission (something like "wpcf7.submit()") than none of the other Listeners are triggered. I am not able to catch a "wpcf7submit" or a "wpcf7mailsent" event .. . they just remain silent. But they do alert when I "physically" press the submit button on the CF7 form. What shall I do in order to catch any of those events! I desperately need to know that the Form has been submitted and I also want to navigate to an other subpage than.

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ádám Kruzics

79229341

Date: 2024-11-27 07:49:54
Score: 0.5
Natty:
Report link

I also got this issue and after researching, I found a solution for it.

INSERT INTO table_name (id, json_data)
VALUES (1, JSON '{"id":"stop-id-1","type":"STOP"}');

just wrap the json string with "JSON " keyword.

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

79229331

Date: 2024-11-27 07:45:53
Score: 2.5
Natty:
Report link

found out that the sdk for .net c# does not have the function to send the video to amazon rekognition API. only react, ios, and android SDK have it.

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

79229317

Date: 2024-11-27 07:39:52
Score: 2.5
Natty:
Report link

This question looks dated and the feature for creating http API GW v2 via OpenAPI specs (as replacement for API GW V1 REST API) is now supported.

See: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/apigatewayv2_api#body-1

There is an interesting module here that has such functionality to get started with. : https://github.com/terraform-aws-modules/terraform-aws-apigateway-v2

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

79229304

Date: 2024-11-27 07:33:50
Score: 2
Natty:
Report link

On October 30, 2024, Amazon announced support for HTTPS, SSHFP, SVCB, and TLSA DNS resource records

https://aws.amazon.com/about-aws/whats-new/2024/10/amazon-route-53-https-sshfp-svcb-tlsa-dns-support/

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

79229294

Date: 2024-11-27 07:31:49
Score: 8.5 🚩
Natty: 4.5
Report link

do you have a solution now?please

Reasons:
  • RegEx Blacklisted phrase (2.5): do you have a
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: H Z

79229282

Date: 2024-11-27 07:25:47
Score: 4.5
Natty:
Report link

which payment provider you are using

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): which
  • Low reputation (1):
Posted by: iamyathz

79229277

Date: 2024-11-27 07:22:46
Score: 0.5
Natty:
Report link

Further to answer mentioned by @Alexey, this is how I worked it out to embed Aspose libraries as a resource in a .NET Core Web application.

  1. Added a folder named Resources under the Solution > Project > Properties folder. screenshot of Resources folder

  2. Edited the .proj file to add below code:

<!-- Aspose Licence embedded resource include -->
<ItemGroup>
    <EmbeddedResource Include="Properties\Resources\Aspose.Total.NET.lic" />
</ItemGroup>

  1. Added registering of the licence in the Program.cs file (that uses top-level statements)

var AsposeLicenceFileName = "Aspose.Total.NET.lic";
var asposeWordsLicence = new Aspose.Words.License();
asposeWordsLicence.SetLicense(AsposeLicenceFileName);

worked out well for the past many months. good luck.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Alexey
  • Low reputation (0.5):
Posted by: foxfuzz

79229271

Date: 2024-11-27 07:20:45
Score: 7 🚩
Natty: 4.5
Report link

Have you been able to resolve this problem? I am facing it now.

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • RegEx Blacklisted phrase (1.5): resolve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gianluca Melis

79229267

Date: 2024-11-27 07:17:44
Score: 2.5
Natty:
Report link

The field exist but the field/number is not reshresing when i select a new product-size from the dropdown select menu

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

79229260

Date: 2024-11-27 07:12:43
Score: 4
Natty:
Report link

@react-native/gradle-plugin Adding it as a devDependency first then try to run your app.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Avijit

79229254

Date: 2024-11-27 07:10:42
Score: 0.5
Natty:
Report link

enter image description here

Formula in A3:

=TOCOL(REGEXEXTRACT(A1,"\b([^_|]+)(_(?1)+\b)(?:\|\1(?2))*",1))
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • High reputation (-2):
Posted by: JvdV

79229239

Date: 2024-11-27 07:06:40
Score: 4.5
Natty: 5.5
Report link

Since OpenIso8583.Net is no longer supported, here https://www.nuget.org/packages/ISO8583dotnet/#supportedframeworks-body-tab is another amazing library that is light and easy to work with to parse and pack iso message.

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: gxgTech

79229237

Date: 2024-11-27 07:05:39
Score: 1
Natty:
Report link

Check on both laptops if you have the metered connection turned off. This sometimes restrict the Wireless Display instalation. You can see it in:

Settings > Network & Internet > Wi-Fi > select the Wi-Fi network you’re connected to

Turn off the metered connection to remove the data usage limit and Restart your computer .

If the metered connection is already turned off or this solution did not solve the problem you should try to clear the System Cache because it can be corrupted. Do it on both laptops.
To do this you have to run command prompt as administrator:


I hope this solves the problem.

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

79229235

Date: 2024-11-27 07:04:39
Score: 2
Natty:
Report link

Yes, it is safe to make a Swift package bundle public using an extension like this, as long as the content of the package doesn’t expose sensitive information or proprietary assets unintentionally.

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

79229231

Date: 2024-11-27 07:03:39
Score: 4.5
Natty: 5
Report link

Add this file to the root of your site:

https://subdomain.domain.com/apple-app-site-association

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nik.206

79229226

Date: 2024-11-27 06:59:38
Score: 1
Natty:
Report link

In the email setting of outlook I found that the SMTP host is smtp-mail.outlook.com so I set my configuration like this.

const transporter = nodemailer.createTransport({ 
 host: "smtp-mail.outlook.com",
 port: 587,
 auth: {
   user: // email,
   pass: // app password
 }
})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mishal P

79229223

Date: 2024-11-27 06:58:37
Score: 1
Natty:
Report link

The logic is fine and works, the bug was due to checkBtn and clearBtn variable not being initialized, and to do so just add these at the top of your script.js:

const checkBtn = document.getElementById('check-btn')
const clearBtn = document.getElementById('clear-btn')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: arc ward

79229220

Date: 2024-11-27 06:56:37
Score: 5.5
Natty:
Report link

coding all above, but still not working for me,

chatgpt give me this:

const gl = renderer.getContext();
gl.clearColor(0.0, 0.0, 0.0, 0.0); // RGBA for transparency
gl.clear(gl.COLOR_BUFFER_BIT);

and i put in 1st line of AnimationLoop, and it works.

Reasons:
  • Blacklisted phrase (2): still not working
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eric

79229218

Date: 2024-11-27 06:55:36
Score: 1.5
Natty:
Report link
::ng-deep .mdc-radio__background::before {
      background-color: transparent;
    }
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Alok Agase

79229217

Date: 2024-11-27 06:55:36
Score: 2
Natty:
Report link

To add for anyone reading this in 2024. This answer is outdated:

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

79229202

Date: 2024-11-27 06:50:35
Score: 1.5
Natty:
Report link

To me, I needed to initialize the ExpoRoot of expo-router in index.js, like that:

import { registerRootComponent } from "expo";
import { ExpoRoot } from "expo-router";

function App() {
  const ctx = require.context("./app");
  return <ExpoRoot context={ctx} />;
}

registerRootComponent(App);
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fabio Mariano

79229201

Date: 2024-11-27 06:50:35
Score: 1.5
Natty:
Report link

Explore a Wide Range of Watch Brands We stock a broad selection of watch brands, catering to all tastes and preferences. From timeless classics to the latest trends, our collection spans luxury brands like Rolex, affordable yet stylish brands like Casio, and a wide variety of other international names. Whether you're searching for a ladies' watch to complement an elegant evening outfit, or a rugged watch for men that can withstand the rigors of an active lifestyle, we have something for everyone. Among our most popular offerings are the Rolex watches, renowned for their impeccable craftsmanship and enduring prestige. If you're curious about the Rolex watch price in Bangladesh, we have all the information you need to make an informed decision. Our Rolex collection is carefully curated to ensure that you have access to authentic, high-quality models at competitive prices.

Affordable and Stylish Options: Casio Watches For those seeking affordable yet stylish options, Casio watches are a top choice. Casio is known for its wide range of designs, from digital watches packed with features to elegant analog watches for a more refined look. The Casio watch price in Bangladesh is highly competitive at WatchShop BD, allowing you to enjoy the perfect blend of functionality and fashion without breaking the bank. Whether you need a ladies watch for everyday use or a durable watch for outdoor adventures, Casio has you covered. Our collection includes both G-Shock models, known for their rugged durability, and more formal options like the Casio Edifice series. We provide all the details you need about the Casio watch price in Bangladesh, ensuring that you find the best deal for your next timepiece. Watch for Men: Style, Functionality, and Durability At WatchShop BD, we offer a comprehensive selection of watches for men, designed to cater to a variety of lifestyles and preferences. Whether you're looking for a classic leather-strap watch for the office, a sporty model for outdoor activities, or a sleek, modern design for formal events, our collection ensures that you'll find the right watch to suit your personal style.

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

79229196

Date: 2024-11-27 06:48:35
Score: 1
Natty:
Report link

Your code is mostly okay, but the color is not changing.

Figuring out what could be wrong:

<color name="color_occupied">#FF0000</color> <!-- Red -->
<color name="color_available">#00FF00</color> <!-- Green -->

Check if you added these colors in your colors.xml file.

Maybe the data sent by the Arduino has extra spaces or weird characters. Fix this by adding data.trim() to clean the data before using it.

Integer.parseInt(data.trim()) > 0

Make sure parkingLeftText is the correct view. Check your XML layout file and confirm you connected it properly in your code:

parkingLeftText = findViewById(R.id.parkingLeftText);

These could be the possible issues. Kindly check and let me know.

Reasons:
  • Blacklisted phrase (1): what could be
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Preety Sethi

79229192

Date: 2024-11-27 06:45:34
Score: 1.5
Natty:
Report link

You want to remove you Podfile.lock file and than run following command

pod install

My issue solved with this if you still suffering then connect with me

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

79229187

Date: 2024-11-27 06:44:33
Score: 5
Natty:
Report link

The DEADLINE_EXCEEDED is thrown by gRPC. What gRPC language and version is your Vercel hosted application using?

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

79229183

Date: 2024-11-27 06:42:33
Score: 3
Natty:
Report link

upgrade your android studio or change your build.gradle.

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

79229174

Date: 2024-11-27 06:38:32
Score: 0.5
Natty:
Report link

If you're using React, I had similar issues where relative paths for images didn’t work, but absolute paths did. I found that placing images in the /public folder resolves the problem.

<img src="logo.png"/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrei

79229172

Date: 2024-11-27 06:37:32
Score: 1.5
Natty:
Report link

@react-native/gradle-plugin Please add it as a devDependency first then try to run your app.

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

79229168

Date: 2024-11-27 06:35:31
Score: 2.5
Natty:
Report link

https://stackoverflow.com/a/71704583/26754724

This solution works for me! Setting a Global Prefix in Celery resolved the CROSSSLOT error and allowed it to function seamlessly with the AWS Elasticache Redis cluster.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): works for me
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user26754724

79229156

Date: 2024-11-27 06:31:30
Score: 3
Natty:
Report link

try #include <shlobj.h>

instead of #include <commctrl.h>

work for mingw32

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

79229138

Date: 2024-11-27 06:26:29
Score: 0.5
Natty:
Report link

Thank you for providing both the Python translation for server-side validation and the corrected JavaScript for client-side form submission. Here's a bit more elaboration on each:

Python Translation for Server-Side Validation

Your Python function validate_form is well-structured for basic validation. Here are some additional considerations:

JavaScript Fix for Client-Side Validation

Your corrected JavaScript addresses the primary issue of preventing form submission when there are validation errors. Here are some additional tips:

These adjustments ensure a more robust and user-friendly form handling experience, both on the server and client sides. Remember to test thoroughly across different browsers and devices. You've summarized and expanded upon the points very well! If you're interested in further exploring form validation or web development, here are a few topics we could delve into:

Additional Topics for Discussion:

  1. Cross-Site Request Forgery (CSRF) Protection:

    • In web applications, especially those handling form submissions, CSRF protection is crucial. You might want to discuss how to implement this in both Python and JavaScript environments.
  2. Form Data Handling Beyond Simple Validation:

    • File Uploads: How to handle and validate file uploads on both client and server sides.
    • Complex Data Structures: Validating nested data or JSON submissions.
  3. Real-Time Validation:

    • Discuss implementing real-time feedback for form fields using JavaScript (e.g., checking password strength as it's being typed, instant username availability checks).
  4. Advanced JavaScript Form Handling:

    • Using modern JavaScript frameworks or libraries like React, Vue, or Angular for form management with state management and form libraries like Formik or React Hook Form.
  5. Security Measures:

    • Data Encryption: Encrypting sensitive form data before transmission or storage.
    • Rate Limiting: Implementing rate limiting on form submissions to prevent abuse.
  6. User Experience Enhancements:

    • Progressive Enhancement: Discussing how forms can be made accessible and functional even without JavaScript.
    • Form Usability: Techniques to improve form usability like inline validation, tooltips, or dynamic input fields.
  7. Testing:

    • Unit Testing: How to write tests for form validation logic in both Python and JavaScript.
    • End-to-End Testing: Using tools like Selenium or Cypress to test the entire form submission process.
  8. Web Accessibility Beyond Validation:

    • Going deeper into WAI-ARIA roles, properties, and states for forms, or discussing WCAG guidelines specific to forms.
  9. API Integration:

    • How to handle form data when it needs to interact with external APIs, including considerations for rate limits, authentication, and data formats.
  10. Localization and Internationalization (i18n and L10n):

    • Adapting forms for different languages and cultural conventions, particularly date formats, phone number formats, etc.

If any of these topics resonate with you or if there's something else you're curious about, just let me know, and we can dive into those areas in more depth!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thank You
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Genehy Diaz

79229130

Date: 2024-11-27 06:25:28
Score: 1.5
Natty:
Report link

instead of "bolt://localhost:7687 " use connection uri present in the aura db.I had the same issue few moments ago but resolved by trying this.the uri will look like "neo4j+s://721b3.databases.neo4j.io" but may differ for each user at this part "721b3"

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Harikrishnan K

79229128

Date: 2024-11-27 06:24:28
Score: 1
Natty:
Report link

I think you’re talking about the HTML generated by Rendertron. The key point is that Rendertron is designed for search engine bots and not for user interaction. It generates static HTML for crawlers, but:

  1. Event Listeners: React's event listeners (e.g., button click handlers) are part of the JavaScript logic, which is not included in the static HTML returned by Rendertron. This is because bots don’t need interactive functionality—just the rendered HTML for indexing.

  2. Why Buttons Don’t Work: When you interact with the Rendertron-generated HTML, it doesn't include the React app's rehydration or JavaScript code to attach event listeners. The generated content is a snapshot, not a fully interactive React app.

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

79229127

Date: 2024-11-27 06:24:28
Score: 1
Natty:
Report link

Press F11 key with or without follwed by fn key. In my code IDE, I just pressed F11 key and toggle fullscreen mode worked.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Md Aslam

79229126

Date: 2024-11-27 06:24:28
Score: 4.5
Natty:
Report link

Are you able to integrate Agora Calling in EXPO app, im struggling to do this , can you share any article or github repo so i can do integration on my react native expo app !?

I have only found this docs on how to impletment in react native but when i tried to add to react native expo app i am getting agora native mudule not found

Reasons:
  • RegEx Blacklisted phrase (2.5): can you share
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: macgadger

79229116

Date: 2024-11-27 06:17:26
Score: 3.5
Natty:
Report link

I hope this email finds you well. I recently explored your website and admire your business's mission and offerings. I noticed opportunities where a modern, professionally designed website could enhance your user experience, improve engagement, and drive growth. We are specialized in working with websites for different businesses based on their requirements.

Would you be interested? Feel free to reply to this email, or you can reach me via WhatsApp +91 7827291975.

Let’s connect to explore this further!


Thanks, Sofiya Malik

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sofiya

79229114

Date: 2024-11-27 06:15:26
Score: 2.5
Natty:
Report link

import { Router } from '@angular/router'; (Correct) import { Router } from 'express'; (Incorrect)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nguyễn Đại Thành

79229111

Date: 2024-11-27 06:14:25
Score: 2
Natty:
Report link

If your Cell 1 is A1, then in Cell 2 you can put the formula =50000+(A1-20)*1000

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

79229106

Date: 2024-11-27 06:11:25
Score: 1
Natty:
Report link

I can see that you have set the height of slide class to 500px and image under slide class to 100% , that's why the ratio is not matching as the image height always remain 500px.

.slides {
  width: 500%;
  /*removed height */
  display: flex;
}

Now it will work

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

79229104

Date: 2024-11-27 06:10:25
Score: 3.5
Natty:
Report link

I agree 100% with @rbrundritt. You’re better off migrating your solution to Azure Maps. Microsoft has posted this page, which is a gateway to migrating from Bing Enterprise Maps to Azure Maps, including a link to a migration guide.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @rbrundritt
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aaron Smith

79229102

Date: 2024-11-27 06:10:25
Score: 1
Natty:
Report link

this is by @mjwills
it works.

var zipName = $"archive-{DateTime.Now:yyyy_MM_dd-HH_mm_ss}.zip";
        var folder = "D:\\xxdd";
        using var memoryStream = new MemoryStream();
        using (var zipArchive = new ZipArchive(memoryStream, ZipArchiveMode.Create, true))
        {
            var files = Directory.GetFiles(folder);
            foreach (var file in files)
            {
                zipArchive.CreateEntryFromFile(file, Path.GetFileName(file));
            }
        }

        File.WriteAllBytes(zipName, memoryStream.ToArray());
        Console.WriteLine("Hello, World!");
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mjwills
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: nsj

79229099

Date: 2024-11-27 06:08:24
Score: 5
Natty: 4.5
Report link

[enter image description here][1]

[1]: https://i.sstatic.net/WcoZDSwX.jpg chenge background

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Hardik Bhoya

79229093

Date: 2024-11-27 06:04:22
Score: 4.5
Natty:
Report link

I am also looking a better way to integrate Scrapy and Dagster. Here is a tutorial that might help you.

https://dagster.io/blog/data-engineering-in-python

Reasons:
  • Blacklisted phrase (2): I am also looking
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ajit kumar

79229091

Date: 2024-11-27 06:04:22
Score: 0.5
Natty:
Report link

all you need to do is to make sure that whatever file, the installer is looking for is placed in that folder and grant your curret user or everyone full control on that folder. In my case,

Hope this help

Reasons:
  • Whitelisted phrase (-1): Hope this help
  • No code block (0.5):
  • Low reputation (1):
Posted by: Monktar BELLO

79229089

Date: 2024-11-27 06:03:22
Score: 1.5
Natty:
Report link

The steps to download Kaggle datasets in Google Colab, including installing the Kaggle API, uploading the Kaggle API key, setting up authentication, downloading the dataset, unzipping the data (if necessary), and accessing the data.I have downloaded garbage_classification dataset and split it into training and validation are all executed in the following gist.

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

79229084

Date: 2024-11-27 06:02:22
Score: 3.5
Natty:
Report link

You may try to add '-dtb andes.dtb', I add this parameter and run ae350 successfully.

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

79229083

Date: 2024-11-27 06:02:22
Score: 2.5
Natty:
Report link

Yes, you need a web framework like Flask or FastAPI to expose HTTP endpoints on the Azure VM, because the Azure VM will not automatically manage HTTP requests and routing for you as Azure Functions do.

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

79229068

Date: 2024-11-27 05:57:20
Score: 4
Natty: 4.5
Report link

Yes there is a recipe here: https://docs.openrewrite.org/recipes/software/amazon/awssdk/v2migration

AWS migration Guide here: https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration-tool.html

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

79229061

Date: 2024-11-27 05:54:18
Score: 7.5 🚩
Natty: 4.5
Report link

I've recently encountered an unexpected performance issue while running the Whisper Turbo V3 ASR model on NVIDIA GPUs. When inferencing via Triton Inference Server, the model exhibits better performance on a V100 GPU compared to an A100 GPU. This is surprising since the A100 is significantly more powerful and optimized for AI workloads.

Observations:

Latency and Throughput: Lower latency and higher throughput were observed on the V100.

Model and Environment: The Whisper Turbo V3 model is the same in both cases, and the Triton configurations are identical.

Any suggestion why this might happen. Thanks in advance for any help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any help
  • RegEx Blacklisted phrase (3): Thanks in advance
  • RegEx Blacklisted phrase (2): Any suggestion
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sneh Shah

79229051

Date: 2024-11-27 05:49:16
Score: 1
Natty:
Report link

Add the dependency on Android’s Material in /android/app/build.gradle:

dependencies {
// ...
implementation 'com.google.android.material:material:<version>'
// ...

}

To find out the latest version, visit Google Maven.

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

79229035

Date: 2024-11-27 05:41:15
Score: 0.5
Natty:
Report link

I figured out it is actually possible. It is a workaround, though, and it requires manual editing of the solution file. Here are the steps

  1. Start debugging your executable from a command line like this

DevEnv /DebugExe YourApp.exe Arg1 Arg2 ArgN

It will start Visual Studio, create a solution, create a type of a project that I don't know how to create another way and starts debugging. If somebody knows how to create this type of project from Visual Studio, please share your knowledge. The project is sort of "ready to be debugged executable reference".

  1. Now you can stop the debugger, save the solution in the same place where you have your development solution, to make sure that all relative paths are the same and open the solution in a text editor.
  2. In case your development project has the same name as the executable that that project generates and that you used in point 1, you need to change the name let's say adding 0. Make sure the file YourApp0.exe actually exists in that location. Otherwise, the project won't load. Another thing to remember, even though the name here is YourApp0.exe, the executable that will start is specified by Executable property.

Project("{911E67C6-3D85-4FCE-B560-20A9C3E3FF48}") = "YourApp0", "YourApp\bin\x64\Debug\net8.0\YourApp0.exe", "{0652E91E-CB29-4889-BB9C-E76CC72A064F}"

  1. Now you can open that solution in Visual Studio and add your development project. I assume the name of the project will be YourApp, that is why you needed to change the name in the point 3. Don't forget to add all projects your main project depends on.
  2. Save the solution and open it in a text editor again. Now you can copy the project block specifying YourApp0.exe as many times as you need the debugging sessions with different command lines. Increment initial 0 for each of your copies and generate new GUID for {0652E91E-CB29-4889-BB9C-E76CC72A064F}. Copy the related blocks in the GlobalSection of the solution file.
  3. Now the solution file is mostly ready, you can open it in Visual Studio again. In my case I had to change debugging properties of the executables to be "Managed (.NET Core, .NET 5+)". Then, you can update command lines in the executable projects as you need.
  4. At this point everything is ready for debugging. Put breakpoints to your source code as you normally do, start as many executable projects with Debug > Start New Instance as you need.

Then you can create different configurations of this very solution for Debug/Release or other conditions or different solutions. For automatic starting of the debugger for many instances use solution "Multiple startup projects".

Reasons:
  • Whitelisted phrase (-2): I figured out
  • RegEx Blacklisted phrase (2.5): please share your know
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Alex

79229033

Date: 2024-11-27 05:40:15
Score: 3.5
Natty:
Report link

What does NoSuchBucketEl depósito especificado no existeTN-Prod-MediaC3FG5P9PMECYPCKCntFO6vtQy7hhxJjUvVFG7rmx1+vrDLs7KWmoravBnW4UZsr02QHEd1MlxjF1W+PV4OdWeGkT9T1NkU1BrUClY8mhqQetFrZB means

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What do
  • Low reputation (1):
Posted by: user28506399

79229032

Date: 2024-11-27 05:39:14
Score: 0.5
Natty:
Report link

Is RTSP important for your application or could you use RTMP? Its pretty easy to use ffmpeg on Raspi zero W to stream the camera frames encoded in h264 to an RTMP server, and you could run an RTMP server on your laptop. Here is an example bash command to start a stream from the camera to the server:

ffmpeg -f v4l2 -framerate 30 -video_size 1280x720 -i /dev/video0 -c:v libx264 -b:v 3000k -maxrate 3000k -bufsize 5000k -f flv rtmp://local_LAN_server_IP_address/live/streamkey

ffmpeg is also capable of converting to RTSP, but I'm not an expert on that, so explore it a bit if required by your next step. You can find more details here: https://manpages.org/ffmpeg

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

79229031

Date: 2024-11-27 05:39:14
Score: 2
Natty:
Report link

I think simply just:

df2 = df[-1:]

then could extract the last role to save in df2

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

79229030

Date: 2024-11-27 05:38:14
Score: 3
Natty:
Report link

Hi Recently I had the opportunity to work on deploying a Snowflake Pricing Calculator. Its a Rough estimate of the costs and can vary on region to region. If any of you are interested you can check it out and give your reviews.

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Samrat Chakraborty

79229027

Date: 2024-11-27 05:36:14
Score: 2
Natty:
Report link
  1. Create virtual folder in VS e.g. docs
  2. Create folder in Windows Explorer with same name: docs
  3. Create files in Windows Explorer: notes.txt
  4. Add notes.txt file as existing file to the virtual folder: docs
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: WaseemDev

79229012

Date: 2024-11-27 05:24:11
Score: 2
Natty:
Report link

try to use

npm install olcs --save

and then use

import OLCesium from olcs
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Carl Zhang

79229011

Date: 2024-11-27 05:23:10
Score: 5.5
Natty: 5
Report link

Refer to this link https://forum.virtuemart.de/thread/4274-com-virtuemart-restricted-access-view-restricted-access-for-view-category/ You need to toggle off the VM Manager on the VM Catagory Menu Item

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Megan

79229006

Date: 2024-11-27 05:18:08
Score: 1
Natty:
Report link

I found more elegant solution

    public const uint WDA_EXCLUDEFROMCAPTURE = 0x00000011;
    [DllImport("user32.dll")]
    public static extern uint SetWindowDisplayAffinity(IntPtr hWnd, uint dwAffinity);
...
    SetWindowDisplayAffinity(currentWindowhWnd, WDA_EXCLUDEFROMCAPTURE);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Павлик Бендер

79229004

Date: 2024-11-27 05:17:08
Score: 2.5
Natty:
Report link

Please enable dart and add dart sdk path correctly in Preference-> Languages-> dart-> Add path without any exception. now you can able to see the emulator to run. Happy Code!

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

79228992

Date: 2024-11-27 05:10:06
Score: 6 🚩
Natty:
Report link

Please share some codes especially the screenOptions.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share some code
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: engr.ukairo

79228990

Date: 2024-11-27 05:08:05
Score: 5
Natty: 4.5
Report link

Please go through the following code. It helped me a lot.

https://devblogs.microsoft.com/oldnewthing/20120301-00/?p=8193&nsl_bypass_cache=38b695449cfe09dfbda2fc1e01facf39

Reasons:
  • Blacklisted phrase (1): helped me a lot
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Madhusudhana

79228978

Date: 2024-11-27 05:02:04
Score: 2.5
Natty:
Report link

Yes! I also faced this problem. I searched a lot but did not find any solution. Then I searched a bit on YouTube and Google and found the solution. I Share you step by step solution.

  1. Frist you create archive file.
  2. Then Right click Archive file. and select "Generate privacy report " save you laptop.
  3. Then open download file and see missing file in bottom.
  4. Then search you missing privacy you project folder (PrivacyInfo.xcprivacy) like ReachabilitySwift
  5. Then Open Privacy Source code and copy past other success privacy and edit acording.

PrivacyInfo

Like This Plist

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Praveen Kumar

79228965

Date: 2024-11-27 04:52:02
Score: 3
Natty:
Report link

Try open your settings (File > Preferences > Settings), then navigate to "Editor" and set the "editor.autoIndent" setting to "none"

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

79228956

Date: 2024-11-27 04:45:00
Score: 1.5
Natty:
Report link

Turn-on formula help on Google Sheets

There could be some basic reasons why the suggestion help was not showing up with your specific device, you could have clicked the 'x' icon at the top of the formula suggestion or pressed the shortcut key that turned it off. Following my previous comment, clicking the '?' icon on the left side of the cell where the formula is being typed will enable the formula help again.

Sample outcome

output

Reference: Enable formula suggestion

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: 4thAnd1

79228939

Date: 2024-11-27 04:35:58
Score: 1
Natty:
Report link

I also got the same error. However, after using Java17 and adding the below version, I was able to resolve the error.

<dependency>
        <groupId>org.springdoc</groupId>
        <artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
        <version>2.7.0</version>
</dependency>

Good luck!!

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

79228936

Date: 2024-11-27 04:34:57
Score: 3
Natty:
Report link

add code template:

"${selection}"${cursor}

and set name wrap quote

then select block and press alt+enter, choose "surround wrap quote"

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Việt Văn

79228927

Date: 2024-11-27 04:24:54
Score: 3
Natty:
Report link

Kudos on your creativity with combining disparate tools to accomplish your goal. For a more elegant (and likely free for your usage level) solution, have you considered Azure Maps? I suspect that you’re plenty tech-savvy to create your own app following the provided documentation and samples.

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

79228921

Date: 2024-11-27 04:19:53
Score: 1
Natty:
Report link

Check whether your PATH environment variable is being modified between build invocations. This can happen when your terminal and editor have different PATH values and both are invoking builds.

Some more information—including alternative sources of the spurious recompilation—can be found in this GitHub issue:

Protobuf repo recompilation sensitivity #7095

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

79228914

Date: 2024-11-27 04:15:52
Score: 3
Natty:
Report link

If this issue raise while migration,Truncate the tabel if there is foreign key use truncate cascade and migrate it

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

79228910

Date: 2024-11-27 04:12:50
Score: 2
Natty:
Report link

You don't need to handle code_interpreter locally but you have to perform function_calling locally if you did the configuration. The following repo can be referred but it is done by Python.

https://github.com/ideabosque/openai_assistant_engine

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Bibo W.

79228909

Date: 2024-11-27 04:12:50
Score: 1.5
Natty:
Report link

While not in python yet. There is the ig.degree.betweenness R package. Which implements the "Smith-Pittman" community detection algorithm which considers both node degree and edge betweenness for igraph objects.

There is a python implementation in the works however it still needs to be fully developed.

enter image description here

More links:

Blog about Smith-Pittman clustering: here.

Working paper: https://arxiv.org/abs/2411.01394

Reasons:
  • Probably link only (1):
  • Contains signature (1):
  • Has code block (-0.5):
Posted by: Bensstats

79228901

Date: 2024-11-27 04:09:50
Score: 2
Natty:
Report link

cuda::std::complex is from libcu++. libcu++ makes C++ Standard Library features useable in both host and device code. HIP does not provide something like libcu++. Most functions from std library is not available in device code.

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

79228898

Date: 2024-11-27 04:08:50
Score: 0.5
Natty:
Report link

AWS DataSync doesn’t have a built-in feature to delete source files from S3 after a transfer is complete. As DataSync is primarily designed for use cases like disaster recovery, where retaining the source data is normal. However, you can set up a custom solution by using DataSync's logging capabilities to handle deletions for successfully transferred files.

You just need to enable detailed logging in your DataSync task and direct the logs to CloudWatch. Then, create a Lambda function that triggers whenever a new log entry is added. This function can parse the logs to identify files that were successfully transferred and delete them from the source S3 bucket. This approach ensures only confirmed files are removed.

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

79228896

Date: 2024-11-27 04:05:49
Score: 1.5
Natty:
Report link
subprojects {
    pluginManager.withPlugin("org.jetbrains.kotlin.android"){
        configure<KotlinAndroidProjectExtension> {
            jvmToolchain {
                languageVersion.set(JavaLanguageVersion.of(11))
            }
        }
    }
}

ref: https://github.com/uber/AutoDispose/blob/854d41c0f071c063fc716f601746e1504053aef5/build.gradle.kts#L184

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

79228889

Date: 2024-11-27 04:01:48
Score: 12 🚩
Natty:
Report link

Did you find any solution for this issue?, I cant comment so posting it as answer.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (1): cant comment
  • RegEx Blacklisted phrase (3): Did you find any solution
  • RegEx Blacklisted phrase (2): any solution for this issue?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find any solution for this is
  • Low reputation (1):
Posted by: user28505268

79228882

Date: 2024-11-27 03:51:45
Score: 2
Natty:
Report link

That's not how it works. You need to get tampermonkey (or any other extensions like that) and the Desmoscript loader. Once you got the loader to work using tampermonkey, open desmos on a new tab, if there's a text box on the right corner, it means it has been properly loaded. Recompile it, and it should pretty much work on.

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

79228880

Date: 2024-11-27 03:50:45
Score: 1.5
Natty:
Report link

Ok, so the solution was to build the webhook integration with node.js and ngrok. So it is not dependent on the web server.

Also, out Apache is still running with the prefork module due to some old legacy code that is not MPM-compatible. Apache prefork module is NOT adequate for higher loads. We are in the process of upgrading all the old legacy code to be MPM compatible so that we can use one of the MPM modules. That might also be a solution if you want to use PHP for the webhook

But the node.js + ngrok solution works very well.

Hope this helps other people that might have a similar situation.

AndreT

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: AndreT

79228877

Date: 2024-11-27 03:49:44
Score: 3
Natty:
Report link

I Found a solution, the solution was to move all the app code from the fragment to MainAcitivity and create a wake-up method at the end of MainAcitivity void waky(){ // wake up code } then on completion of the app code call the wake-up method: void waky();

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

79228876

Date: 2024-11-27 03:48:44
Score: 3
Natty:
Report link

The issue you're encountering is related to the paths used to reference the assets folder inbundle.js file.dist folderassets folder.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nguyễn Hữu Dũng

79228873

Date: 2024-11-27 03:46:44
Score: 8.5
Natty: 8.5
Report link

it's a shame that you haven't received any responses after such a long time, but I'm reaching out to ask for your help. Maybe you've found a solution? Thanks in advance!!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: José Luna Intriago

79228872

Date: 2024-11-27 03:44:43
Score: 4
Natty:
Report link

O(n^4) is polynomial time complexity.

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

79228870

Date: 2024-11-27 03:43:42
Score: 1
Natty:
Report link

Login as root and then run the curl command. However, review security before running a curl command as root.

sudo -i
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ambar Prajapati

79228867

Date: 2024-11-27 03:42:41
Score: 6 🚩
Natty:
Report link

من علاقه ی زیادی به یادگیری پایتون دارم باید از کجا شورع کنم ؟؟ لطفا بع سایت ما هم سری بزنید

سیم کارت

سیم کارت رند

سیم کارت

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: tebebualii

79228864

Date: 2024-11-27 03:41:41
Score: 3.5
Natty:
Report link

This issue is caused by the SVG containing color_p3. Those colours are supported on iOS only and Android is not supported.

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

79228855

Date: 2024-11-27 03:29:39
Score: 1.5
Natty:
Report link

If you want to suppress Cypress logs for a particular route, use

cy.intercept({ ... }, { log: false })
cy.intercept({url: '*'}, (req) => {
  if (!req.url.includes('_nuxt/')) {
    Cypress.log({ name: 'not "/_nuxt/"', message: req.url}) // for demo
  }
}).as('not-nuxt')

cy.intercept(/_nuxt/, {log:false}).as('nuxt')

cy.visit('https://hello-world.example.nuxt.space/')
cy.contains('div', 'Hello Nuxt 3!')

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kan.Uranga

79228854

Date: 2024-11-27 03:27:38
Score: 1
Natty:
Report link

As a test I deployed the app to DigitalOcean and the issue was immediately resolved. So my conclusion is that the issues were a result of fly.io network issues. Once I remembered about the trouble I had installing the fly CLI tool I began to suspect this was the case.

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

79228844

Date: 2024-11-27 03:18:36
Score: 1
Natty:
Report link

This should be easy and simple. Just use a getter.

var pizzaOrder = {
    id: "pizza",
    counter: 0,
    get sentence() {
       return this.id + this.counter;
    } 
};

pizzaOrder.counter++;

console.log(pizzaOrder.sentence);

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

79228841

Date: 2024-11-27 03:12:35
Score: 0.5
Natty:
Report link

You could make the function more generic by moving the commonName field into a separate function that checks the input and returns the common name component of the certificate or an empty object. Then take the 2 resulting objects and merge them together using object.union. Here's an example:

policy.rego:

package example

new_certificate(issuerName, uid, organization, organizationalUnit) = {
    "apiVersion": "cert-manager.io/v1",
    "kind": "Certificate",
    "metadata": {
        "name": "test-certificate",
        "namespace": "tenant-ns"
    },
    "spec": {
        "isCA": true,
        "issuerRef": {
            "group": "rhcs-issuer.it-platform.redhat.com",
            "kind": "ClusterIssuer",
            "name": issuerName
        },
        "privateKey": {
            "algorithm": "ECDSA",
            "size": 256
        },
        "secretName": "test-tls",
        "subject": {
            "organizations": [
                organization
            ],
            "organizationalUnits": [
                organizationalUnit
            ]
        }
    }
}

new_common_name(common_name) = cn {
    trim_space(common_name) != ""
    cn := {
        "spec": {
            "commonName": common_name
        }
    }
}

new_common_name(common_name) = cn {
    trim_space(common_name) == ""
    cn := {}
}

cert1 := object.union(new_certificate("SignalRichard", "77479301", "stack-exchange", "stack-overflow"), new_common_name("stackoverflow.com"))
cert2 := object.union(new_certificate("SignalRichard", "77479301", "stack-exchange", "stack-overflow"), new_common_name(""))

Running this code with opa eval -d policy.rego "data.example" results in the following output with cert1 having the commonName field populated and cert2 does not have the field at all:

{
  "result": [
    {
      "expressions": [
        {
          "value": {
            "cert1": {
              "apiVersion": "cert-manager.io/v1",
              "kind": "Certificate",
              "metadata": {
                "name": "test-certificate",
                "namespace": "tenant-ns"
              },
              "spec": {
                "commonName": "stackoverflow.com",
                "isCA": true,
                "issuerRef": {
                  "group": "rhcs-issuer.it-platform.redhat.com",
                  "kind": "ClusterIssuer",
                  "name": "SignalRichard"
                },
                "privateKey": {
                  "algorithm": "ECDSA",
                  "size": 256
                },
                "secretName": "test-tls",
                "subject": {
                  "organizationalUnits": [
                    "stack-overflow"
                  ],
                  "organizations": [
                    "stack-exchange"
                  ]
                }
              }
            },
            "cert2": {
              "apiVersion": "cert-manager.io/v1",
              "kind": "Certificate",
              "metadata": {
                "name": "test-certificate",
                "namespace": "tenant-ns"
              },
              "spec": {
                "isCA": true,
                "issuerRef": {
                  "group": "rhcs-issuer.it-platform.redhat.com",
                  "kind": "ClusterIssuer",
                  "name": "SignalRichard"
                },
                "privateKey": {
                  "algorithm": "ECDSA",
                  "size": 256
                },
                "secretName": "test-tls",
                "subject": {
                  "organizationalUnits": [
                    "stack-overflow"
                  ],
                  "organizations": [
                    "stack-exchange"
                  ]
                }
              }
            }
          },
          "text": "data.example",
          "location": {
            "row": 1,
            "col": 1
          }
        }
      ]
    }
  ]
}

References:

  1. How do I merge two objects in rego?
  2. Open Policy Agent/Policy Reference/Build-in Functions/Objects/object.union
Reasons:
  • Blacklisted phrase (1): How do I
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
Posted by: SignalRichard

79228835

Date: 2024-11-27 03:08:34
Score: 3
Natty:
Report link

The hack was to set rows to 1 in my case

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

79228833

Date: 2024-11-27 03:05:33
Score: 2
Natty:
Report link

The issue is not the decryption, it is the result NSData from the decryption. There is a high possibility that it might contain non UTF format Data which is making the Data to NNString conversion fail. Objective C is still more tolerant to handle imperfect UTF Data bytes, swift would fail everytime because of the optionals.

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

79228827

Date: 2024-11-27 03:01:32
Score: 4.5
Natty:
Report link

Just call socket.Close() and I had tested it out,it worked https://stackoverflow.com/a/3560832

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): it worked
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: lpj