79419430

Date: 2025-02-06 21:48:52
Score: 1.5
Natty:
Report link

Following up on @David Weber and @alchemy's answer:

You want to follow this step-by-step.

NB: Keep in mind the value of your Target path.

After you've added the new virtual hardware, enter the VM and do:

  1. Create a directory inside your VM: mkdir /mnt/random

  2. Mount: mount -t 9p -o trans=virtio <value_of_target> /mnt/random

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @David
  • User mentioned (0): @alchemy's
  • Low reputation (1):
Posted by: Bazzan

79419416

Date: 2025-02-06 21:43:51
Score: 1.5
Natty:
Report link

It turns out I was importing the Form component from react-hook-form when it should have been imported from @/components/ui/form. Changing this import fixed the error.

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

79419410

Date: 2025-02-06 21:40:50
Score: 2.5
Natty:
Report link

Annotations can only be applied to the whole kubernetes resource because they are part of the resource metadata. One way to solve this is to create separate Ingress resources for each host or path with specific settings.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): can on
  • Low reputation (0.5):
Posted by: Ponsy

79419402

Date: 2025-02-06 21:37:49
Score: 0.5
Natty:
Report link

Here is a pretty dirty workaround that nevertheless achieves desired behavior.

(credit to @user2357112 for explaining process spawning)

mymodule is modified as follows:

/mymodule
├── __init__.py
├── __main__.py 
├── app.py
└── worker.py

__init__.py is empty

worker.py is unchanged

app.py contains the code from original __main__.py

__main__.py is a new file:

import sys
import mymodule.app

__spec__.name = mymodule.app.__spec__.name
sys.exit( mymodule.app.main() )

Now running module any of the three ways: python -m mymodule or python -m mymodule.__main__ or python -m mymodule.app produces the same result on Windows:

[__main__] [DEBUG]: I am main. I manage workers
[__main__] [INFO]: I am main. I manage workers
[__main__] [WARNING]: I am main. I manage workers
[mymodule.worker] [DEBUG]: I am a worker. I do stuff
[mymodule.worker] [INFO]: I am a worker. I do stuff
[mymodule.worker] [ERROR]: I am a worker. I do stuff
[mymodule.worker] [ERROR]: Here is my logger: <Logger mymodule.worker (DEBUG)>

In practice my code is more complex and takes care of cli arguments using argparse, but that is out of scope of this questions. I have tested this with python 3.11 and so far have not encountered any unexpected side effects.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @user2357112
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Art Gertner

79419387

Date: 2025-02-06 21:31:47
Score: 1.5
Natty:
Report link

had to added fill="currentColor" it didn't work before

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

79419384

Date: 2025-02-06 21:29:47
Score: 2
Natty:
Report link

Please try

<a href="javascript:history.back()">Go Back</a>

or

 <a href="javascript:history.go(-3)">Go back to step X</a>

to go back several steps.

Demystifying JavaScript history.back() and history.go() methods

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

79419382

Date: 2025-02-06 21:29:47
Score: 3.5
Natty:
Report link

Microsoft have replied to my Community Feedback stating that this library is deprecated, and in particular including this link to an "Announcement: Razor Compiler API Breaking Changes".

Reasons:
  • Blacklisted phrase (1): this link
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Phil Jollans

79419367

Date: 2025-02-06 21:21:45
Score: 1.5
Natty:
Report link

lucidchart now (in 2024) allows import/export json functionality. See the announcement here: https://community.lucid.co/lucid-for-developers-6/new-json-standard-import-api-5658

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

79419362

Date: 2025-02-06 21:16:43
Score: 4.5
Natty:
Report link

Any news on this? I'm having the same issue. bash$ curl http://localhost:5050 Ollama is running Yet connecting with Open WebUI gives a mysterious "Network Problem" error.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same issue
  • Contains question mark (0.5):
Posted by: Chris

79419357

Date: 2025-02-06 21:12:42
Score: 0.5
Natty:
Report link

Can anyone explain this?

This is certainly a bug, a simpler repro is


SELECT grp, 
       val,
       sum(val) over wf as correct_result,
       nullif(sum(val) over wf, -1) as wrong_result,
       sum(val) over () as equivalent_result
FROM (VALUES
(1, 1),
(1, 3),
(2, 10),
(2, 20)
) V(grp, val)
window wf as (partition by grp order by val rows between current row and current row);

which returns

grp val correct_result wrong_result equivalent_result
1 1 1 34 34
1 3 3 34 34
2 10 10 34 34
2 20 20 34 34

From which I infer something goes wrong with this particular permutation of features and it just ends up treating it as OVER() and ignoring the rest of the window specification. (i.e. the partition, order by and rows clause in this case)

Reasons:
  • RegEx Blacklisted phrase (2.5): Can anyone explain
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can anyone
  • High reputation (-2):
Posted by: Martin Smith

79419356

Date: 2025-02-06 21:12:42
Score: 2
Natty:
Report link

In the end, my good friend Joao saved the day by finding the Nuget Authentication task.

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

79419351

Date: 2025-02-06 21:11:42
Score: 1.5
Natty:
Report link

From the code perspective, this looks correct. From understanding your code behaviour, you are update the state of the animation's "Block" value when the user is holding the mouse down or not.

The problem appears to be in your Animator's controller; without further context on what your animation tree looks like, and any parameters you have setup, it will be difficult to answer this question correctly.

My advice would be to check whether there's a condition assigned to your animation clip tree.

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

79419343

Date: 2025-02-06 21:07:41
Score: 0.5
Natty:
Report link

Assume your AccountUser class has the schema equal to the object you push() in your javascript.

As @dbc mentioned in comment, either change your JSON.stringify() code like:

var jsonData = JSON.stringify(users);

Or change your backend C# code into:

class UserList 
{
    List<AccountUser> Users {get; set;}
}
[HttpPost]
public bool GeneratePassword([FromBody] UserList users)
...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @dbc
Posted by: Ferry To

79419331

Date: 2025-02-06 21:04:40
Score: 1
Natty:
Report link

I keep an arbitrary amount of .env files and symlimk to whatever the proper one is for the environment. You can do that with any config file, more or less.

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

79419313

Date: 2025-02-06 20:53:38
Score: 1
Natty:
Report link

Comment from @moonstar-x is correct. In my case it's src/app/favicon.ico.

View the favicon.ico here

NextJS structure

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @moonstar-x
  • High reputation (-2):
