79430258

Date: 2025-02-11 14:13:59
Score: 1.5
Natty:
Report link

It's done like this:

  (defschema table-schema
    v : object{data}
  )
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Валентин Стайков

79430255

Date: 2025-02-11 14:12:58
Score: 7.5 🚩
Natty: 4.5
Report link

did you find a solution to this? I am experiencing the same issue

Reasons:
  • RegEx Blacklisted phrase (3): did you find a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you find a solution to this
  • Low reputation (1):
Posted by: user8330904

79430244

Date: 2025-02-11 14:09:57
Score: 0.5
Natty:
Report link

Recently had this same issue in 2022.3.45f1, workaround was to do this after setting orthographicSize:

cam.orthographic = false;
cam.orthographic = true;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: mgear

79430232

Date: 2025-02-11 14:05:56
Score: 1.5
Natty:
Report link

I have tried changing the SDK version but nothing works. So, I updated the android gradle plugin and wrapper to 8.0+ and it works. Here is the detailed reason from this answer migrate your build gradle

Here is my updated AGP in my android/settings.gradle

id "com.android.application" version "8.1.1" apply false

That update made my flutter 3.19 running smoothly again

Reasons:
  • Blacklisted phrase (1): but nothing work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nicholas Baron Bramantyo

79430230

Date: 2025-02-11 14:05:56
Score: 3.5
Natty:
Report link

Looks like the problem is that the the simulator runs a little slow in my machine. I was able to run the app with no problems on the device.

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

79430227

Date: 2025-02-11 14:04:56
Score: 3.5
Natty:
Report link

you can open the xslt transformation as html output on Chrome, there are lot of ways to test in local or offline. refer: https://integrationgalaxy.com/blog/how-to-run-xslt-xsl-file-in-chrome

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

79430222

Date: 2025-02-11 14:03:55
Score: 2.5
Natty:
Report link

You can fix it with the following filter:

add_filter('wp_img_tag_add_auto_sizes', '__return_false'); in your functions.php

This filter is located in wp-includes/media.php

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: André Schneider

79430214

Date: 2025-02-11 14:00:54
Score: 1.5
Natty:
Report link

I figured out the issue. I had a link on one of the columns in the Interactive Report. This link was to another page in the application where I can edit the IR row data. I had a Dynamic Action on the IR to do a Submit Page on Cancel or Close of the dialog. This is what was causing the highlight to disappear. I changed the Dynamic Action to Refresh the IR region and everything works now.

Reasons:
  • Blacklisted phrase (1): This link
  • Whitelisted phrase (-2): I figured out
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: wheeliea

79430209

Date: 2025-02-11 13:57:54
Score: 0.5
Natty:
Report link
import java.io.*;
import java.security.*;
import java.security.cert.*;
import java.security.cert.Certificate;
import java.util.Arrays;
import javax.net.ssl.*;

public class SSLManager {

    
    public static void main(String[] args) throws Exception {
        String keystorePassword = "changeit"; // Change as needed
        String alias = "server";

        // Load Root CA
        KeyStore rootKeyStore = KeyStore.getInstance("PKCS12");
        try (FileInputStream fis = new FileInputStream("rootCA.p12")) {
            rootKeyStore.load(fis, keystorePassword.toCharArray());
        }
        
        PrivateKey rootPrivateKey = (PrivateKey) rootKeyStore.getKey("rootCA", keystorePassword.toCharArray());
        Certificate rootCACert = rootKeyStore.getCertificate("rootCA");

        // Generate Server KeyPair
        KeyPair serverKeyPair = generateKeyPair();

        // Generate and Sign Server Certificate
        X509Certificate serverCert = generateSignedCertificate(serverKeyPair, (X509Certificate) rootCACert, rootPrivateKey);

        // Store Server Key and Certificate Chain in Keystore
        KeyStore keyStore = KeyStore.getInstance("PKCS12");
        keyStore.load(null, null); // Create empty keystore
        keyStore.setKeyEntry(alias, serverKeyPair.getPrivate(), keystorePassword.toCharArray(), 
                             new Certificate[]{serverCert, rootCACert});

        // Save Keystore to File
        try (FileOutputStream fos = new FileOutputStream("server_keystore.p12")) {
            keyStore.store(fos, keystorePassword.toCharArray());
        }

        // Load Keystore into SSLContext
        SSLContext sslContext = initSSLContext("server_keystore.p12", keystorePassword);
        System.out.println("SSLContext Initialized Successfully!");
    }

    private static KeyPair generateKeyPair() throws NoSuchAlgorithmException {
        KeyPairGenerator keyGen = KeyPairGenerator.getInstance("RSA");
        keyGen.initialize(2048);
        return keyGen.generateKeyPair();
    }

    private static X509Certificate generateSignedCertificate(KeyPair serverKeyPair, X509Certificate rootCert, PrivateKey rootPrivateKey)
            throws Exception {
        // This method should implement certificate signing using BouncyCastle or Java APIs.
        // For brevity, assuming an existing method that returns a signed X509Certificate.
        return CertificateGenerator.signCertificate(serverKeyPair, rootCert, rootPrivateKey);
    }

