79144351

Date: 2024-10-31 10:34:21
Score: 3
Natty:
Report link

The problem is that needs to be blank, not forward-slash. We've just had the same problem with an assembly that worked on Windows, but not when we came to use it on Linux. This was with assembly-plugin version 2.2-beta-5.

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

79144346

Date: 2024-10-31 10:32:21
Score: 3
Natty:
Report link

You can refer this repo where I just tried to execute simple test in github actions with dockerfile.

Additional note : I faced chrome crashing error when I passed headless and disable gpu but after passing no-sandbox option, issue not occurred.

You can check with Actions run details in same repo

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

79144335

Date: 2024-10-31 10:29:20
Score: 1.5
Natty:
Report link

I know lambda functions are prohibited by PEP8, but when I locally need it, I sometimes use

torch_geom = lambda t, *a, **kw: t.log().mean(*a, **kw).exp()  # Geometric mean
torch_harm = lambda t, *a, **kw: 1 / (1 / t).mean(*a, **kw)  # Harmonic mean
...

I find that it is a neat little way of getting what I want with a syntax matching that of pre-existing functions like torch.mean etc...

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ego-thales

79144332

Date: 2024-10-31 10:28:20
Score: 0.5
Natty:
Report link

You can't use cy.log() inside a beforeLoad and onLoad event handler. Instead you must use Cypress.log().

See this page of the documentation