Posted by: Roar S.

79419311

Date: 2025-02-06 20:52:37
Score: 9 🚩
Natty: 5
Report link

@Ramin Bateni Did you ever resolve this issue? I have the same - timeout when using click() or goto() and the same error message with .gauge/plugins/js/5.0.0/src/test.js:44:23, same page load is finished when I look at the DevTools manually. I am using node v22.13.1, gauge v1.6.13, Chrome v133. The tests are run in Linux server + Docker+Jenkins, and this is the only env where the error occurs. The error does not ever occur when run locally (W10), headful or headless.

(Sorry cannot comment yet, this is not an answer but a question to the TS)

Reasons:
  • Blacklisted phrase (1): not an answer
  • RegEx Blacklisted phrase (1): cannot comment
  • RegEx Blacklisted phrase (3): Did you ever resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Ramin
  • Low reputation (1):
Posted by: simongertz

79419310

Date: 2025-02-06 20:50:36
Score: 2.5
Natty:
Report link

Microsoft documentation for C4996 contains a subtle message that the /sdl option elevates C4996 to an error and /sdl is enabled in a default console application project.

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

79419309

Date: 2025-02-06 20:50:36
Score: 3.5
Natty:
Report link

XML File missing here to check

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

79419305

Date: 2025-02-06 20:48:36
Score: 0.5
Natty:
Report link

I'd define the following function:

def rename(map, old_key, new_key) do
  case Map.pop(map, old_key) do
    {nil, _} -> map
    {value, map2} -> Map.put(map2, new_key, value)
  end
end

and then it's simply a matter of:

Enum.map(maps, &rename(&1, :code, :product_code))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Guy Argo

79419299

Date: 2025-02-06 20:47:35
Score: 1.5
Natty:
Report link

I had to delete the folder:

appname/app/build/intermediates

and then it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dave Enstrom

79419285

Date: 2025-02-06 20:42:35
Score: 1.5
Natty:
Report link