    private static SSLContext initSSLContext(String keystorePath, String keystorePassword) throws Exception {
        KeyStore keyStore = KeyStore.getInstance("PKCS12");
        try (FileInputStream fis = new FileInputStream(keystorePath)) {
            keyStore.load(fis, keystorePassword.toCharArray());
        }

        KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance("SunX509");
        keyManagerFactory.init(keyStore, keystorePassword.toCharArray());

        SSLContext sslContext = SSLContext.getInstance("TLS");
        sslContext.init(keyManagerFactory.getKeyManagers(), null, new SecureRandom());
        return sslContext;
    }
}

ashokit

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akshay Giram

79430194

Date: 2025-02-11 13:52:53
Score: 2
Natty:
Report link

what worked for me: -upgrade all Abp packages to 8.4.0 (used .net 7.0 version in the project, above 9 it requires at least .net 8.0); -upgrade Castle.Windsor.MsDependencyInjection to the latest version;

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): what
  • Low reputation (1):
Posted by: Mike

79430193

Date: 2025-02-11 13:51:52
Score: 1
Natty:
Report link

For my case

Example:

private static int w(float widthExcel) {
  return (int) Math.floor((widthExcel * Units.DEFAULT_CHARACTER_WIDTH + 5.5) / Units.DEFAULT_CHARACTER_WIDTH * 256); 
}


sheet.setColumnWidth(0, w(10.71f))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Akan Tileubergenov

79430192

Date: 2025-02-11 13:51:52
Score: 2
Natty:
Report link

enter image description here

@Deprecated(since="9.0")

@Deprecated.  Please use Http2SolrClient or HttpJdkSolrClient

A SolrClient implementation that talks directly to a Solr server via Apache HTTP client
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Akib Bagwan

79430187

Date: 2025-02-11 13:50:52
Score: 0.5
Natty:
Report link
from flask_restx import Resource, fields
from flask import request
import sys
import os
from werkzeug.datastructures import FileStorage
from werkzeug.utils import secure_filename   

BASEDIR = os.path.abspath(os.path.dirname(__file__))

upload_parser = api.parser()
upload_parser.add_argument('file', location='files',
                               type=FileStorage, required=True) 

@api.route("/your_route_name")
@api.expect(upload_parser)
class MyResource(Resource):
    @api.marshal_with(<output_dataformat_schema_defined_here>, skip_none=True)
    def post(self):
       uploaded_file = request.files['file']

       if uploaded_file:
          secured_logfilename = secure_filename(uploaded_file.filename)
          uploaded_file.save(os.path.join(os.path.join(BASEDIR, 
             "current_logs"), secured_logfilename))
          return {"message": "File successfully uploaded"}, 200
       else:
          return {"message": "File upload unsuccessful"}, 400

Source: Flask restx, Flask

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Nathaniel Cobbinah

79430183

Date: 2025-02-11 13:47:51
Score: 1.5
Natty:
Report link

The delay in saving the third image is due to location fetching latency. The first and second images used cached location data, while the third might be triggering a fresh location request, which can take longer.

Location API Delay: The fusedLocationClient.getCurrentLocation(...) method can take longer if a fresh GPS fix is required. Slow Network: If your phone is relying on network-based location rather than GPS, fetching new location data may be slow. Blocked UI/Main Thread: If location fetching or saving the image runs on the main thread, it can slow down. Power Saving Mode: Some Android devices limit location updates in low-power states. So Instead of calling getCurrentLocation() every time, I used getLastLocation() first, which is much faster because it returns the last known location without waiting for a new GPS fix.

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

79430174

Date: 2025-02-11 13:45:50
Score: 6
Natty: 7
Report link

Where do i access the Jules software from?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where do i
  • Low reputation (1):
Posted by: Paul Thomas

79430173

Date: 2025-02-11 13:43:50
Score: 2
Natty:
Report link

just do this Modify your package.json and add the NODE_OPTIONS setting in the scripts: For Windows users, modify it as:

"start": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts start", "build": "set NODE_OPTIONS=--openssl-legacy-provider && react-scripts build"

Then, try running:

npm start

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

79430172

Date: 2025-02-11 13:43:50
Score: 0.5
Natty:
Report link

enter image description here

In December 2024, Tricentis announced the end-of-life of the SpecFlow open source project. According to the announcement, SpecFlow reached its end-of-life on December 31, 2024. As of 1st January, the SpecFlow GitHub projects are deleted and the support section of the specflow.org website is disabled.

SpecFlow will no longer be available after December 31, 2024.” (specflow.org)

While the announcement was on a short notice, the SpecFlow project has showed no activity in the last two years and Tricentis has never publicly commented the users questions about the future of SpecFlow. This was the reason why we started with the Reqnroll project in the beginning of 2024. More about that below.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Pramod Lawate

79430169

Date: 2025-02-11 13:43:50
Score: 1
Natty:
Report link

You can just add this dependency below "dependency_overrides:" :

camera_android_camerax: 0.6.11 # Version 0.6.13 is defective

but if you're using Image Streaming "camera_android_camerax" doesn't work so, you can definitively downgrade your version to :

camera: ^0.10.6
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charlemagne

79430161

Date: 2025-02-11 13:40:48
Score: 8.5 🚩
Natty: 6
Report link

did you manage to solve this problem?

I'm going through the same thing

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to solve this problem
  • RegEx Blacklisted phrase (1.5): solve this problem?
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Thiago Henrique Gaspar

79430160

Date: 2025-02-11 13:40:48
Score: 2
Natty:
Report link

In my case:

For example in Nx if your index.ts file exports two components: Component1 and Component2 and you import Component2 into Component1 using ...from '@...'; It will throw this reading 'ɵcmp' error

To fix use './...'