cy.visit('https://teams.microsoft.com', {
  onBeforeLoad: (win) => {
    Cypress.log({displayName: 'visit', message: '🔄 Page starting to load'});
  },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: E.Swallow

79144330

Date: 2024-10-31 10:28:20
Score: 2.5
Natty:
Report link

For me, using Laravel 11 with Inertia, I was forgetting to run npm run dev.

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

79144323

Date: 2024-10-31 10:26:19
Score: 1
Natty:
Report link

Using MainActor.assumeIsolated is good solution because awakeFromNib is a UI related function so It will be surely run on Main Thread. Don't call addContentView in Task because it will run asynchronous

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

79144318

Date: 2024-10-31 10:24:16
Score: 9 🚩
Natty: 5
Report link

having similar issue, however the sendgrid act like everything was passed fineenter image description here The real email wasnt updated bcs not able to fresh the dynamic template. I belive i can try in some time later. Any help?

Reasons:
  • Blacklisted phrase (1): Any help
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having similar issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Semen Pasku

79144317

Date: 2024-10-31 10:23:16
Score: 1
Natty:
Report link

In order to communicate with the backend securely, the SSL certificate of the backend needs to be imported into the WSO2 keystore.

To accomplish this, follow Importing SSL certificates to a keystore, a section in WSO2 documentation that provides the step-by-step process of importing the certificate correctly into the keystore used by WSO2.

Importing SSL certificates to a keystore

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Oussama Nairi

79144316

Date: 2024-10-31 10:23:16
Score: 0.5
Natty:
Report link

finally i found the answer, we can use read method to do it

def read(self, cr, uid, ids, fields=None, context=None, load='_classic_read'):
    res = super(inspection, self).read(cr, uid, ids, fields, context=context, load=load)
    if len(res) == 1:
        cr.execute('select id from inspection_category')
        categories = [int(c[0]) for c in cr.fetchall()]
        for ce in categories:
            res[0]['category_id_'+str(ce)] = True
    return res
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fares Izem

79144314

Date: 2024-10-31 10:22:15
Score: 1.5
Natty:
Report link

It will affect the speed of filtering on a "title" field. For example, if you want to introduce some combinations of vector and keyword search, aka you have some keyword (brand name) in a title, and you want to filter it with Qdrant's filtering mechanisms, it makes sense to index the payload field. (more here: https://qdrant.tech/articles/vector-search-filtering/)

Indexing the payload field won't affect the speed of vector search, though, which you're performing now, as I got it:)

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

79144312

Date: 2024-10-31 10:21:15
Score: 1.5
Natty:
Report link

I would suggest checking out ToQueryString to compare the differences between queries in .NET 6 and .NET 8. Then compare the query execution plans by using something like SQL Management Studio (Depending on the database).

Check answer: https://stackoverflow.com/a/77750594/6866338 for more information, on how to set the CompatibilityLevel to change the way that EF Core generates it's queries.

Also maybe an interesting Github issue that might help: https://github.com/dotnet/efcore/issues/32394

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tim Lange

79144298

Date: 2024-10-31 10:19:15
Score: 1.5
Natty:
Report link

You can update your table with append mode using many of the google sheets extensions from the marketplace.

Like THIS one for example from OWOX Analytics (also with the overwrite option) or another one from Max Makhrov, a Google Sheets / Apps Script Expert.

Both of them come 100% free for Upload data from Sheets to BigQuery so far.

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

79144295

Date: 2024-10-31 10:18:14
Score: 3
Natty:
Report link

Ladybug has a lot of bugs. Downgrade to koala to make it work unless they fix ladybug.

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

79144269

Date: 2024-10-31 10:07:11
Score: 4
Natty: 4
Report link

Use command like first define clear then use the command saying command=clear

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

79144263

Date: 2024-10-31 10:06:10
Score: 2
Natty:
Report link

I faced the same problem but disabling antivirus didn't help. However, after visiting my Avast Antivirus table I noticed that the server.php file had been quarantined. I therefore restored and added it as an exception. And now my server is up with no errors

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

79144242

Date: 2024-10-31 10:00:09
Score: 3.5
Natty:
Report link

I had not added portainer to the public network , it was just part of ingress network and agent-portainer network. When I added to public network it became accessible

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

79144239

Date: 2024-10-31 09:59:09
Score: 2
Natty:
Report link

Look, Firebase is asking you a google account because Google cloud is made by google and firebase is based on google cloud, just like how vercel is based on AWS (Amazon Web services). So, it is not possible to deploy on google cloud without a google account, and same goes for firebase as it also having gemini and more of techincal google stuff/products. So you need to sign up for those products

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

79144228

Date: 2024-10-31 09:57:08
Score: 3
Natty:
Report link

The solution turns out to be nice and obvious [in retrospect]... and tested in Firefox, Chromium, Edge, and Polypane.

pen updated....

I also note that Kevin Powell has published a partially related video: https://www.youtube.com/watch?v=Vzj3jSUbMtI

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: CodeGorilla

79144226

Date: 2024-10-31 09:57:08
Score: 1
Natty:
Report link

I actually figured it out. The issue was permissions. The owner of ws1 didn't have any permissions on anything in ws2. We tried with Viewer to no avail, but Contributor on the Lakehouse was the thing that made it work.

So, to sum up the shortcut will have the same permissions as the user who owns the item that the shortcut is made from. I hope this will help others who runs into this problem.

Reasons:
  • Whitelisted phrase (-1): hope this will help
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cdj_unitit

79144223

Date: 2024-10-31 09:56:08
Score: 0.5
Natty:
Report link

The error message you’re encountering suggests that the id field in your Validation model is not being set correctly when you try to create a new instance. Since you’ve specified that the id field is a BigAutoField, it should auto-increment and not require a manual value.

Here are some things to check and consider:

  1. Review the Validation Model Your Validation model appears to be set up correctly to auto-generate an id. However, if you have previously altered the table schema directly in the database or if there were issues with migrations, it could lead to unexpected behavior. Make sure your database schema aligns with your model definitions.

  2. Database Migration Ensure that your migrations are properly applied. Sometimes, after altering models, you may need to recreate your migrations. Run the following commands:

bash code: python manage.py makemigrations python manage.py migrate

  1. Check for Existing Data If you've previously inserted data into the validation table without the id column being set correctly, it could cause issues. You might want to check the existing records in the validation table. You can reset the id sequence using the following SQL command in pgAdmin:

SQL code: SELECT setval('validation_id_seq', (SELECT MAX(id) FROM validation));

Make sure the sequence name is correct. If validation_id_seq is not the correct name, you can find the actual sequence name using the following query:

SQL code: SELECT * FROM pg_sequences WHERE schemaname = 'public';

  1. Verify Model Creation When you create an instance of the Validation model, ensure you are not inadvertently overriding the id field. Here’s the relevant part of your register_view:

python code: Validation.objects.create(user=user, token=token, expired=timezone.now() + timezone.timedelta(hours=1))

This code should work fine if the Validation model is set up correctly. If you are still encountering issues, consider trying this alternative way of creating the object:

python code: validation_instance = Validation(user=user, token=token, expired=timezone.now() + timezone.timedelta(hours=1)) validation_instance.save()

  1. Check the Database Directly If issues persist, connect to your database using pgAdmin and inspect the validation table structure. Ensure that the id column is defined as a BigSerial (or equivalent) type, which auto-increments.

  2. Clean the Database (if necessary) If the validation table has data that conflicts with your model definition, and if it's feasible, you may want to delete any conflicting rows or even drop the table and recreate it. Note: This is destructive, so make sure you have backups or are working in a development environment.

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

79144221

Date: 2024-10-31 09:55:08
Score: 2.5
Natty:
Report link

I came across this thread as I needed JPEG quality estimation myself. After some tests with the Python port of the ImageMagick heuristic that @eddygeek posted here earlier, I ultimately went for a slightly different approach based on least squares matching of an image's quantization tables with the "standard" JPEG tables. See code here:

https://github.com/KBNLresearch/jpeg-quality-demo/blob/main/jpegquality-lsm.py

This also reports a metric that characterizes how similar the image's quantization tables are to the "standard" tables, which is useful as a measure of confidence (in general the quality estimates will become less reliable as the quantization tables deviate more from the standard tables).

See below blog post for an in-depth discussion of the method, and some tests I did with it (including a comparison with the ImageMagick heuristic):

https://www.bitsgalore.org/2024/10/30/jpeg-quality-estimation-using-simple-least-squares-matching-of-quantization-tables

My tests showed this can give quite different results than the ImageMagick heuristic, but the quality estimates are very close (and mostly identical) to those provided by the FotoForensics service.

Note that the code code requires a recent (if I'm not mistaken 8.3 or more recent) version of Pillow, see the note at the end of the blog post.

For some additional context, this blog post covers some of the problems I ran into with the ImageMagick heuristic (and this also led me to create my alternative implementation).

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @eddygeek
  • Low reputation (0.5):
Posted by: johan

79144217

Date: 2024-10-31 09:54:07
Score: 4.5
Natty:
Report link

https://github.com/langchain-ai/langchain/issues/26026

Seems like this is a known problem but not resolved

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

79144214

Date: 2024-10-31 09:53:07
Score: 2
Natty:
Report link

useFieldArray should be used with a name structured as "services". Then, register each item in the array as services[i].id, where i is the index. React server actions expect data in a form-compatible format, so use JSON.stringify() to serialize the array and handle deserialization on the server.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md Mohosin Ali Shah

79144213

Date: 2024-10-31 09:53:07
Score: 1.5
Natty:
Report link

Problem solved by commenting out below line in nginx.conf:

listen       [::]:80;
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Mahbub Rahman

79144210

Date: 2024-10-31 09:53:07
Score: 1.5
Natty:
Report link

After months of troubleshooting, sleepless nights, countless open tabs, and help from ChatGPT, I finally found a solution to this messed up Exception error in Flutter for Android emulators! Although fixing it led to a new (and thankfully simpler) issue, this initial hurdle was by far the most challenging. Here's the full process I followed to resolve it: Step 1: Run Flutter Doctor Start by running flutter doctor to diagnose your environment and identify any missing components or issues. This command helps you understand which dependencies need to be installed or configured.

Step 2: Install cmdline-tools One of the key steps was to install Android’s cmdline-tools, as it was missing from the SDK.

  1. Download cmdline-tools from the official Android SDK page or through your Android SDK manager.
  2. Place the downloaded cmdline-tools folder in the following location within your SDK directory: makefile

C:\Users\YourUsername\AppData\Local\Android\Sdk\cmdline-tools\latest 3. Ensure that the bin directory within cmdline-tools is added to your system’s Path environment variable: makefile

C:\Users\YourUsername\AppData\Local\Android\Sdk\cmdline-tools\latest\bin Step 3: Accept Android Licenses After setting up cmdline-tools, navigate to the bin directory and accept the Android SDK licenses. Use the command: bash flutter doctor --android-licenses This step ensures that all necessary Android licenses are accepted, which is critical for running Android emulators and building apps. Step 4: Configure Java Ensure your Java Development Kit (JDK) version is compatible with both Flutter and Android:

  1. Install JDK 17 (which is compatible with Flutter). You can download it from the Oracle JDK page or use open-source options like Adoptium.
  2. Set the JAVA_HOME environment variable to point to your JDK 17 installation, e.g., C:\Program Files\Java\jdk-17.
  3. Edit your Path to ensure that the JDK 17 bin directory is the first Java path listed. To verify, restart your command prompt and run: bash

java -version This should return Java 17. Step 5: Run Flutter Again After setting up cmdline-tools, accepting licenses, and configuring Java, try running your Flutter code on the Android emulator. With everything correctly set up, the emulator should run without the original connection error.

The major Issue Im facing currently is this: ERROR: JAVA_HOME is set to an invalid directory: =C:\Program Files\Java\jdk-22

Please set the JAVA_HOME variable in your environment to match the location of your Java installation. Running Gradle task 'assembleDebug'... 243ms Error: Gradle task assembleDebug failed with exit code 1

And I've tried everything

Reasons:
  • Blacklisted phrase (1): ve tried everything
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: shizzleclover

79144209

Date: 2024-10-31 09:53:04
Score: 7.5 🚩
Natty:
Report link

I faced the same issue, also need help, have you fixed the issue? enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (1.5): fixed the issue?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Allan Hua

79144207

Date: 2024-10-31 09:52:04
Score: 1
Natty:
Report link

This is based on @mike-rosoft's answer, in case someone still ends up here. The Timeout property is not available anymore from the LookupClient object in later versions of DnsClient. Instead, use this:

        using DnsClient;

        var lookupOptions = new LookupClientOptions(new[] { IPAddress.Parse("8.8.4.4"), IPAddress.Parse("8.8.8.8") })
        {
            Timeout = TimeSpan.FromSeconds(5)
        };
        var lookup = new LookupClient(lookupOptions);
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @mike-rosoft's
  • Low reputation (0.5):
Posted by: Aileron79

79144206

Date: 2024-10-31 09:52:04
Score: 2.5
Natty:
Report link

You can convert row data to column in PHP using functions like array_map() or looping through arrays to restructure the data. By the way, a diploma for IT can deepen your skills in tasks like these!

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

79144201

Date: 2024-10-31 09:51:03
Score: 0.5
Natty:
Report link
<!DOCTYPE html>
<html>
    <head>
        <script language="javascript" type="text/javascript">
           var button = document.getElementById("txt");
           var color = document.getElementById("word").style.color

             function changeColor(color) {
                  color = "blue";
                     };
                button.onclick = changeColor();
        </script>
    </head>
<body>
<h1 id="word">Hello world</h1>
<button id="txt" onclick="changeColor()">Click here</button>
</body>
</html> 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: bob

79144194

Date: 2024-10-31 09:50:03
Score: 2
Natty:
Report link

Another option is to check the subscription expiryTime. Currently, when a new subscription is created, and the user is eligible for a Free Trial, the expiryTime will initially be the Free Trial end date and not the subscription end date. Once the subscription passed the Free Trial end date the expiryTime will be updated to the actual subscription expiry date.

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

79144185

Date: 2024-10-31 09:47:03
Score: 2.5
Natty:
Report link

As viewed with @sweeper in comments, the built-in version of kotlinc-jvm used by the 2024 Intellij version is 1.9.24 that seemes to have a different compilation behavior for the delegation.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @sweeper
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Benjamin Jalon

79144182

Date: 2024-10-31 09:46:02
Score: 0.5
Natty:
Report link

flag = True

start = input('Для начала работы введите команду start \n') if start.lower() == 'start': while True:

 print("Я Ваш помощник. Выберите математический оператор: [+] [-] [*] [/] [sin] [cos] [tan] [cotan]")

operator = input("Введите оператор: ")

if operator in ["sin", "cos", "tan", "cotan"]:
    number = float(input("Введите число: "))
    if operator == "sin":
        print("Результат sin:", math.sin(math.radians(number)))
    elif operator == "cos":
        print("Результат cos:", math.cos(math.radians(number)))
    elif operator == "tan":
        print("Результат tan:", math.tan(math.radians(number)))
    elif operator == "cotan":
        if math.tan(math.radians(number)) != 0:
            print("Результат cotan:", math.tan(math.radians(number)))
        else:
            print("Ошибка: cotan не определен для этого значения.")
else:
    number1 = float(input("Введите первое число: "))
    number2 = float(input("Введите второе число: "))

    if operator == "+":
        print("Результат суммы:", number1 + number2)
    elif operator == "-":
        print("Результат вычитания:", number1 - number2)
    elif operator == "*":
        print("Результат умножения:", number1 * number2)
    elif operator == "/":
        if number2 != 0:
            print("Результат деления:", number1 / number2)
        else:
            print("Ошибка: деление на ноль невозможно.")
    else:
        print("Неверный оператор. Попробуйте снова.")
   

print("Выход из программы.")
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: user28073512

79144178

Date: 2024-10-31 09:45:02
Score: 1.5
Natty:
Report link

In case you're using ops4j/pax.url, the configuration in settings.xml is slightly different from maven-resolver-transport-http:

<server>
    <id>my-server</id>
    <configuration>
        <httpHeaders>
            <httpHeader>
                <name>Authorization</name>
                <value>Bearer TOKEN</value>
            </httpHeader>
        </httpHeaders>
    </configuration>
</server>

source: https://github.com/ops4j/org.ops4j.pax.url

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

79144175

Date: 2024-10-31 09:45:02
Score: 2.5
Natty:
Report link

I've been running into the same problem. Only solution I found uses git branches as "sub-environments" to "inherit" packages from the "master" environment.

Solution can be found here.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Guillem Barta Gonzalez

79144170

Date: 2024-10-31 09:43:01
Score: 2
Natty:
Report link

Every time when I launch a job, it seeks 0th Offset. So, I am getting messages from beginning. Is this a bug?

Since Aug 2020, you could use partitionOffsets on the builder to tell the reader that it should start reading from the offset stored in Kafka for the consumer group ID

return new KafkaItemReaderBuilder<String, String>()
    .partitions(0)
    .consumerProperties(props)
    .name("customers-reader")
    .saveState(true)
    .topic("test-consumer")
    .partitionOffsets(new HashMap<>()) // <--- here
    .build();

see this link

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Zaroual Mohamed

79144169

Date: 2024-10-31 09:43:01
Score: 1
Natty:
Report link

Instead of using sys.path.append you can directly navigate using %cd. This approach is simpler and keeps the code cleaner:

%cd App/TheTransporter-main/
!./TheTransporter --version

(In a single code block)

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

79144168

Date: 2024-10-31 09:43:01
Score: 1.5
Natty:
Report link

Remember to config "typeRoots" in tsconfig.json

{
    "compilerOptions": 
    {
        "typeRoots": ["./src/types", "./node_modules/@types"], 
    }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Thương Trịnh Vân

79144167

Date: 2024-10-31 09:43:01
Score: 4
Natty: 4
Report link

My issue in Windows 11 got fixed when I gave permission to write to users.

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

79144166

Date: 2024-10-31 09:42:00
Score: 14
Natty: 7
Report link

I am facing the same issue with the new project i just created. Did you manage to find any solution?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you manage to find any solution
  • RegEx Blacklisted phrase (2): any solution?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdullah Jaspal

79144154

Date: 2024-10-31 09:39:00
Score: 2
Natty:
Report link

The SHA-512 for the integrity field in package-lock.json guarantees package security and consistency across all the deployments. Otherwise there will be lots of security break-ins for your deployments

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

79144141

Date: 2024-10-31 09:33:58
Score: 2
Natty:
Report link

When it comes to online betting games, security is a top priority. Ensuring that the platforms you use implement strong encryption and authentication measures is essential. Sites like https://casinos-mate.com/ are known for their reliable security practices, protecting users' personal data and financial information. As a developer, you should focus on integrating robust security protocols into the design of betting platforms. This includes SSL certificates, two-factor authentication, and regular security audits to keep the system secure from potential threats.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When it
  • Low reputation (1):
Posted by: Car Hai bhai

79144123

Date: 2024-10-31 09:29:57
Score: 4
Natty:
Report link

Api endpoints not working in my browser only

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

79144121

Date: 2024-10-31 09:29:57
Score: 1
Natty:
Report link

All the solutions didnt work for me.

I got it to work in the end, by hiding all borders of the table, and making a cell-class with borders. All Cells get the class with borders. Except the ones in the Rows that should be displayed without borders.

Hope that helps someone.

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

79144119

Date: 2024-10-31 09:27:57
Score: 1.5
Natty:
Report link

Update your env.ts in the sanity file like this first

export const apiVersion = process.env.NEXT_PUBLIC_SANITY_API_VERSION || '2024-09-30'

export const dataset = assertValue( process.env.SANITY_STUDIO_DATASET || process.env.NEXT_PUBLIC_SANITY_STUDIO_DATASET, 'Missing environment variable: SANITY_STUDIO_DATASET or NEXT_PUBLIC_SANITY_STUDIO_DATASET' )

export const projectId = assertValue( process.env.SANITY_STUDIO_PROJECT_ID || process.env.NEXT_PUBLIC_SANITY_PROJECT_ID, 'Missing environment variable: SANITY_STUDIO_PROJECT_ID or NEXT_PUBLIC_SANITY_PROJECT_ID' )

function assertValue(v: T | undefined, errorMessage: string): T { if (v === undefined) { throw new Error(errorMessage)

}

return v }


And in your env.local and the .env file write :

SANITY_STUDIO_DATASET=production

SANITY_STUDIO_PROJECT_ID=*********

NEXT_PUBLIC_SANITY_STUDIO_DATASET=production

NEXT_PUBLIC_SANITY_PROJECT_ID=**********

After thoses changes you will not get that error again

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Filler text (0.5): *********
  • Filler text (0): **********
  • Low reputation (1):
Posted by: Mohamed ali Hammami

79144111

Date: 2024-10-31 09:26:57
Score: 2
Natty:
Report link

I'm a beginner with pyautogui and I had same issue that pyautogui.hotkey not working as expected but I found out that you can do pretty much the same thing with keyDown and keyUp

# Press Windows + Up Arrow
pyautogui.keyDown("winleft")   # Press Windows key
pyautogui.press("up")          # Press Up Arrow key
pyautogui.keyUp("winleft")     # Release Windows key

and then you can write your own hotkey function

# my hotkey function
def press_hotkey(key1, key2):
    pyautogui.keyDown(key1)        # Press first key
    pyautogui.press(key2)          # Press second key
    pyautogui.keyUp(key1)          # Release first key
Reasons:
  • RegEx Blacklisted phrase (2): I'm a beginner
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ahmed Salah

79144109

Date: 2024-10-31 09:25:57
Score: 3
Natty:
Report link

Moved column object into a custom hook where I got the access to t hook from i18n. Futher refactor required but at lteast it works.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Александр Прошанов

79144105

Date: 2024-10-31 09:24:56
Score: 1
Natty:
Report link

In my case, the cause is one chrome plugin.

You can enter incognito window by cmd + shift + N, check if the problem disappear

incognito window is a envriment without chrome plugins

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

79144097

Date: 2024-10-31 09:21:56
Score: 1
Natty:
Report link

Android Studio 2024(Koala) - (Rename package from A.B.Name to A.B.C.Name)

Things changed slightly between versions - so this will probably only be relevant for Android Studio - Koala

  1. Make a complete backup of your project as it is (I tried multiple times before finding a working solution)

  2. Create a new package in the main folder with the name you would like to use: (Convention is to use your website address in reverse) Add your new package

  3. Select the main directory for your new package:

Pick main directory

  1. Type your new package name and press enter.

Enter new package name

  1. Select the contents of your existing package and drag it to the new one:

Drag existing contents to new package

  1. Confirm the move:

Confirm the move

  1. If you have multiple folders, after the move it might come up with the same move window again and selecting ok might show an error. Just close this window.

Close move window

  1. Next delete the old package (the old package should be empty by now)

Delete old package

  1. Next select the top folder of the project

Select top folder

  1. Click on Edit->Find->Replace in Files

Find and replace

  1. Type your old package name at the top (you might need to use escape characters), your new package name and then select replace all

Replace old package name

  1. Clean your build next

Clean project build

  1. Invalidate the cache and restart

Invalidate cache

Invalidate and restart

  1. Finally if you are using a development device, delete the previous installation from the old device before running debug again.
Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Assay

79144090

Date: 2024-10-31 09:19:55
Score: 4.5
Natty:
Report link

I keep getting errors like this one: instagram keeps logout

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

79144086

Date: 2024-10-31 09:18:54
Score: 2.5
Natty:
Report link

Simply go to this Link "https://central.sonatype.com/artifact/com.github.mhiew/android-pdf-viewer/versions" and download .aar file from here and paste in libs folder. then add this in biuld.properties files "android.enableJetifier=true" after that you just simply add this library "implementation("com.github.barteksc:pdfium-android:1.9.0") don't forget to add this line in proguardrules" sync and use the library.

Reasons:
  • Blacklisted phrase (1): this Link
  • No code block (0.5):
  • Low reputation (1):
Posted by: Waqas Mughal

79144077

Date: 2024-10-31 09:14:53
Score: 4.5
Natty: 4.5
Report link

Considering that an AI model should generalize on the inputs, in this case, where you metadata is about which machine the time series come from (supposing you are maybe using simply an ID for each machine) how would the model to generalize on unknown machines?

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

79144076

Date: 2024-10-31 09:14:53
Score: 0.5
Natty:
Report link

On my case, Gradle 8.4, AGP 8.3.0
I MUST make the 'Application.mk' ahead of 'Android.mk', like this

ndkBuild {
            path file('src/main/wrapper/jni/Application.mk')
            path file('src/main/wrapper/jni/Android.mk')
        }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tombear

79144067

Date: 2024-10-31 09:13:52
Score: 1.5
Natty:
Report link

If you are using Vite, you can use css modules while retaining semantic classnames. See here

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: quentinkrammer

79144063

Date: 2024-10-31 09:12:52
Score: 0.5
Natty:
Report link

The following works well for Obsidian users, and will probably work well for Notion and similar tools...

In general you're in editing mode. When you copy in this mode, you're copying plain text. There is no "paste as Markdown text" in Teams (though it'd be a great feature!)

show obsidian editing mode

If you switch to "reading mode" and then copy, you're copying HTML can be pasted into Teams.

enter image description here

It works pretty well. Some code fence blocks don’t seem to come through perfectly, but overall not bad.

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Andrew E

79144050

Date: 2024-10-31 09:09:52
Score: 1
Natty:
Report link

this can be done in a one liner:

printf "%-30s %s\n" "NODE_NAME" "POD_ALLOCATION" && kubectl get nodes -o name | xargs -I {} bash -c 'count=$(kubectl get pods --all-namespaces --field-selector spec.nodeName=$(echo {} | cut -d/ -f2) -o json | jq ".items | length"); capacity=$(kubectl get {} -o jsonpath="{.status.capacity.pods}"); printf "%-30s %s/%s\n" "$(echo {} | cut -d/ -f2)" "$count" "$capacity"'
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: vrabbi

79144044

Date: 2024-10-31 09:08:51
Score: 2.5
Natty:
Report link

You can remove next/core-web-vitals, and it will work. I spent four hours because of this.

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

79144039

Date: 2024-10-31 09:06:50
Score: 4
Natty: 5
Report link

thanks guys for sharing this informations

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Abdellah karani

79144034

Date: 2024-10-31 09:03:49
Score: 1.5
Natty:
Report link

You can also make a bash script, for example:

#!/usr/bin/env bash

cat path/to/localfile.xml | xml2json | jq .

and then import the output json to your node project.

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

79144030

Date: 2024-10-31 09:02:49
Score: 1.5
Natty:
Report link

Try setting SDKROOT explicitly to the system SDK:

export SDKROOT=$(xcrun --sdk macosx --show-sdk-path)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: yared ts

79144018

Date: 2024-10-31 08:58:48
Score: 0.5
Natty:
Report link

I think i found a solution here:

These are the steps to do:

git clone https://github.com/shazamio/shazamio-core.git
cd shazamio-core
git switch --detach 1.0.7 (OR git switch --detach 1.0.7)
python -m pip install .
pip install shazamio

Then the installation was possible on Mac

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

79144017

Date: 2024-10-31 08:58:48
Score: 4
Natty: 5
Report link

https://developers.google.com/ar/devices

Device must be supported and it is not on the list

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

79144012

Date: 2024-10-31 08:56:47
Score: 0.5
Natty:
Report link

The message may be unavailable is a message. I often saw when engaging with the Meta App Dashboard with an be accessed at developers.facebook.com/apps However, this never prevented me from sending messages to an added recipient list which has a maximum of 5 using the test number.

To resolve this issue of messaging may be unavaiable. THere are couple of things that needs to be resolved such as:

If it is not resolved you can go futher and ask from assist ance from Meta Developer community (https://developers.facebook.com/community/) or Facebook developer support wihcih never responds to technical issues (https://developers.facebook.com/support/) or report a Bug on (https://developers.facebook.com/support/bugs/)

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

79144011

Date: 2024-10-31 08:56:47
Score: 2.5
Natty:
Report link

redisTemplate.opsForSet().members.This is the syntax of 'set' rather than the syntax of 'str'. redisTemplate.opsForHash().get.This syntax does not support fuzzy matching.

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

79144010

Date: 2024-10-31 08:56:47
Score: 5
Natty: 5
Report link

have you solve the problem yet ? , i meet the same issue with Undefined array key "qos", add '0' didn't work. Thanks for reading

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1.5): solve the problem yet ?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Hùng Nguyễn

79144009

Date: 2024-10-31 08:55:47
Score: 0.5
Natty:
Report link

▶️ 𝗷𝗮𝘃𝗮𝘅.𝗽𝗲𝗿𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝗲.𝗘𝗻𝘁𝗶𝘁𝘆 𝘃𝘀. 𝗷𝗮𝗸𝗮𝗿𝘁𝗮.𝗽𝗲𝗿𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝗲.𝗘𝗻𝘁𝗶𝘁𝘆 javax.persistence.Entity and jakarta.persistence.Entity are annotations used to mark a class as a JPA entity, a concept that remains unchanged across the namespace shift. However, the package differences reflect their belonging to two separate API versions: ➡️javax.persistence.Entity: Part of the original JPA API in Java EE (Java Persistence API 2.x). ➡️ jakarta.persistence.Entity: Part of the updated JPA API in Jakarta 𝗦𝘁𝗲𝗽𝘀 𝘁𝗼 𝗥𝗲𝘀𝗼𝗹𝘃𝗲 𝗷𝗮𝘃𝗮𝘅.𝗽𝗲𝗿𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝗲.𝗘𝗻𝘁𝗶𝘁𝘆 𝗜𝘀𝘀𝘂𝗲𝘀 𝗜𝗳 𝗷𝗮𝘃𝗮𝘅.𝗽𝗲𝗿𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝗲.𝗘𝗻𝘁𝗶𝘁𝘆 𝗶𝘀 𝗻𝗼𝘁 𝘀𝗵𝗼𝘄𝗶𝗻𝗴 𝗶𝗻 𝘆𝗼𝘂𝗿 𝗮𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻, 𝗰𝗼𝗻𝘀𝗶𝗱𝗲𝗿 𝘁𝗵𝗲𝘀𝗲 𝗮𝗽𝗽𝗿𝗼𝗮𝗰𝗵𝗲𝘀 𝘁𝗼 𝗿𝗲𝘀𝘁𝗼𝗿𝗲 𝗰𝗼𝗺𝗽𝗮𝘁𝗶𝗯𝗶𝗹𝗶𝘁𝘆:

👉𝗧𝗿𝗮𝗻𝘀𝗶𝘁𝗶𝗼𝗻 𝘁𝗼 𝗷𝗮𝗸𝗮𝗿𝘁𝗮.𝗽𝗲𝗿𝘀𝗶𝘀𝘁𝗲𝗻𝗰𝗲.𝗘𝗻𝘁𝗶𝘁𝘆:

If you’re building a new application or can afford to update your codebase, migrating to jakarta.persistence.Entity is recommended for long-term compatibility. Update your pom.xml or build.gradle dependencies to include Jakarta EE (version 9 or above) instead of Java EE. Use a Jakarta Compatibility Layer:

👉Some application servers, like WildFly or Open Liberty, offer compatibility layers for applications still using javax.* while running on Jakarta EE 9+ environments. Enable these compatibility settings in your server configuration to ease the migration without fully rewriting the code. Ensure Correct Dependencies and API Versions:

👉Verify that you are either using all javax.* or all jakarta.* dependencies, as mixing them can cause runtime issues. Ensure that the persistence provider (e.g., Hibernate, EclipseLink) you’re using is compatible with the package version required (either javax.persistence or jakarta.persistence). Switch to Jakarta EE for Modern Environments:

👉If you are developing or deploying applications in newer environments, consider fully migrating to the jakarta.* APIs. This transition will ensure compatibility with Jakarta-compliant containers and frameworks going forward. Use tools or IDE plugins to automate part of the migration process by replacing javax.persistence with jakarta.persistence where necessary.

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

79144002

Date: 2024-10-31 08:51:46
Score: 0.5
Natty:
Report link

First of all update path like below:

include ":app"


include ":unityLibrary"
project(":unityLibrary").projectDir = file("./unityLibrary")

and then move it to settings.gradle file

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

79144000

Date: 2024-10-31 08:51:46
Score: 2
Natty:
Report link

use git bash shell to run the cmd.

the command in makefile may doesn't support cmd.

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

79143998

Date: 2024-10-31 08:50:45
Score: 5
Natty:
Report link

are you sure that the issue isn't related to a compatibility or configuration setting in the EAP (Early Access Program) version?

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

79143996

Date: 2024-10-31 08:50:45
Score: 3.5
Natty:
Report link

Running PowerShell in normal mode, not in the admin mode fixed the issue.

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

79143994

Date: 2024-10-31 08:50:45
Score: 3.5
Natty:
Report link

In my case, Revoked APNs Key => the problem was solved!

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

79143993

Date: 2024-10-31 08:49:45
Score: 0.5
Natty:
Report link

Unless you have alternative E-Mails or Phone Numbers set up in the Admin Account (which I dont believe since you described your problem detailed) you have no choice but to call Microsoft. They can verify the Corp Identity but you need following Documents prepared

Proof of domain ownership for your Office 365 tenant (such as DNS configuration details).

Account information related to your Office 365 or Azure subscription (e.g., subscription ID, registered billing info).

Any previous billing statements or email records related to the account, to help verify ownership.

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

79143992

Date: 2024-10-31 08:49:45
Score: 2.5
Natty:
Report link

Adding 'ecr:BatchGetImage' to the user permissions solved the issue. With a previous runner that was not required.

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

79143990

Date: 2024-10-31 08:48:45
Score: 1.5
Natty:
Report link

It Works On Reloading the browser but not all the time.

The solution metioned by @Martin Schneider works but if u are working with manifest v3 then try using

chrome.scripting.executeScript

Instead of

chrome.tabs.executeScript

Also make sure if having host_permission should match the content_scripts matches in the manifest file

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @Martin
  • Low reputation (1):
Posted by: The Life Player Joel

79143980

Date: 2024-10-31 08:46:44
Score: 4
Natty:
Report link

It achieves 90% accuracy on the validation set, but drops to below 50% on the test set, which is really frustrating. 10,000 images, with 80% as the training set and 20% as the validation set.

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

79143966

Date: 2024-10-31 08:39:41
Score: 3.5
Natty:
Report link

The problem was not enabled the Push Notifications capability through XCode.

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

79143961

Date: 2024-10-31 08:36:40
Score: 2
Natty:
Report link

Others that might come here looking for the answer, Keycloak does not support Statuscodes for the error page, but by using custom templating for login, you can detect it yourself in the frontend. I found my solution here

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

79143959

Date: 2024-10-31 08:35:40
Score: 0.5
Natty:
Report link

A few settings would affect this: bind and protected mode.

Find bind in your redis.conf file and change as follows:

bind 127.0.0.1 <your IP>

if you are not using password security, you'll have to turn off protected mode by changing:

protected-mode yes

To:

protected-mode no

Then restart redis.

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

79143958

Date: 2024-10-31 08:35:40
Score: 2
Natty:
Report link

As per the equivalent issue @anakha reported on spring-cloud-gateway Github, bumping to spring-boot 3.4.0 should fix the encountered issue.

However, on my side without upgrading to spring-cloud 4.2.x but from spring-boot 3.3.4 to 3.3.5 (using spring-cloud 4.1.5) I run into the same issue.

Consequently either you downgrade to 3.3.4 or upgrade to 3.4.0 which as of today (2024-10-31) is still in RC.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @anakha
  • Low reputation (0.5):
Posted by: gdevxy

79143956

Date: 2024-10-31 08:33:39
Score: 4.5
Natty: 6
Report link

<Marker style={{ zIndex: selected ? 1 : 0 }} .../> did not work for me but <Marker style={{ zIndex: selected ? 1000 : 0 }} .../> did 🎉

Reasons:
  • Blacklisted phrase (1): did not work
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: usama ijaz

79143940

Date: 2024-10-31 08:28:38
Score: 4
Natty:
Report link

Just give the li a width of 100%

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

79143932

Date: 2024-10-31 08:25:37
Score: 1.5
Natty:
Report link

Try importing utilities in top of style block

@import "tailwindcss/utilities";
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lervad

79143930

Date: 2024-10-31 08:25:37
Score: 1
Natty:
Report link

With the information @j2emanue provided, it seems that without the first yield(), the parent job by default would be marked the higher priority than the child job. Your code was not going to run into the child block as it should. It kept running to child.cancel() and so on. That was why you get message "Parent is not cancelled". And you never got the message "Child is cancelled". In contrary you leave yield() there, it would mark the child job to run with higher priority than the parent job. So you get the message "Child is cancelled" before "Parent is not cancelled". Correct me if I give any wrong explaination.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @j2emanue
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Thái Quốc Toàn

79143929

Date: 2024-10-31 08:24:36
Score: 3.5
Natty:
Report link

I changed @Data to @Setter and @Getter.

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oth Mane

79143925

Date: 2024-10-31 08:23:36
Score: 1.5
Natty:
Report link

Not sure entirely what the question is, but I think you are asking if the Db2 developer extension in VSCode has the ability to edit tables via a GUI?

As far as I am aware it doesn't. You'd need to do it via writing/generating and running SQL.

I'm curious why you'd want to go down the rabbit whole as you say given that you already appear to have a tool that gives you the functionality you want? Datagrip is probably a larger and more full fledged product than any VSCode extension will ever be able to be and I'm sure your company is paying a pretty penny for it, so might as well use it if you can.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Sean Kurtz

79143921

Date: 2024-10-31 08:22:36
Score: 3.5
Natty:
Report link

you can use 'ping x.x.x.x', successful? after, user 'talnet x.x.x.x 6379', successful?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Williams

79143916

Date: 2024-10-31 08:20:35
Score: 3.5
Natty:
Report link

I haven't found a free solution to do it on a schedule (And I just have a few of the tables to load eg once a week to pay for it)

So I am just using this extension from OWOX because it has the Truncate / Overwrite option, which is necessary for me. And they don't charge for it.

However, my task is to be able to query that data in sheets to use in another data mart, which is why I am looking for a suitable solution to not populate data in BigQuery, but make my google sheet SQL accessible...

Reasons:
  • Blacklisted phrase (2): I am looking for
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ievgen Krasovytskyi

79143903

Date: 2024-10-31 08:16:34
Score: 2.5
Natty:
Report link

it seems like you enabled flatten packages option in project view settings.

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

79143896

Date: 2024-10-31 08:13:33
Score: 1
Natty:
Report link

How should I reinitailize or unlock the std::mutex in child process, so that it does not blocked?

I think that the key issue might be about a mutex was locked in the parent process at the time of forking, and then it will appear as locked in the child as well.

Maybe try to use POSIX pthread_atfork with pthread_mutex instead of fork (refer to Linux/UNIX system: pthread_atfork). The mechanism allows to register handlers to prepare and restore mutexes during a fork().

The intent of pthread_atfork() was to provide a mechanism whereby the application (or a library) could ensure that mutexes and other process and thread state would be restored to a consistent state. In practice, this task is generally too difficult to be practicable.

Here’s a simple example:

pthread_mutex_t mutex = PTHREAD_MUTEX_INITIALIZER;

void prepare() {
    pthread_mutex_lock(&mutex);
}

void parent() {
    pthread_mutex_unlock(&mutex);
}

void child() {
    pthread_mutex_unlock(&mutex);
}

int main() {
    pthread_atfork(prepare, parent, child);

    if (fork() == 0) {
        // Child process
        pthread_mutex_lock(&mutex);
        std::cout << "Child acquired the lock" << std::endl;
        pthread_mutex_unlock(&mutex);
        std::cout << "Child released the lock" << std::endl;
    } else {
        // Parent process
        pthread_mutex_lock(&mutex);
        std::cout << "Parent acquired the lock" << std::endl;
        // execute some tasks
        pthread_mutex_unlock(&mutex);
        std::cout << "Parent released the lock" << std::endl;
    }
    
    return 0;
}

Hope this is helpful in resolving this issue.

Reasons:
  • Blacklisted phrase (1): How should I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: Shelton Liu

79143895

Date: 2024-10-31 08:13:33
Score: 4.5
Natty:
Report link

Running zenoh-bridge-ros2dds in this scenario works well on my side (Both are Ubuntu). Could you please provide the version (Both bridge and ROS 2) you're using? Now I'm using the latest version built from source code running with ROS 2 Jazzy.

Besides, could you also check the connection availability between the two hosts? There might be some firewall issues blocking the connection. Using Zenoh simple examples is another good way to check.

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you please provide
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: evshary

79143889

Date: 2024-10-31 08:11:32
Score: 1
Natty:
Report link

another way, in Normal mode you can type:

:!ps axuw | grep vim | grep -v grep | awk '{print $2}' | xargs kill -9
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ha36d

79143885

Date: 2024-10-31 08:09:32
Score: 1.5
Natty:
Report link

You have to execute Node with the --experimental-vm-modules flag. Here are two ways you can add this flag when running Jest:

node --experimental-vm-modules node_modules/jest/bin/jest.js

or

NODE_OPTIONS="$NODE_OPTIONS --experimental-vm-modules" npx jest

personally this is how I handle it in my package.json script

"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --runInBand",

Source: Jest documentation

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

79143881

Date: 2024-10-31 08:08:31
Score: 3.5
Natty:
Report link

You are not in "easy mode"

Set your cookie from security=impossible to security=low

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

79143878

Date: 2024-10-31 08:07:31
Score: 0.5
Natty:
Report link

In SQL Server, the right way of comparing datetimes by date only is this:

...
WHERE
    AttendanceRegister.RegistrationDate >= GETDATE() AND
    AttendanceRegister.RegistrationDate < dateadd(day, 1, GETDATE())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Azizbek PhD

79143859

Date: 2024-10-31 08:03:30
Score: 1
Natty:
Report link

Just as @Peter B said, adding a / to the href of <base> and removing the starting / of <link> and <script> should be the best practice.

<link href="css/rendering.css" rel="stylesheet">
<script type="text/javascript" src="script/task.js"></script>
<base href="http://example.com/myservice/public/" >

If it is still not working after that, you need to check your Access-Control-Allow-Origin settings of your server.

Additionally, you've mentioned the easiest option. Then you should simply try launching Edge with command line --allow-file-access-from-files. Remember to close all Microsoft Edge instances first from task manager.

Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Peter
  • High reputation (-1):
Posted by: Kendrick Li

79143853

Date: 2024-10-31 08:02:29
Score: 1.5
Natty:
Report link

Jakarta Persistence Layer (JPL)

Jakarta Persistence Layer (JPL) is the successor to JPA and is part of the Jakarta EE specifications. It is built upon JPA and provides similar functionality for managing relational data in Java applications. The primary difference is the change of package names, from javax.persistence to jakarta.persistence.

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

79143851

Date: 2024-10-31 08:01:29
Score: 3
Natty:
Report link

I tried @adong660's sollution and it works! It is the snippets/latex.json instead of snippets/tex.json that controls .tex files, which is very confusing.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @adong660's
  • Single line (0.5):
  • Low reputation (1):
Posted by: KasakiNozomi

79143842

Date: 2024-10-31 07:58:28
Score: 2.5
Natty:
Report link

If you're still facing the same issue, here's what worked for me: I had

platform :ios, '13.0'

in my Podfile, and I changed it to:

platform :ios, min_ios_version_supported

After making this change, everything worked perfectly for me. I hope this helps!

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: Abdullah Jaspal

79143833

Date: 2024-10-31 07:55:27
Score: 3.5
Natty:
Report link

I'm facing the same problem,

Probably your stream is MPEG-TS over UDP. Based on this code (for ExoPlayer media2) : ExoPlayer2UdpDemo

I have tried to convert the code to Media3. This is what I have done so far without success:

player = ExoPlayer.Builder(this)
.build()
.apply {

    val factory =
        DataSource.Factory { UdpDataSource(3000, 100000) }
        
    val tsExtractorFactory = ExtractorsFactory {
        arrayOf(
            TsExtractor(TsExtractor.MODE_SINGLE_PMT,
                TimestampAdjuster(0), DefaultTsPayloadReaderFactory()
            )
        )
    }

    val mediaSource: MediaSource = ProgressiveMediaSource.Factory(factory,tsExtractorFactory)
        .createMediaSource(MediaItem.fromUri(Uri.parse("udp://@192.168.11.111:1261")))

    setMediaSource(mediaSource)
    prepare()
    playWhenReady = true
}

val playerView = findViewById<View>(R.id.player_view) as PlayerView
playerView.player = player

I'm not sure if ProgressiveMediaSource is the correct way for this type of stream

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Low reputation (1):
Posted by: Alex Seferidis

79143826

Date: 2024-10-31 07:52:26
Score: 4
Natty: 5
Report link

Thanks! There was an typo in my case and fixing the typo fixed my issue.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ABDULLAH

79143820

Date: 2024-10-31 07:50:26
Score: 1
Natty:
Report link

When you are confused about this, it is a good idea to print it out as follows

  llvm::raw_fd_ostream outfile("output.ll", EC, llvm::sys::fs::OF_Text);
  legacy::PassManager pm;
  pm.add(createPrintModulePass(outfile));
  pm.run(*module); // this module is the one you generated
  // and the same to the function

then you can see the problems in your module or function:)

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): When you are
  • Low reputation (1):
Posted by: Sen Napbad