Following the reasoning (suggesting that checking for git's state files is reasonably future-proof) in this similar suggestion regarding merges, you could look at the source code for how the state is checked by a git client like libgit2 and check for the presence of those files.

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

79419274

Date: 2025-02-06 20:38:33
Score: 1
Natty:
Report link

I have experienced this issue. I have a website where the MediaRecorder is (could be) invoked multiple times.

IT IS NOTED THAT THIS DELAY ONLY OCCURS THE FIRST TIME I ATTEMPT TO RECORD.

Subsequent recordings run/record as expected.

Since I have not seen any recommendations/answers, my first thought is to run a throwaway recording before attempting a real/used recording.

This is definitely not a great solution, but I believe it could be a workable temporary workaround... I'll let you all know how it works out.

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

79419271

Date: 2025-02-06 20:37:33
Score: 1
Natty:
Report link

My work computer was updated from v18 to v20 and then started asking me to save my solution every time I closed the program. I believe I fixed it by setting the .sql file associations to the new v20 program.

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

79419267

Date: 2025-02-06 20:35:33
Score: 3
Natty:
Report link

This is covered in the documentation: https://docs.snowflake.com/en/sql-reference/functions/infer_schema#usage-notes

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

79419263

Date: 2025-02-06 20:32:32
Score: 1
Natty:
Report link

a residential proxy would be perfect for your virtual instances with a unique IP, because they offer actual IPs that are less likely to get flagged. A private residential proxy would be less expensive and provide the level of anonymity and distinctiveness for every instance.

Another option to consider is a private IP VPN, which can give you a static IP address across your instances. Of course, the decision as to the most efficient option relies heavily on your use case and purposes for the instances. If, on the other hand, you need each IP to perform as a true user, then residential proxies are the way to go.

Layering proxies, as you stated, can also be effective to an extent. You can further increase anonymity by utilizing a public VPN on your main desktop and connecting to private proxies on your VMs. Doing this will allow for additional levels of anonymity while keeping your main desktop protected.

If you need a solution that works, I recommend NodeMaven. I use it for a long time and I lowkey like it! They have different types of proxies, including residential ones, which would work perfectly for your need of dedicated IPs for your instances. You can access their services at https://nodemaven.com/proxies/residential-proxies/ and check if they suit your requirements (:

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

79419258

Date: 2025-02-06 20:30:31
Score: 3
Natty:
Report link

Might be an unused library. Try uninstalling any chart.js library that you arent using such as chartjs-plugin-datalabels

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

79419248

Date: 2025-02-06 20:26:31
Score: 1.5
Natty:
Report link

npx playwright install should install all the necessary browsers for the tests to run. This fixed the issue for me

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

79419242

Date: 2025-02-06 20:24:30
Score: 1.5
Natty:
Report link

I really don´t have a solution for this, I just wanted to say that this also happened to me with Orale Instant Client 23.6.0.24.10 64-bit. I installed the latest Visual C++ Redistributable linked in the Oracle page, but the crash still happens. But, it´s a little weird that, on a particular laptop, while the window is freezed, I clicked on it and a pop-up showed with the option "Try to restore the program". After I clicked on that option, the pop-up showed again, but this time with only two options: Restart or Wait. As soon as i clicked on "Wait", the window where I put the password showed and I was able to test the connection successfully. The option "Try to restore the program" does not apeear on other laptops with similar specs (Intel CPU):

Pop-Up of freezed window

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

79419238

Date: 2025-02-06 20:22:30
Score: 3.5
Natty:
Report link

When it returns the 404, what is the path? The error might be returning from multiple paths, and if it is the icon needs to be in multiple places. Doesn't entirely make sense, but I've dealt with that before.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When it
  • Low reputation (1):
Posted by: Davey Sway

79419237

Date: 2025-02-06 20:22:30
Score: 1
Natty:
Report link

Definition: 'ON DELETE CASCADE' is an option that can be specified in the foreign key constraint of a child table. When this option is set, deleting a row in the parent table will automatically delete all related rows in the child table that reference the deleted row.

Use Case : This feature is particularly useful in maintaining referential integrity within the database. It ensures that there are no orphaned records in the child table that reference non-existent rows in the parent table.

Example Scenario Consider two tables: Orders (parent table) and OrderDetails (child table).

Orders: Contains order information. OrderDetails: Contains details for each order, with a foreign key referencing the Orders table. If an order is deleted from the Orders table, all corresponding entries in the OrderDetails table should also be deleted to maintain data integrity.

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

79419232

Date: 2025-02-06 20:19:29
Score: 0.5
Natty:
Report link

I understand you want to display both Simplified and Traditional Chinese characters in a PDF generated by your Flutter application, and you'd like to use the google_fonts package to manage the fonts. This is a common requirement when dealing with multilingual content. Based on the information I have, and general best practices, here's a comprehensive guide on how to achieve this: Understanding the Challenge Character Sets: Chinese (both Simplified and Traditional) uses a vast character set (Unicode). Not all fonts support all of these characters. Font Selection: You need a font that specifically supports a wide range of Chinese characters. PDF Embedding: You need to ensure that the chosen font is properly embedded in the PDF so that the characters render correctly, even if the user doesn't have the font installed on their system. Google Fonts: The google_fonts package is a convenient way to access fonts from Google Fonts, but you need to be aware of how it works with PDF generation. Solution Breakdown

    flutter pub add syncfusion_flutter_pdf

    flutter pub add google_fonts

Code:

    import 'dart:io';
    import 'package:flutter/services.dart';
    import 'package:path_provider/path_provider.dart';
    import 'package:syncfusion_flutter_pdf/pdf.dart';
    import 'package:google_fonts/google_fonts.dart';
    import 'package:flutter/material.dart';

    Future<void> generatePdfWithChineseText() async {
      // 1. Get the cached font file path:
      final font = GoogleFonts.notoSans(); // Or another CJK font
      final fontData = await font.loadFont();
      final fontFile = File(fontData.fontFamily);

      // 2. Create a PDF document:
      final PdfDocument document = PdfDocument();
      final PdfPage page = document.pages.add();
      final PdfGraphics graphics = page.graphics;

      // 3. Load the font from the file:
      final List<int> fontBytes = await fontFile.readAsBytes();
      final PdfFont pdfFont = PdfTrueTypeFont(fontBytes, 12);

      // 4. Draw the text:
      final String chineseText = '你好世界!这是一个测试。繁體字測試。'; // Example text
      final PdfTextElement textElement = PdfTextElement(
        text: chineseText,
        font: pdfFont,
      );
      final PdfLayoutResult layoutResult = textElement.draw(
        page: page,
        bounds: Rect.fromLTWH(0, 0, page.getClientSize().width, page.getClientSize().height),
      )!;

      // 5. Save the document:
      final List<int> bytes = document.save();
      document.dispose();

      // 6. Save the PDF to a file (example):
      final String dir = (await getApplicationDocumentsDirectory()).path;
      final String path = '$dir/chinese_text.pdf';
      final File file = File(path);
      await file.writeAsBytes(bytes, flush: true);
      print('PDF saved to: $path');
    }

Explanation:* 1.
Get Cached Font: * GoogleFonts.notoSans(): Specifies the font you want to use. * font.loadFont(): Loads the font and returns the font data. * File(fontData.fontFamily): Creates a File object representing the cached font file. 2.
Create PDF: * PdfDocument(): Creates a new PDF document. * document.pages.add(): Adds a new page to the document. * page.graphics: Gets the graphics context for drawing. 3.
Load Font from File: * fontFile.readAsBytes(): Reads the font file's content as bytes. * PdfTrueTypeFont(fontBytes, 12): Creates a PdfFont object from the font bytes. 4.
Draw Text: * chineseText: The Chinese text you want to display. * PdfTextElement: Creates a text element with the specified text and font. * textElement.draw(): Draws the text onto the page. 5.
Save PDF: * document.save(): Saves the PDF document as bytes. * document.dispose(): Disposes of the document resources. 6.
Save to File: * getApplicationDocumentsDirectory(): Gets the app's documents directory. * File(path): Creates a File object for the PDF. * file.writeAsBytes(): Writes the PDF bytes to the file. Code Example (Conceptual - pdf package): This example demonstrates the general approach using pdf package. Install pdf:

    flutter pub add pdf

    import 'dart:io';
    import 'package:flutter/services.dart';
    import 'package:path_provider/path_provider.dart';
    import 'package:pdf/pdf.dart';
    import 'package:pdf/widgets.dart' as pw;
    import 'package:google_fonts/google_fonts.dart';
    import 'package:flutter/material.dart';

    Future<void> generatePdfWithChineseText() async {
      // 1. Get the cached font file path:
      final font = GoogleFonts.notoSans(); // Or another CJK font
      final fontData = await font.loadFont();
      final fontFile = File(fontData.fontFamily);

      // 2. Create a PDF document:
      final pdf = pw.Document();

      // 3. Load the font from the file:
      final List<int> fontBytes = await fontFile.readAsBytes();
      final pw.Font ttf = pw.Font.ttf(fontBytes.buffer.asByteData());

      // 4. Add a page to the document:
      pdf.addPage(
        pw.Page(
          build: (pw.Context context) {
            return pw.Center(
              child: pw.Text(
                '你好世界!这是一个测试。繁體字測試。', // Example text
                style: pw.TextStyle(font: ttf, fontSize: 20),
              ),
            );
          },
        ),
      );

      // 5. Save the document:
      final List<int> bytes = await pdf.save();

      //
Reasons:
  • Blacklisted phrase (1): how to achieve
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: مجهول

79419226

Date: 2025-02-06 20:15:28
Score: 4.5
Natty: 5
Report link

Looks like the URL is now available:

https://apps.apple.com/us/app/camera/id1584216193

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

79419224

Date: 2025-02-06 20:15:27
Score: 2
Natty:
Report link

i found the problem the first line was wrong i typed <doctype = html>

and not <!DOCTYPE html>

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

79419208

Date: 2025-02-06 20:07:26
Score: 1
Natty:
Report link

in my experience, "/ugo" and "-ugo" do not work, even though gnu findutils manpage suggests they will. I have to structure string this way on OpenSuSE 'leap' for, say 'read only':

# find path/to/files/ -user $(whoami) -perm 444
 - or -
# find path/to/files/ -maxdepth 1 -user landis -perm 444
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Landis Reed

79419196

Date: 2025-02-06 20:03:25
Score: 2
Natty:
Report link

SSL Certificate Verification Error in Python

This SSL certificate verification error typically occurs when there's an issue with your local Python environment's SSL certificates. Here's how to resolve it:

1. Update Certificates

Ensure your system's Certificate Authority (CA) certificates are up to date. On macOS, you can run:

/Applications/Python\ 3.x/Install\ Certificates.command
Replace 3.x with your specific Python version. This script installs the necessary certificates for Python.

2. Verify Python Version
Confirm you're using Python 3.7 or higher, as older versions may have SSL issues. Check your Python version with:

bash
Copy
Edit
python --version
3. Set Environment Variable
Temporarily bypass SSL verification (only for testing purposes):

python
Copy
Edit
import os
os.environ['REQUESTS_CA_BUNDLE'] = ''
Note: Disabling SSL verification can expose you to security risks. Use this method only for testing.

4. Update OpenAI Package
Ensure you have the latest OpenAI package:

bash
Copy
Edit
pip install --upgrade openai
5. Verify Network Configuration
Check if any network settings or proxies might be interfering:

python
Copy
Edit
import requests
response = requests.get('https://api.openai.com')
print(response.status_code)
If this request fails, it indicates a network issue.

6. Alternative Solution
If the issue persists, you can manually specify the certificate path:

python
Copy
Edit
import certifi
import os
os.environ['SSL_CERT_FILE'] = certifi.where()
This sets the SSL_CERT_FILE environment variable to the path of the certifi CA bundle.

If none of these solutions resolve the issue, please provide:

Your Python version
Operating system details
The exact code you're using to make the API call
Any network configuration details that might be relevant
This information will help in diagnosing the problem more effectively.

For further assistance, you can refer to discussions on the OpenAI Developer Community:

Stack Overflow - SSL certificate error
OpenAI Community - SSL Certificate Verify Failed
Reasons:
  • RegEx Blacklisted phrase (2.5): please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jasper Roque

79419185

Date: 2025-02-06 19:59:24
Score: 2
Natty:
Report link

Pointer alignment in C++ means that a pointer's address must be a multiple of the data type’s alignment requirement. A misaligned pointer occurs when this condition is not met, which can lead to undefined behavior (UB) when dereferenced, Dereferencing a misaligned pointer is UB in modern C++. Always ensure proper alignment when handling raw pointers

How to avoid misalignment?

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: afzaal nazir

79419184

Date: 2025-02-06 19:59:23
Score: 4.5
Natty:
Report link

I'm having this same issue but am struggling to figure out what exactly in the CSS is causing the issue. Can you clue me in?

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

79419182

Date: 2025-02-06 19:58:23
Score: 1.5
Natty:
Report link

arnt you getting the whole object (row of the table) back and not just the int

int current_league_season_id = context.LeagueSeasons....

make the item a var and than use current_league_season_id.league_season_id var current_league_season_id = context.LeagueSeasons...

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

79419180

Date: 2025-02-06 19:57:23
Score: 2
Natty:
Report link

On further debugging, I realized that the SecurityFilterChain bean was not recognized, hence the matcher was never invoked.

I was able to make it work with the following changes:

spring-cloud.version=2024.0.0 with spring-boot-starter-webflux

Using @EnableWebFluxSecurity instead of @EnableWebSecurity and setting up the filter chain as

@Bean
    public SecurityWebFilterChain securityFilterChain(ServerHttpSecurity http){...}
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @EnableWebFluxSecurity
  • User mentioned (0): @EnableWebSecurity
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user1657054

79419179

Date: 2025-02-06 19:57:23
Score: 3
Natty:
Report link

anyway, is there any chance to have a list of hex items not being converted to integer after conversion bytearray to a list. because now i ahve to convert it to hex back and then to make convert to integer out of 2 bytes. what a crazy way!

Reasons:
  • Blacklisted phrase (1): is there any
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Alexander Shemetov

79419177

Date: 2025-02-06 19:56:22
Score: 0.5
Natty:
Report link

After talking to a dev with more familiarity with INGEAR, I have the answer.

You can't, or at least not with this data structure.

What you need is to have a UDT array wrapped in a UDT with only a single value. The data structure would then look like this:

public struct STRUCT_B
{
    [MarshalAs(UnmanagedType.ByValArray, SizeConst = 10)]
    public STRUCT_A[] A_List;
}

and in the PLC, you would need to have the same hierarchy exist.

Furthurmore, you could spin through the results with the following:

        DTEncoding udtEnc = new DTEncoding();
        STRUCT_B result = (STRUCT_B )udtEnc.ToType(Testing, typeof(STRUCT_B));

        for(int x = 0; x < 10; x++)
        {
            if (result.A_List[x].Active == true)
            {
                Console.WriteLine(sample.A_List[x].Value);
            }
        }

Additionally, this behavior does not play well with Booleans as it is better to define the first byte of the struct if there are booleans present and then extract them.

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

79419172

Date: 2025-02-06 19:54:21
Score: 5
Natty:
Report link

Any news about this topic? Having the same issue here...

EXPO 50 with expo-sqlite 13.4.0. While the app is creating indexes on any Android less than 13 (API 33), it just stops with no error or success.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Guga Gobbato

79419168

Date: 2025-02-06 19:53:20
Score: 4
Natty:
Report link

You might want to try https://bulk-pdf.com.

The offer free conversions and a drag and drop system. Checkout their video here: https://youtube.com/shorts/MOqpvFvOi1k

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: DeOldSax

79419167

Date: 2025-02-06 19:52:20
Score: 3
Natty:
Report link

Let me help you to find the issue: The traceback you shared says that worker_1 is still going up even after you removed it from your docker-compose.yml file.

Do you have more than docker-compose files? maybe one for development and one for production?

Maybe there is something in entrypoint.sh firing up celery?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: elkhayyat

79419166

Date: 2025-02-06 19:52:20
Score: 3.5
Natty:
Report link

The problem is your tailwind configuration. Add contents correctly, then it will work.

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

79419165

Date: 2025-02-06 19:52:20
Score: 3.5
Natty:
Report link

This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this? This is rather inefficient, though, as I'm allocating an entire page (4KB) for everything I JIT, most of which only need a few bytes. (Note that my concern is more with the amount of page mappings, and possibly falling afoul of vm.max_map_count, than just the raw amount of RAM used.) For regular memory allocation, malloc takes care of this by wrapping (s)brk and mmap and keeping track of what parts of the page are used. I obviously can't just use malloc because it allocates non-executable memory. Is there a simple way to get similar behavior when allocating executable memory, or would I have to use a custom replacement for malloc to do this?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: goat

79419159

Date: 2025-02-06 19:48:19
Score: 0.5
Natty:
Report link

Back, 5 hours later that is. Turns out the answer is that Host.h is not located within llvm/Support, but instead llvm/TargetParser/Host.h, and with that, you can use the llvm::sys::getDefaultTargetTriple().

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Silicon

79419147

Date: 2025-02-06 19:46:18
Score: 0.5
Natty:
Report link

Also having the exact same issue, but my node_modules aren't in my repo and I'm running the latest aws-sdk v3.

I'll have large files uploaded to my EC2 (up to 1GB), but once the transfer to the S3 begins, that starts the 60 second time limit for transfer to the S3.

So I've found that I can't do 2 files that are both 1GB in the same request. It'll transfer both files in their entirety to the EC2, but it'll only finish the transfer to S3 of the 1st 1GB file, then reach 60 seconds during the second file and halt. But if I do those same 2 files in two separate but parallel requests, it can transfer them fine.

My solution:

relevant software versions:

  "dependencies": {
    "@aws-sdk/client-s3": "^3.705.0", //(2 months old)
    "express": "^4.18.2", //(2 years old)
    "multer": "^1.4.5-lts.1", //(current)
    "multer-s3": "^3.0.1" //(current)
  }
Reasons:
  • Whitelisted phrase (-2): solution:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): Also having the exact same issue
  • Low reputation (1):
Posted by: Jon Minogue

79419143

Date: 2025-02-06 19:44:17
Score: 2
Natty:
Report link

I wanted to say thank you for posting this.

I could not for the life of me figure out how to install numpy<2.0 against Accelerate. Numpy 2.x would build correctly, but I needed <2.0 to use with a different package (spaCy). Adding the 'pip install' arguments in the developers' documentation seemed to do nothing (still openblas), but finally yours did!

I don't know if your solution is "right" or "wrong," but just know it certainly helped me! Thanks again.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: user29535762

79419132

Date: 2025-02-06 19:39:17
Score: 1.5
Natty:
Report link

ASP.NET Core 9:

return RedirectPreserveMethod(url);
Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Josh Noe

79419130

Date: 2025-02-06 19:38:16
Score: 1.5
Natty:
Report link

ASP.NET Core 9:

return RedirectPreserveMethod(url);
Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Josh Noe

79419125

Date: 2025-02-06 19:35:16
Score: 2.5
Natty:
Report link

I tried to run my code with another java compiler (32-bit) and it worked!

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

79419118

Date: 2025-02-06 19:31:15
Score: 2
Natty:
Report link

If the remote is defined in .git/config, you can avoid pinging the remote server with git remote.

if git remote | grep -e "^faraway$" > /dev/null; then ... fi

The ^ and $ prevent matching similar names like longagoandfaraway.

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

79419117

Date: 2025-02-06 19:31:15
Score: 3
Natty:
Report link

To distribute your tool with dependencies, you need to create a zipapp using something like shiv.

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

79419109

Date: 2025-02-06 19:28:14
Score: 3.5
Natty:
Report link

When I had this same problem with env, I read that is better to use 'config' instead of 'env', I created my own config file (beacuse realy I need it), I used this new config file and worked fine.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (1):
Posted by: Hans Paul

79419105

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

The FILE token is part of the Token Macro Plugin. If this plugin is not installed or is outdated, Jenkins will fail to process ${FILE, path="report_stage.html"}.

Solution:

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-2): Solution:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tomas Luna