Component1 is basically re-exporting Component2

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

79430159

Date: 2025-02-11 13:40:48
Score: 1.5
Natty:
Report link

Another reference, from 2016, in which I report on comparing the rsqrt and rcp instructions between Intel and AMD processors is https://github.com/jeff-arnold/math_routines/blob/main/rsqrt_rcp/docs/rsqrt_rcp.pdf.

See also https://members.loria.fr/PZimmermann/papers/accuracy.pdf which is a (continuing) study of the accuracy of various implementations of math library functions. In particular, the last paragraph of the introduction is relevant to the original question; it also mentions my report above.

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

79430158

Date: 2025-02-11 13:40:48
Score: 2
Natty:
Report link

As per C3roe's comment, the issue in fact was with the size of the label field itself being much higher than the rendered SVG it contains.

This was solved very simply by adding height and width attributes to the SVG tag itself, the label then only surrounded the SVG element.

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

79430150

Date: 2025-02-11 13:38:47
Score: 3
Natty:
Report link

I'm not allowed to comment, otherwise this would be a comment on the previous answer.

There's a danger in spinning up a TelemetryClient/TelemetryConfiguration pair when you want them and then immediately disposing of them. The danger is that you make your application wait, synchronously, while you force the TelemetryClient to flush its buffers and send whatever telemetry it has accumulated. A safer usage pattern is to create however many of them but retain your references for the lifetime of your application so that you can re-use existing instances and don't get a memory leak but you still allow the TelemetryClient to buffer data and send when appropriate.

Reasons:
  • Blacklisted phrase (1): not allowed to comment
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Didrik

79430126

Date: 2025-02-11 13:30:45
Score: 1
Natty:
Report link

You should see them in the Tests tab on the Pipelines :

https://gitlab.com/{group}/{project}/-/pipelines/{pipeline_id}/test_report

Example :

Test tab on pipeline

You also have access to the report on the Merge Request if you have one open :

mr coverage

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

79430124

Date: 2025-02-11 13:29:43
Score: 4
Natty: 4.5
Report link

Or you can use an updated palette: @gogovega/node-red-contrib-firebase-realtime-database.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user29598953

79430123

Date: 2025-02-11 13:29:43
Score: 1
Natty:
Report link

Pretty sure Docker doesn't support include for something like this. Instead you could run this to use more than one file:

docker-compose -f docker-compose.yaml -f back/docker-compose.yaml -f front/docker-compose.yaml up

-f tells docker to merge all the files you mention.

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

79430115

Date: 2025-02-11 13:26:43
Score: 2
Natty:
Report link

for i in df.columns:
print(df[i].apply(type).unique())

check for unqiue datatypes present in all columns if there are more than one dtype in a columns either drop that column or convert all the values in the column into a single dtype.

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

79430114

Date: 2025-02-11 13:25:42
Score: 1.5
Natty:
Report link

I have a Python app taking json request if I use a say postman to post the json to the service it works args : dict = json.loads( request.data.decode('utf-8'))

but when I use the web app browser this does not return a dict it returns a str

to get around that I had to do this args : dict = json.loads( json.loads( request.data.decode('utf-8') ) )

i am thinking going to have to do some RTTI to check the type and optionally do the second json.loads in such sitatuations

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

79430104

Date: 2025-02-11 13:22:41
Score: 2
Natty:
Report link

Thank you, @jstuardo, for bringing this issue to our attention, and @Brits for your time and effort in troubleshooting it.

The issue was caused by the CONNACK response incorrectly setting Max QoS to 2, which was not compliant with the MQTT specification, leading MQTTnet to reject the connection. We have now resolved this. The Public FREE MQTT Broker has been updated with the fix. However the downloadable version will take little more time to update as we are in the mid of functional integration.

We highly appreciate your feedback and are happy to assist you always.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @jstuardo
  • User mentioned (0): @Brits
  • Low reputation (0.5):
Posted by: Ranjith Kumar Diraviyam

79430103

Date: 2025-02-11 13:21:41
Score: 2
Natty:
Report link

when the output shape is (1,84,8400) this is how it is interpreted:

1 = batch size

84 = x_center + y_center + width + height + confidence of each class = 4 + 80

8400 = number of detected boxes

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): when the
  • Low reputation (0.5):
Posted by: Ariya

79430101

Date: 2025-02-11 13:20:41
Score: 2
Natty:
Report link

I was struggling with installing Django now with latest MacOs and eventually found the following to work.

python3 -m pip install Django

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

79430098

Date: 2025-02-11 13:20:41
Score: 2.5
Natty:
Report link

The error AttributeError: module 'select' has no attribute 'select' occurs because of a name conflict. Your project contains a file named select.py that conflicts with Python's built-in select module.

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

79430095

Date: 2025-02-11 13:19:40
Score: 4
Natty:
Report link

It looks like the problem has been solved. I cannot reproduce the issue today.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Włodzimierz O. Kubera

79430093

Date: 2025-02-11 13:18:40
Score: 1
Natty:
Report link

Cases with DEFAULT and NULL does not work

Correct answer is to use:

nextval('"Photo_AuthorID_seq"'::regclass)

In dbeaver you may find this value in properties tab for primary key

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

79430089

Date: 2025-02-11 13:15:39
Score: 1
Natty:
Report link

A collections.ChainMap behaves like a merged dictionary without having to copy over the keys and values. For example:

>>> mydict = {"a": 0}
>>> defaults = {"a": 5, "b": 10}
>>> chain = collections.ChainMap(mydict, defaults)
>>> dict(chain)
{'a': 0, 'b': 10}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniel Carpenter

79430083

Date: 2025-02-11 13:14:39
Score: 2
Natty:
Report link

You should pass a private key in the same way you pass public key, service template and service id:

var data = {
    service_id: 'YOUR_SERVICE_ID',
    template_id: 'YOUR_TEMPLATE_ID',
    user_id: 'YOUR_PUBLIC_KEY',
    accessToken: 'YOUR_ACCESS_TOKEN',
    template_params: {
        'username': 'James',
        'g-recaptcha-response': '03AHJ_ASjnLA214KSNKFJAK12sfKASfehbmfd...'
    }
};

Documentation: https://www.emailjs.com/docs/rest-api/send/

Here's an article I wrote explaining how to setup sensitive EmailJS data in Vite+React app deployed on Vercel.

https://medium.com/@fadingbeat/securely-sending-emails-with-emailjs-in-a-vite-react-app-on-vercel-5b8a591fd121

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: fadingbeat

79430079

Date: 2025-02-11 13:12:39
Score: 1.5
Natty:
Report link

Files and folders starting with a dot are hidden. To display them in the command prompt, add the -a option.

dir -a

enter image description here

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

79430078

Date: 2025-02-11 13:12:39
Score: 2
Natty:
Report link
  1. Switching to Graviton2-based Lambdas can improve performance and reduce cold start times.

  2. Use services like CloudWatch Alarms or Step Functions to trigger warm-up calls.

  3. Increasing memory allocation can significantly reduce cold start latency.

  4. You could try AWS App Runner

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

79430072

Date: 2025-02-11 13:10:38
Score: 0.5
Natty:
Report link

Angular components don't inherit height so you have to set it in the styling.

either with: :host { display: block; } in each component styles property or add with the cli / set as default:

"@schematics/angular:component": {
      "displayBlock": true
   }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Edward Newsome

79430067

Date: 2025-02-11 13:09:38
Score: 0.5
Natty:
Report link

For me
using sh not work on vscode

how to make sure there is wrong ?

there is wrong?

not work?

everything well,NO?

More

Could not find compiler set in environment variable CXX: clang++. #61418
good luck

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Zaman

79430062

Date: 2025-02-11 13:07:37
Score: 2.5
Natty:
Report link

<ToastContainer /> is imported from "react-bootstrap" which is wrong. <ToastContainer /> should be imported from "react-toastify".

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

79430061

Date: 2025-02-11 13:07:37
Score: 1.5
Natty:
Report link

Check that you're not attempting to connect to your sftp channel more than once at a time in your codebase. if you need a new connection close the previous connection before attempting to re-connect again. Hope this helps anyone in the future.

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adeola Adebisi

79430051

Date: 2025-02-11 13:04:36
Score: 2
Natty:
Report link

I just did invalid cache and restart it work for me.

In Android Studio >>> file >> Invalidate Caches >> restart

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Manish Singh Chouhan

79430045

Date: 2025-02-11 13:02:36
Score: 1
Natty:
Report link

This was a bug in RStudio, which was fixed in September 2024. The problem can be resolved by upgrading RStudio.

Given that the date of the Gihub issue and the date of this question are the same, I expect that you were the one who reported it, and so you already know the answer. However I'm leaving this answer here for anyone else (like me) who finds this question before the GitHub Issue.

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

79430044

Date: 2025-02-11 13:02:36
Score: 0.5
Natty:
Report link

The Issue with Static Table Mappings in JPA

In typical JPA implementations (such as Hibernate with Spring Boot), an entity’s mapping to a database table is fixed at configuration time. For example:

@Entity
@Table(name = "APPLICATIONS")
public class Application {
    @Id
    private Long id;
    private String name;
    // additional fields, getters, and setters
}

Here, the table name "APPLICATIONS" is explicitly set by the @Table annotation. When the persistence unit is initialized, JPA uses this static definition and does not allow you to substitute a different table name at runtime. Alternative Approaches

Since you cannot change the table mapping on the fly using standard JPA, consider these alternatives:

  1. Using Native Queries or Dynamically Built SQL

One common method is to forgo JPA’s abstraction and create your SQL queries manually. This lets you insert the table name dynamically:

@Service
public class ApplicationService {

    @PersistenceContext
    private EntityManager entityManager;

    public List<Application> findApplications(String dynamicTableName) {
        // Always sanitize 'dynamicTableName' to prevent SQL injection.
        String sql = "SELECT * FROM " + dynamicTableName;
        Query query = entityManager.createNativeQuery(sql, Application.class);
        return query.getResultList();
    }
}

Pros: You can supply any table name at runtime. Cons: You lose JPA benefits like automatic change detection and portability. 2. Using Inheritance with Concrete Subclasses

If you have a known set of tables, you might create a common base class and then extend it with subclasses that each map to a specific table. For instance:

@MappedSuperclass
public abstract class BaseApplication {
    @Id
    private Long id;
    private String name;
    // common properties
}

@Entity
@Table(name = "APPLICATIONS_US")
public class USApplication extends BaseApplication {
    // US-specific fields or methods, if any
}

@Entity
@Table(name = "APPLICATIONS_EU")
public class EUApplication extends BaseApplication {
    // EU-specific fields or methods, if any
}