79419082

Date: 2025-02-06 19:15:12
Score: 3
Natty:
Report link

This code didn't worked for brave browser. I'm using cypress version 14.0.1 and windows 10 os. Might be version issue.

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

79419075

Date: 2025-02-06 19:10:11
Score: 1.5
Natty:
Report link

Maybe try dollar quoted string constants as explained here: https://docs.snowflake.com/en/sql-reference/data-types-text#label-dollar-quoted-string-constants

This expression worked when testing against your string on https://regexr.com/

(\w\s?)+(?=(\(\w+\))?([T].{1,3}[N]\:))

According to the documentation you'd use

$$(\w\s?)+(?=(\(\w+\))?([T].{1,3}[N]\:))$$

Seems strange to exclude parts of regex.

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

79419070

Date: 2025-02-06 19:08:10
Score: 2
Natty:
Report link

You have to click on the button named Upload Image or Sound shown here: Button

Then, use the sound by copying the URL under file information, and replacing the YouTube link with that. You cannot directly use YouTube, but there are some safe conversion sites for YouTube to MP3: I recommend using cutYT or TurboScribe

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

79419068

Date: 2025-02-06 19:07:10
Score: 3.5
Natty:
Report link

If you go onto Zscaler and go to more, you can press restart service then press yes it momentarily is deactivated.

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