Pros: Each subclass has a fixed table mapping that JPA recognizes. Cons: This solution only works when the set of table names is known in advance and is not suitable for completely dynamic scenarios. 3. Consolidating Data with a Discriminator or Tenant Identifier

Another approach is to merge all the data into one table and use an extra column to distinguish between different “instances” (for example, tenants or forms). Consider this example:

@Entity
@Table(name = "APPLICATIONS")
public class Application {
    @Id
    private Long id;
    
    @Column(name = "TENANT_ID")
    private String tenantId;
    
    private String name;
    // additional fields, getters, and setters
}

Then, when querying:

public List<Application> findByTenant(String tenantId) {
    String jpql = "SELECT a FROM Application a WHERE a.tenantId = :tenantId";
    return entityManager.createQuery(jpql, Application.class)
                        .setParameter("tenantId", tenantId)
                        .getResultList();
}

Pros: You maintain a single, unified mapping while logically separating data by tenant. Cons: All records are stored in one table, so proper indexing and security controls must be in place. 4. Switching to a JPA Provider with Dynamic Mapping Support

Some JPA providers, such as EclipseLink, offer more flexibility when it comes to defining entity mappings at runtime. If dynamic table names are crucial to your project and you’re open to alternatives, switching from Hibernate might be an option. However, if you’re using Spring Boot (which defaults to Hibernate), there isn’t a standard way to achieve this. Summing Up

Since the table name is embedded in an entity’s metadata in JPA, you cannot have one entity automatically map to multiple tables based on runtime parameters. Your options are:

For further details, see discussions (for example, @lajos-arpad’s answer on Stack Overflow) that delve into why JPA’s static mapping model makes runtime-dynamic table names infeasible.

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

79430042

Date: 2025-02-11 13:00:35
Score: 3.5
Natty:
Report link

**jhgjjkk

Hfkg [*Hcvnmh

  1. Ugnmmgjn

Gjhb## Heading ##


Jbvmkygf

=======

*]1

**

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: M Mondal

79430025

Date: 2025-02-11 12:53:34
Score: 1
Natty:
Report link

Your issue comes from clearing box inside the loop. Instead, track max_number_primes and store the best (a, b) pair separately. Here's a streamlined version using a 1D list:

python Copy Edit import time from sympy import isprime

start_time = time.time()

a_lower_limit, a_upper_limit = -999, 1000 b_lower_limit, b_upper_limit = 0, 1001

max_number_primes = 0 best_product = 0

for a in range(a_lower_limit, a_upper_limit): for b in range(b_lower_limit, b_upper_limit): n = 0 while isprime(n**2 + a*n + b): n += 1 if n > max_number_primes: max_number_primes = n best_product = a * b

print(best_product) print(f"Run time: {(time.time() - start_time):.2f} seconds") This removes unnecessary lists and speeds up execution significantly. Use the [freecine extension]1 for permanent solution.

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

79430016

Date: 2025-02-11 12:51:33
Score: 1
Natty:
Report link

Here are the steps (props to this guy), but before proceeding keep in mind that you won't be able to add another payment method afterwards in the same billing account because of a bug.

  1. Go to https://payments.google.com/ (Yes, you have to go to a completely different website).
  2. Go to Settings.
    First screenshot
  3. Scroll all the way down to "Payments profile status" and click on "Close payments profile".
    Second screenshot
  4. Select an option in the popup that opens and click "Continue".
    Third screenshot
  5. "Close payments profile".
    Fourth screenshot

If you go back to Google Cloud and reload, this is how the screen with your payment method will look like:

Proof

As you can see, not only did your payment method dissappear, but also the rest of the UI and even the button to add another payment method. This implies that the developers didn't account for this specific use case and now it doesn't work properly.

In fact, if you go now to Account management you will notice that the billing account closed automatically and you can't reopen it: "You can’t reopen this billing account because this account is not in good standing.".

Account management screen

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Adrian

79430013

Date: 2025-02-11 12:51:33
Score: 1
Natty:
Report link

I have found a simple solution and i thought in first time that this solution doesn't work. In my case i don't use a blade file but a vue file therefore the route (in programming) is not working correctly. it's necessary to replace the action simply with the url of route

<form id="logout-form" action="/logout" method="POST">
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Desperrois Lucas

79430003

Date: 2025-02-11 12:47:31
Score: 5.5
Natty: 5.5
Report link

Are you still facing this issue using iOS 18.2 or 18.3?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Osmar Rodríguez

79430001

Date: 2025-02-11 12:46:31
Score: 2
Natty:
Report link

in your console.log you check if req.url === '/admin/ but in your condition you check req.url[0] and not req.url so you remain falling in the else ;)

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

79429997

Date: 2025-02-11 12:45:30
Score: 3.5
Natty:
Report link

When you assign ref="fileUploaderRefs", Vue treats it as a single reference and stores only one instance (typically the last one rendered)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you as
  • Low reputation (1):
Posted by: ventraks

79429991

Date: 2025-02-11 12:43:30
Score: 1.5
Natty:
Report link

for python:

def sid_to_bytes(sid: str) -> bytes:
    sid = sid.replace('S-', '')
    sid = sid.split('-')

    c = int_to_bytes(int(sid[0]), 1)
    c += int_to_bytes(len(sid) - 2, 1)

    for i in range(0, 5):
        c += int_to_bytes(0, 1)

    c += int_to_bytes(int(sid[1]), 1)

    for i in range(2, len(sid)):
        c += int_to_bytes(int(sid[i]), 4)

    return c