79419058

Date: 2025-02-06 19:05:09
Score: 0.5
Natty:
Report link

Documentation is showing the next message:

https://developers.facebook.com/docs/development/build-and-test/test-users

enter image description here

So, the ability to create test users is disabled temporarily in Facebook

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

79419050

Date: 2025-02-06 18:57:06
Score: 14.5 🚩
Natty:
Report link

I know this is an old post but I am having same issue as @ydinesh... I can play a wave file in Wavesurfer using a FileStreamResult. But when I try to seek forward/backwards, the wave file gets reloaded from the MVC Controller... Has anyone solved this yet?

Reasons:
  • Blacklisted phrase (1): anyone solved
  • RegEx Blacklisted phrase (1.5): solved this yet?
  • RegEx Blacklisted phrase (3): Has anyone solved
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having same issue
  • Ends in question mark (2):
  • User mentioned (1): @ydinesh
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ron Antinori

79419049

Date: 2025-02-06 18:57:06
Score: 1
Natty:
Report link

I ran into this same issue and was able to resolve it with the following type cast:

const handler = NextAuth(authOptions) as (request: Request) => void;

export { handler as GET, handler as POST };
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lynn Kale

79419044

Date: 2025-02-06 18:56:05
Score: 3
Natty:
Report link

+)jg貇JEW*'MM[n޺ڔ' {$wutkv

Decode this and you'll get the Answer.

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

79419037

Date: 2025-02-06 18:54:05
Score: 2.5
Natty:
Report link

How about:

git clone https://github.com/golang/appengine.git

Is that not it?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How
  • High reputation (-1):
Posted by: Mikhail T.

79419036

Date: 2025-02-06 18:54:04
Score: 5
Natty:
Report link

Encircle the largest number or smallest number In Java

Refer this video for detailed logic on this.

https://youtu.be/96Ct576OHg8

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): this video
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29517147

79419028

Date: 2025-02-06 18:51:04
Score: 2.5
Natty:
Report link

I have tag names with pattern; YYYYYMM.{4 digits autoincrement}, e.g;

I want to keep the track of tags on;

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jean Villete

79419025

Date: 2025-02-06 18:49:03
Score: 1
Natty:
Report link

You need to reintall the dependencies. Just follow the given steps:

Step I:

npm install @react-navigation/native @react-navigation/native-stack

Step II:

npm install react-native-screens react-native-safe-area-context

Step III:

cd ios && pod install && cd ..

Thanks to the MultiClick article that helped me to fix my issue.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mian Aamir Shehzad

79419024

Date: 2025-02-06 18:48:03
Score: 1
Natty:
Report link

Spigot addressed this concern and said following:

As of 1.18+, the main spigot.jar is now a bootstrap jar which contains all libraries. You cannot directly depend on this jar. You should depend on Spigot/Spigot-API/target/spigot-api--SNAPSHOT-shaded.jar, or the entire contents of the bundler directory from your server, or use a dependency manager such as Maven or Gradle to handle this automatically.

Now, i am fully aware that he is running version 1.17, so it might be something else but this is important since most people wont think about reading that section.

you can find that quote from their Buildtools Frequently asked questions part. BuildTools

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

79419020

Date: 2025-02-06 18:45:02
Score: 3.5
Natty:
Report link

Honestly, i'd just make one entity and then add an extra attribute called "type"

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

79419016

Date: 2025-02-06 18:44:02
Score: 3.5
Natty:
Report link

use "npx gltfjsx public/model.glb -o src/components/ComponentName.jsx -r public"

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

79419011

Date: 2025-02-06 18:43:02
Score: 2
Natty:
Report link

strtok3 is an ECMAScript modules (ESM). In a CommonJS (CJS) project (it looks like that is what you have) can use dynamic import to load an ESM module.

(async () => {
  const strtok3 = await import('strtok3');
})();

I will demonstrate how to do that. I use URLs instead of module names here, as I cannot import from local installed dependencies.

const strtok3 = 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';
const token_types = 'https://cdn.jsdelivr.net/npm/[email protected]/+esm';

async function run() {
  const {fromBuffer} = await import(strtok3);
  const {UINT32_BE} = await import(token_types);
  
  const testData = new Uint8Array([0x01, 0x00, 0x00, 0x00]);
  const tokenizer = fromBuffer(testData);
  const number = await tokenizer.readToken(UINT32_BE);
  console.log(`Decoded number = ${number}`);
}

run().catch(err => {
  console.error(`An error occured: ${err.message}`);
})

But you are using TypeScript, and gives additional challenge, as the TypeScript compiler does not respect the dynamic import, in CJS project.

import {loadEsm} from 'load-esm';
    
(async () => {
  const strtok3 = await loadEsm<typeof import('strtok3')>('strtok3');
})();

As per StackOverflow policies I need disclose that I am the owner of all the used dependencies: strtok3, token-types and load-esm.

But rather then get this to work in your CJS project, it better to migrate your project to ESM. In your ESM project, you more easily load both ESM and CJS dependencies.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): StackOverflow
  • Blacklisted phrase (0.5): I cannot
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Borewit

79419007

Date: 2025-02-06 18:40:01
Score: 2.5
Natty:
Report link

Avoid using pre-compiled headers, it obscures your project's dependencies and your understanding of the dependencies.

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

79418993

Date: 2025-02-06 18:32:58
Score: 5
Natty:
Report link

Thanks @Zeros-N-Ones!

This works to find the record to update. My next issue is the updateContact() (at the bottom), which fails. Any additional help will be greatly appreciated.

      if (contact) {
    Logger.log("Contact found");
    const updatedContact = { // Create a *new* contact object
      names: [{
        givenName: personData.firstName || (contact.names && contact.names.length > 0 ? contact.names[0].givenName : ""),
        familyName: personData.lastName || (contact.names && contact.names.length > 0 ? contact.names[0].familyName : "")
      }],
      phoneNumbers: [], // Initialize phoneNumbers as an empty array
      emailAddresses: [], // Initialize emailAddresses as an empty array
      organizations: [], // Initialize organizations as an empty array
      addresses: [], // Initialize addresses as an empty array
      birthdays: contact.birthdays ? [...contact.birthdays] : []
    };
    Logger.log("updatedContact created");

    // Update other fields - phone numbers, email, organizations, addresses, and birthdays
    if (personData.homePhone) {
      updatedContact.phoneNumbers.push({ value: personData.homePhone, type: "Home" });
    }
    if (personData.mobilePhone) {
      updatedContact.phoneNumbers.push({ value: personData.mobilePhone, type: "Mobile" });
    }

    if (personData.email) {
      updatedContact.emailAddresses.push({ value: personData.email, type: "Personel" });
    }

    if (personData.company) {
      updatedContact.organizations.push({ name: personData.company });
    }

    if (personData.address) {
      updatedContact.addresses.push({ formattedValue: personData.address });
    }

    if (personData.birthdate) {
      try {
        const parsedDate = parseDate(personData.birthdate);
        if (parsedDate) {
          const birthday = People.newBirthday();
          const date = People.newDate();

          date.year = parsedDate.year || null;
          date.month = parsedDate.month || null;
          date.day = parsedDate.day || null;

          birthday.date = date;
          updatedContact.birthdays = [birthday];
        } else {
          Logger.log("Warning: Invalid birthdate format: " + personData.birthdate);
        }
      } catch (error) {
        Logger.log("Error setting birthdate: " + error);
        Logger.log("Error Details: " + JSON.stringify(error));
      }
    }
    Logger.log("Contact object BEFORE update: " + JSON.stringify(updatedContact, null, 2));

    var updatePersonFields = "updatePersonFields=names,emailAddresses,phoneNumbers,addresses,organizations,birthdays";
    const finalContact = People.People.updateContact(updatedContact, resourceName, {updatePersonFields: "names,emailAddresses,phoneNumbers,addresses,organizations,birthdays"});
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (3): help will be greatly appreciated
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Zeros-N-Ones
  • Low reputation (1):
Posted by: shimoda

79418986

Date: 2025-02-06 18:29:57
Score: 4
Natty:
Report link

What do you mean about does not load? Do the request fail or do you get the old code?

I'm also wondering if you're using "outputHashing": "all" in angular.json?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What do you mean
  • Low reputation (1):
Posted by: Gugge

79418983

Date: 2025-02-06 18:28:57
Score: 0.5
Natty:
Report link

Forwarding the respective port worked for me e.g. cap run android --forwardPorts 5173:5173

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

79418980

Date: 2025-02-06 18:27:56
Score: 0.5
Natty:
Report link

Problems like this still exist in 2024, and this was the closet post I found to my failing search seeking a way to help me resolve a path with any number of unknown symbolic links. So, I offer my hack leveraging (Get-Item ).Target, working through the syntactic pain, in case it is a helpful starting point for someone else. Note: I only tested with "mklink /d" symbolic folders in the path.

PowerShell command lines to demo resolving input $Path in place ($Path is “resolved” as $Path, $DIR and $DIRs is stolen for scratch space):

$Path,$DIRs=(Resolve-Path $Path).Path.Split("\");
while($null -ne $DIRs){ $DIR,$DIRs=$DIRs; $Path=$Path+"\"+$DIR; $DIR=(Get-Item $Path).Target; if ($DIR.GetType().Name -eq "String[]"){$Path=$DIR[0]}; };

Batch command to use this gets more complex, having to escape some text and demoes here with input/output as %CDResolvePath% since %Path% is reserved in batch context:

for /f "delims=" %%a in (
'powershell -command "$Path,$DIRs=(Resolve-Path '"%CDPathResolved:)=^^^)%'").Path.Split('"\'");
while($null -ne $DIRs){ $DIR,$DIRs=$DIRs; $Path=$Path+'"\'"+$DIR; $DIR=(Get-Item $Path).Target; if ($DIR.GetType().Name -eq '"String[]'"){$Path=$DIR[0]}; } $Path;"'
) do set "CDPathResolved=%%a"

Batch notes: the “for loop” just gets back the output returned by the “ $Path;” at the end of the PowerShell which is “write-output”. Injection of single quotes are to escape the double quotes and pass them through to Powershell. The batch “String Replace” syntax “:)=^^^)” on the input CDPathResolved is needed to escape and pass Powershell any “)” in a pathname as “^)” since “Program Files (x86)” in file paths broke things.