Article how to do it: https://sergeyvasin.wordpress.com/2017/09/06/convertfrom-sthsid/

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jessy James stands with Russia

79429989

Date: 2025-02-11 12:43:30
Score: 4
Natty: 4
Report link

Check api test keys , dont use old or other tests keys , it shows this error

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

79429982

Date: 2025-02-11 12:41:29
Score: 1
Natty:
Report link

I faced the same issue, and it was resolved by changing the rankdir parameter.

Graphviz can have trouble rendering large vertical graphs. Try changing the orientation:

keras.utils.plot_model(model, to_file="model.png", show_shapes=True, rankdir="LR")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: amrita yadav

79429979

Date: 2025-02-11 12:41:29
Score: 1.5
Natty:
Report link

add these lines inside app/build.gradle file

buildTypes {
release {
    minifyEnabled false
    shrinkResources false
    signingConfig = signingConfigs.debug
}

}

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

79429978

Date: 2025-02-11 12:40:28
Score: 1.5
Natty:
Report link

The date format has nothing to do with the installed language. It can be set with:

QLocale::setDefault(QLocale::English);
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Mr. Clear

79429975

Date: 2025-02-11 12:39:27
Score: 4
Natty: 4.5
Report link

I know how I could do this in Groovy. For example: flavor1Implementation 'libs.example' or freeImplementaiotn 'libs.example'

How to define implementation for just "flavor1" in Kotlin DSL?

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

79429969

Date: 2025-02-11 12:36:27
Score: 1
Natty:
Report link

I think I found a solution that may assist you. I just found out how to live-edit files inside a running container directly from the ide. You need VSCode, install the Remote Development and Dev Containers extension packs (maybe Docker extension as well). Connect to your container by using the Dev-Containers action "Attach to running container" and see the magic happens. You can choose a specific path (file/folder) and edit and save the files with ease. Just don't forget to restart/recompile (whatever) your program in order to see the actual changes in runtime.

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

79429965

Date: 2025-02-11 12:34:26
Score: 0.5
Natty:
Report link

It is much simpler than previous answers. Just test each type you want to support:

template <typename T, size_t N>
concept fixed_container = std::ranges::sized_range<T> &&
                        ( std::extent_v<T> == N || // var[N]
                          T::extent == N || // std::span
                          std::tuple_size<T>::value == N ); // Tuple-like types, i.e. std::array
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Arjonais

79429960

Date: 2025-02-11 12:33:26
Score: 1.5
Natty:
Report link

MySQL functions can't return multiple rows directly, but you can try:

  1. Use JSON: Return a JSON array of results.
  2. Use a Table Function: Create a temporary table inside a procedure and query it.
  3. Use Views: If filtering is simple, a view might work.
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Yash30389

79429959

Date: 2025-02-11 12:32:26
Score: 0.5
Natty:
Report link
function TableComponent({ numRows }) {
 return (
 <tbody>
  {Array.from({ length: numRows }).map((_, index) => (
    <ObjectRow key={index} />
  ))}
</tbody>
);
}

function ObjectRow() {
 return (
  <tr>
   <td>Row Content</td>
  </tr>
);
}

export default TableComponent;

How It Works

Array.from({ length: numRows }) creates an array with numRows elements. .map() iterates over the array, returning an ObjectRow component for each element. The key prop is added to each row for efficient rendering and reconciliation by React.

Why map and Not for?

JSX expects expressions, not statements. for is a statement, whereas map() is an expression that directly returns an array of elements. This functional approach is the most idiomatic in React.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How It
  • Low reputation (0.5):
Posted by: Ismail

79429955

Date: 2025-02-11 12:29:25
Score: 5
Natty:
Report link

It is now possible via netsh. Starting with 2023-09 Cumulative Update for Windows 11, version 22H2. See this link.

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): See this link
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: eosgortor

79429951

Date: 2025-02-11 12:28:24
Score: 1.5
Natty:
Report link

Marks Memo

Semester: I/iv I Sem

| Exam Code | Subject Name

Max Marks Obtained Marks
R24a0004 Environmental Science 85
R24a0001 English For Skill Enhancement 31
R24a0023 Linear Algebra And Ordinary Differential Equations 32
R24a0021 Applied Physics 31
R24a0301 Computer Aided Engineering Graphics 39
R24a0501 Programming For Problem Solving 36
R24a0081 English Language And Communication Skills Lab 32
R24a0082 Applied Physics Lab 36
R24a0581 Programming For Problem Solving Lab 40

Total Marks: 362/450

Percentage: 80.44%

----##


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

79429942

Date: 2025-02-11 12:24:23
Score: 5
Natty: 5
Report link

I'm looking for a way to develop a report using analyses generated by telemetry in MQTT integrated with thinsgboad for temperature monitoring, could you shed some light?

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

79429941

Date: 2025-02-11 12:24:22
Score: 5.5
Natty:
Report link

as Moritz Ringler wrote Hash mode can be used.

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

79429940

Date: 2025-02-11 12:24:22
Score: 4
Natty: 4.5
Report link

There is a list of constant field values, that I often use to find keycloak parameters:

https://www.keycloak.org/docs-api/nightly/javadocs/constant-values.html

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Carlos Eduardo de Melo Rodoval

79429932

Date: 2025-02-11 12:22:21
Score: 3.5
Natty:
Report link