Use case: I'd a build failing when I was forced to move my Jenkins build project with "mklink /d" to another drive. I worked around by setting my Current Working Path to resolved before kicking off "node.exe", though I later diagnosed that Angular’s "ng https://angular.dev/cli/build" has a handicap addressed by "preserve-symlinks" (or is it “node.exe” that is challenged? I’m not well enough educated on these matter to distinguish, and I don’t care anymore to learn more). So one could contemplate my case to see how my hack applies, but then perhaps even find out about the node/angular switches or some other context may with similar options that might more cleanly work around your case before going down the rabbit hole like me.

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Cris Mooney

79418976

Date: 2025-02-06 18:26:56
Score: 2
Natty:
Report link

The redirect_uri parameter may refer to the OAuth out-of-band (OOB) flow that has been deprecated and is no longer supported. This documentation explains how the redirect_uri determines how Google’s authorization server sends a response to your app. You can also refer to the migration guide for instructions on updating your integration.

Also, I found this post that has the same concern as yours, which might be helpful to you.

Reasons:
  • Blacklisted phrase (1): This document
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: HerPat

79418965

Date: 2025-02-06 18:20:55
Score: 1
Natty:
Report link

for git bash, add/modify like that in c:/Users/YOUR_NAME/.bash_profile:

export PATH="$HOME/AppData/Roaming/pypoetry/venv/Scripts:$PATH"

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

79418959

Date: 2025-02-06 18:17:54
Score: 1
Natty:
Report link

Ok, I found a solution. Instead an otoco trade, I needed an oto one

response = requests.post(f"{base_url}/sapi/v1/margin/order/oto", headers=headers, params=params)

where there is no need to provide a stop loss. So the params would look like this:

params = {
        "symbol": "BTCUSDT",
        "isIsolated": "FALSE",
        "sideEffectType": "MARGIN_BUY",
        "workingType": "LIMIT",
        "workingSide": "BUY",
        "workingPrice": 80000,
        "workingQuantity": 0.0002,
        "workingTimeInForce": "GTC",
        "pendingType": "LIMIT",
        "pendingSide": "SELL",
        "pendingQuantity": 0.0002,
        "pendingPrice": 110000,
        "pendingimeInForce": "GTC",
        'timestamp': int(time.time() * 1000), 
    }

This allows a limit-type as a follow-up order.

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

79418956

Date: 2025-02-06 18:16:54
Score: 1.5
Natty:
Report link

I had the Same Proplem, Just Save your File before Running the Code , Press Ctrl + S and then run the code back in terminal in this form "node code.js" and its going to work inshallah

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: Roiden

79418945

Date: 2025-02-06 18:12:53
Score: 0.5
Natty:
Report link

While the accepted answer works(*), I think that there is a simpler solution:

install.packages(c("ada", "ipred", "evd"))
install.packages("http://cran.r-project.org/src/contrib/Archive/RecordLinkage/RecordLinkage_0.4-1.tar.gz")

That is, install.packages can take a URL, and so you don't need to manually download, install and delete the tarball. However, you do need to manually install the dependencies.

*The original answer was written 4 years ago and now generates this error:

ERROR: dependencies ‘e1071’, ‘RSQLite’, ‘ff’, ‘ffbase’ are not available for package ‘RecordLinkage’
 * removing ‘/Library/Frameworks/R.framework/Versions/4.4-arm64/Resources/library/RecordLinkage’

Presumably this is because the package's dependencies have changed. I get the same error with my solution. Also note that the ffbase package is also now archived.

Reasons:
  • Whitelisted phrase (-2): solution:
  • RegEx Blacklisted phrase (1): I get the same error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I get the same error
Posted by: Ari

79418944

Date: 2025-02-06 18:12:53
Score: 3.5
Natty:
Report link

I have the same problem when running my CLI tools against SAP HANA database using Sap.Data.Hana.Net.v8.0.dll with .Net8.

When PublishingSingleFile=True i got error :

<IncludeNativeLibrariesForSelfExtract>true</IncludeNativeLibrariesForSelfExtract> does not help.

When PublishingSingleFile=False no problem, but i would like to keep a single exe file not hundreds on dlls...

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

79418934

Date: 2025-02-06 18:08:52
Score: 0.5
Natty:
Report link