Yes, you can do. Use heartbeat.yml to configure. This link may help you: https://www.elastic.co/guide/en/beats/heartbeat/current/configuring-howto-heartbeat.html

Reasons:
  • Blacklisted phrase (1): This link
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Joy

79429927

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

I had a look at the code again and found out, how to make it work. What made it work was putting the plt.pause in front of the code block below.
This does solve my problem, but I am not sure why.

plt.pause(1 / frequenz)

# Check if maximum length is reached
if (all(len(data) >= zeitdauer * frequenz for data in
        temperature_data.values()) or not plt.fignum_exists(fig.number)):
    print("Program stopped")
    client.close()
    return
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Fff

79429926

Date: 2025-02-11 12:21:20
Score: 7
Natty: 7
Report link

My system is in domain if I click the check box sysadmin then my system is hanged and if I remove then it was work normally but database is not connected.
So please tell me what we do?

Reasons:
  • RegEx Blacklisted phrase (2.5): please tell me what
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Akbar

79429924

Date: 2025-02-11 12:20:20
Score: 0.5
Natty:
Report link

This is a known issue tauri v1 on Ubuntu 24. See issue here.

I believe the only official solution is to use tauri v2. The issue describes some workarounds.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
Posted by: mrtnlrsn

79429921

Date: 2025-02-11 12:19:20
Score: 2.5
Natty:
Report link

Recommended for development Only

#In settings.py change

DEBUG = True

ALLOWED_HOSTS = ['127.0.0.1']

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

79429917

Date: 2025-02-11 12:17:19
Score: 0.5
Natty:
Report link

To avoid re-rendering in Vue 3, you give the component a key attribute.

Example from official documentation:

<transition>
   <span :key="text">{{ text }}</span>
</transition>

https://vuejs.org/api/built-in-special-attributes

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Näbil Y

79429913

Date: 2025-02-11 12:15:19
Score: 3.5
Natty:
Report link

Thank you so much, WhatEvil for solving my problem. The clumsy expression If string <> “” AND NOT IsNull(string) Then, was simply not working: not recognizing text strings, while your suggestion of Nz does. End of week-long wrestling match with VBA!

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

79429907

Date: 2025-02-11 12:13:19
Score: 1.5
Natty:
Report link

I was giving a partition index which was non-existing, i.e. I gave partition size as 3 and gave "template.send("target-partition",3,null,message)" 3 as the target partition, once I changed it to 0 or 1 or 2 the exception disappeared. Hope it helps.

Reasons:
  • Whitelisted phrase (-1): Hope it helps
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anil Boppuri

79429895

Date: 2025-02-11 12:08:17
Score: 1.5
Natty:
Report link

WebP offers incremental decoding

Source: https://developers.google.com/speed/webp/faq

Does WebP support progressive or interlaced display? WebP does not offer a progressive or interlaced decoding refresh in the JPEG or PNG sense. This is likely to put too much pressure on the CPU and memory of the decoding client as each refresh event involves a full pass through the decompression system.

On average, decoding a progressive JPEG image is equivalent to decoding the baseline one 3 times.

Alternatively, WebP offers incremental decoding, where all available incoming bytes of the bitstream are used to try and produce a displayable sample row as soon as possible. This both saves memory, CPU and re-paint effort on the client while providing visual cues about the download status. The incremental decoding feature is available through the Advanced Decoding API.

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

79429891

Date: 2025-02-11 12:07:17
Score: 1
Natty:
Report link

It helped me to replace the font-family item in global.css (I added font names there).

Like this:

globals.css:

body {
    color: var(--foreground);
    background: var(--background);
    font-family: 'My Font', 'My Font Fallback', Arial, Helvetica, sans-serif;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: kononoV

79429875

Date: 2025-02-11 11:56:15
Score: 1.5
Natty:
Report link

This looks like pipelining to me. The easy way to tell is to send the first request up to the GET, and see if the server responds. If it does, it's pipelining. If it hangs, it's potentially a desync. Check this out for more info:

https://portswigger.net/research/browser-powered-desync-attacks#connection-locked

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

79429873

Date: 2025-02-11 11:56:15
Score: 0.5
Natty:
Report link
InetSocketAddress socketAddress = new InetSocketAddress(0);

According javadoc - InetSocketAddress, the used value 0 is documented with

A port number of zero will let the system pick up an ephemeral port in a bind operation.

So just use InetSocketAddress(15684);

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

79429860

Date: 2025-02-11 11:54:14
Score: 5.5
Natty: 5.5
Report link

Hacker hai bhai hacker hai hacker hai bhai hacker hai

Reasons:
  • RegEx Blacklisted phrase (2): bhai
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ali Affan

79429852

Date: 2025-02-11 11:50:13
Score: 1.5
Natty:
Report link

After some googling and asking Copilot I got an answer, which seems to be right and pushed me in the right direction.
The start_tcp_server function in pymodbus is a blocking call, which means it will not return control to your program until the server is stopped. Changing the values from the client works, so I will have to start doing that. With that change, the reading works fine.

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

79429834

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

There are probably more than one anwser. This first that came to my mind would be to make .gm-style-iw-chr absolute:

.gm-style-iw-chr {
  position: absolute;
  right: 0;
}

enter image description here

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

79429820

Date: 2025-02-11 11:37:09
Score: 2
Natty:
Report link

You are using route function in inertia which is not exists to use route with their names you need to use this package

https://www.npmjs.com/package/ziggy-js

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

79429804

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

For Font you can add the font or remove the font from storyboard

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

79429797

Date: 2025-02-11 11:30:08
Score: 2.5
Natty:
Report link

Your request to Install the app has been sent to workspace admins/owners once they approve your app request you get the install page after clicking Reinstall on workspace button. If you add additional scopes you have to create a new request.

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

79429793

Date: 2025-02-11 11:29:07
Score: 4
Natty:
Report link

Ask King .OC of the BerZerkernauts!

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

79429790

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

Try MirrorFly Flutter Chat SDK for your chat app. They offer customization as well

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

79429782

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

The code snippet provided by OP looks unnecessarily complicated for getting document embeddings.

To get document embeddings, I'd start with using the last hidden state of the [CLS] token. Specifically, OP's text_to_embedding() routine can be replaced with less than 5 lines of code. See this post for how.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Fijoy Vadakkumpadan

79429776

Date: 2025-02-11 11:21:05
Score: 0.5
Natty:
Report link

According to oficial documentation https://docs.npmjs.com/cli/v7/commands/npm-publish you could use the access param as follows

npm publish --access=restricted

If you do not want your scoped package to be publicly viewable (and installable) set --access=restricted.

Unscoped packages can not be set to restricted meaning you have to add the @scope prefix to your package i.e.: @foo/yeoman-generator-wherever.

If you want to publish the package to make it publicly accesible you can set the flag --access=public.

npm publish --access=public

My advise is to check the npm version and the documentation as maybe the default behaviour for npm publish differs so better to be explicit and set the flag of what you need.

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

79429769

Date: 2025-02-11 11:16:04
Score: 2.5
Natty:
Report link

enough rebild your project and try again

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: yaserjalilian

79429746

Date: 2025-02-11 11:10:02
Score: 1
Natty:
Report link

You're currently putting {{ route('logout') }} as the form route as plain text.

try binding the value :action="route('logout').

Or use the designated form composable. https://inertiajs.com/forms

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

79429743

Date: 2025-02-11 11:09:02
Score: 3.5
Natty:
Report link

A bit-indexed (or Fenwick) tree can be seen as a pruned segment tree, see this answer.

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

79429731

Date: 2025-02-11 11:04:01
Score: 1
Natty:
Report link

Running build 3.5.11 on MacOS 15.3 - simply loading the Natural Text Editing profile, or editing the hex codes as suggested by Muhammad Huzaifa wasn't sufficient.

I needed to remove the quotes around the hex codes in the key mapping that are introduced by default.

Before: "0x1b 0x7f"

After: 0x1b 0x7f

Edit: this issue has been raised in the iTerm2 Gitlab repo and a fix merged but presumably yet to be released: https://gitlab.com/gnachman/iterm2/-/issues/12031

Key mapping with quotes removed

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: powelli

79429711

Date: 2025-02-11 10:58:59
Score: 1.5
Natty:
Report link

These two commands solved the problem for me:

1- Recursive option that allows you to change the permissions of all files in a directory and its subdirectories:

chmod -R 755 .git/

2- Force deletion of the directory and subdirectories:

rm -rf .git/

Note: You can optionally see a visual confirmation with the command:

rm -vrf .git/

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

79429708

Date: 2025-02-11 10:57:59
Score: 1
Natty:
Report link

Creating new WebRTC peer connections for every operation is inefficient and can lead to several issues:

Instead, use a connection management approach where you:

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

79429705

Date: 2025-02-11 10:56:59
Score: 3
Natty:
Report link

Im working on a very similar project and i didnt find anyone else working on it too, until now please can we connect I need some advice asap

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: ANUJ MEHTAA

79429702

Date: 2025-02-11 10:55:58
Score: 4.5
Natty:
Report link

The error can be resolved by defining title ="" before it's uses or may be @line 6.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @line
  • Single line (0.5):
  • Low reputation (1):
Posted by: Krishna Kanhaia

79429696

Date: 2025-02-11 10:53:58
Score: 1
Natty:
Report link

When using the Builder widget, the parent's build method will construct a new tree of widgets so a new Builder child will not be identified the outside context of the keyboard --> do not know the keyboard change event --> height keyboard always returns 0.

Try to calculate availableHeight out of Builder widget:

Widget build(BuildContext context) { 
double screenHeight = MediaQuery.sizeOf(context).height; 
double keyboardHeight = MediaQuery.viewInsetsOf(context).bottom; 
...

And use MediaQuery.viewInsetsOf instead, this is new recommend docs.

P/S: This [video](https://youtu.be/ceCo8U0XHqw?si=yAyRxzUt6c_L2vnC show clearly the concept of viewInsets,viewPadding and padding

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
  • Low reputation (0.5):
Posted by: N.LanLuu

79429694

Date: 2025-02-11 10:53:58
Score: 0.5
Natty:
Report link

While the former's explaination is correct, the code still has a mistake since it needs to be awaited on params before accessing the attribute.

export async function GET(
  request: Request,
  {params}: { params: Promise<{ id: string }> }
) {
  const id = (await params).id
  // rest of your code
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: travelhawk

79429683

Date: 2025-02-11 10:48:57
Score: 1.5
Natty:
Report link

I had the similar error experience. Not only a header comment required like stated here: https://learn.microsoft.com/en-gb/azure/databricks/notebooks/notebook-export-import

But when specifying the notebook path (in remote repository) while defining your task, make sure to omit the extension of the notebook file: .ipynb or .sql or whatever have you.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Artyom Rebrov