Fixed the issue.

    try:
        location = pyautogui.locateOnScreen('1.png', confidence=0.9)
        if pyautogui.locateOnScreen('1.png', confidence=0.9):
            call_count = 0
            if pyautogui.locateOnScreen('1.png', confidence=0.9):
                while call_count <= 7:
                    logging.info(call_count)
                    call_count += 1
                if has_restarted:
                    return
        restarting_function(True)
        restarting_function()
    except pyautogui.ImageNotFoundException:
        pass
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: D3AD_SHOT

79418933

Date: 2025-02-06 18:08:52
Score: 1
Natty:
Report link

Browsers use navigator.geolocation, but it's often imprecise because they don't access GPS directly. Instead, they rely on:

Wi-Fi networks (accuracy depends on external databases). Cell towers (less precise, can be off by hundreds of meters). IP address (very inaccurate, can be off by kilometers)

Because browsers don’t have direct GPS access, no JavaScript library can guarantee pinpoint accuracy. I faced this challenge in one project, and I just drew squares in my database. This doesn’t solve the problem but can be useful in some situations. You could also develop a phone app, as the phone app provides better accuracy if the user grants the permissions."

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

79418931

Date: 2025-02-06 18:07:52
Score: 0.5
Natty:
Report link

I had the same problem, but in reverse. My setup project insisted on compiling as "x86" and I couldn't make it change to "x64".

I just got the answer from Stack Overflow.

Why does the Visual Studio setup project always build as x86

Left-click on the setup project file, then look in the properties window. You can set the target platform for the installation there.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Francine DeGrood Taylor

79418927

Date: 2025-02-06 18:06:51
Score: 1
Natty:
Report link

More of a workaround, but you can try installing it via conda as well.

conda install pandas

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

79418906

Date: 2025-02-06 18:00:49
Score: 4.5
Natty:
Report link

I am facing a similar problem. The issue lies where the github:repo:push action uses a helper that initializes a git repo, https://github.com/backstage/backstage/blob/master/plugins/scaffolder-backend-module-github/src/actions/github.ts#L275, and uses this helper function here: https://github.com/backstage/backstage/blob/master/plugins/scaffolder-node/src/actions/gitHelpers.ts#L49-L52 My suggestion is to follow the GitHub issue https://github.com/backstage/backstage/issues/28749 to allow an action like: github:branch:push.

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I am facing a similar problem
  • Low reputation (1):
Posted by: Michael Foster

79418897

Date: 2025-02-06 17:56:48
Score: 1
Natty:
Report link

Hello everyone 👋 so I recently had my Facebook account hacked, which was frustrating and disappointing. Unfortunately, Meta doesn't have a dedicated support team, despite many accounts being compromised daily. Fortunately, I managed to contact a member of the Meta recovery department, @ Rothsteincode, through X formally known as Twitter, and Gmail. [email protected] They helped me regain access to my account. I'm grateful for their assistance, but I believe Meta needs to improve their security measures and provide better support for users.

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

79418894

Date: 2025-02-06 17:54:47
Score: 9
Natty: 7
Report link

I am trying to fetch cpu % using jtopenlite, however I am getting cpu % as zero for all the jobs? Can someone pls help here?

Reasons:
  • Blacklisted phrase (1): I am trying to
  • RegEx Blacklisted phrase (3): pls help
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Poojan Shah

79418892

Date: 2025-02-06 17:53:47
Score: 2.5
Natty:
Report link

I ended up changing my user interface to use a tab controller and searching the separate algolia indexes in their own respective tabs. My repository and notifiers are essentially the same as the posted code other than adding an 'indexName' parameter and removing one of the HitsSearchers in the search function. I'm still not sure why the code in my question doesn't work as I thought it should, but for now this update has solved my issue.

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

79418890

Date: 2025-02-06 17:53:47
Score: 0.5
Natty:
Report link

Not the best answer but at least so you can test that you converter works you can force it:

var options = new JsonSerializerOptions();
options.Converters.Add(new FooConverter());

var foo = JsonSerializer.Deserialize<Foo>(json, options);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: CaseyHofland

79418875

Date: 2025-02-06 17:47:45
Score: 1
Natty:
Report link

I had the same issue and couldn't figure out what was going on. I tried all the settings mentioned here and on other posts. But it made no difference. In the end I disabled and re-enabled Pylance and that fixed it. Just in case that's of use to anyone else struggling with this.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Laurence Veitch

79418874

Date: 2025-02-06 17:47:45
Score: 2.5
Natty:
Report link

This is a big issue today, specially for big codebase projects. Flutter lint for example is automatic for all the project, even if files are closed

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

79418848

Date: 2025-02-06 17:37:42
Score: 6 🚩
Natty:
Report link

was the bug really solved? I added the /bin folder to the MANIFEST but it seems like only the cannot load class problem is solved. The NullPointer Bug still exists.

Reasons:
  • RegEx Blacklisted phrase (1.5): solved?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): was the
  • Low reputation (1):
Posted by: Ingrid

79418844

Date: 2025-02-06 17:36:42
Score: 1.5
Natty:
Report link

Make sure to include "storage" in the manifest file specifically in the permission section:

"permissions": ["storage"]

Hope that would help.

More detail in here.

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

79418836

Date: 2025-02-06 17:32:40
Score: 4
Natty: 4.5
Report link

I think this will help you, yes i know its a old post, but~ for others maybe.

https://github.com/Makunia/Googleform-to-Discord-Webhook-Post-Thread/blob/main/Googleform.js

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

79418834

Date: 2025-02-06 17:31:40
Score: 1.5
Natty:
Report link

It seems there is a parser and formatter compliance between .Net framework and .NET (or .Net Core). .NET uses the standard IEEE 754-2008 it seems.

I've tried your code in .Net framework and .NET (from 3.1 onwards) it behaves as you mentioned.

The reason is already answered in the below stackoverflow question: Rounding issues .Net Core 3.1 vs. .Net Core 2.0/.Net Framework

Hope this helps!

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): Hope this helps
  • No code block (0.5):
  • Low reputation (1):
Posted by: Francis

79418826

Date: 2025-02-06 17:30:39
Score: 3
Natty:
Report link

Thank you for sharing this! I've been working on this all afternoon. Creating a new FieldIdentifier was the missing part for me to get validation to re-fire!!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Flinkman

79418815

Date: 2025-02-06 17:26:39
Score: 2
Natty:
Report link

I just created a simple tool using Node.Js to run locally to test opengraph data.

Github Repo, Live Preview

It has a live preview

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: alianjum0