79339710

Date: 2025-01-08 15:21:52
Score: 0.5
Natty:
Report link

Restarting slapd did not help clearing out the accesslog files for me. However, forcing the database to execute the DB_LOG_AUTOREMOVE helped:

On your system, run this command:

db_archive -d -h /var/lib/ldap/accesslog

It will force execute the set_flags DB_LOG_AUTOREMOVE and and purge the accesslog.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Yi Qiang Ji

79339709

Date: 2025-01-08 15:21:51
Score: 4
Natty: 5
Report link

None of the above worked for me. Any other idea?

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: michele thefirst

79339707

Date: 2025-01-08 15:20:51
Score: 0.5
Natty:
Report link

Alternative solution using SUMPRODUCT

I played with an existing answer and found a much compact alternative using SUMPRODUCT.

Formula

=SUMPRODUCT((A$2:A$4)*(B$2:D$4=A7))/COUNTIF(B$2:D$4, A7)

Output

Name Count Average
Anna 2 3.5
Kylie 1 3
Lois 1 4
Michelle 2 4.5

References: SUMPRODUCT

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

79339703

Date: 2025-01-08 15:18:49
Score: 5
Natty:
Report link

Take a look at awaitility library : https://www.baeldung.com/awaitility-testing

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

79339692

Date: 2025-01-08 15:15:48
Score: 2
Natty:
Report link

I Found One More Easy ,Free And Unlimited To Use Easy Solution Where You Can Fetch The Info From API. Example

[https://liveapi.in/geo/country/][1] for fetching all countries and codes

[https://liveapi.in/geo/state/?country=US] for fetching all states or provinces or regions

for more details visit [liveapi.in/geo/]

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

79339675

Date: 2025-01-08 15:11:47
Score: 0.5
Natty:
Report link

As said by @Paul W in comments, fields in the control file are names that sqlldr internally gives to your CSV columns, ignoring the names you gave in the CSV's header line. And by default they get pushed to the field in the same order as they are listed.

Thus for simple fields you should just let the field name (having them match the table columns name will help not getting lost) and remove the quoted part.

After the internal field name, you can put an optional SQL type, or SQL convert or fill snippet; in that last case, you can refer the "internal" field name with :.

Thus you could have:

ROW_ID "YMODAPP.TCLUSTER_SEQ.NEXTVAL",
CLUSTER_ID, -- No need to add anything, we just need to materialize the column and it will get pushed to column 2 of the table.
[…]
OD_FLOW_DT "TO_DATE(:OD_FLOW_DT, 'YYYYMMDD')", -- Field in the TO_DATE has to be :<internal field name = first word before the quotes>.
-- or:
OD_FLOW_DT DATE 'YYYYMMDD',

(based on past experience, with no DB to test now, but isn't it worth a try?)

See an answer from 2019 for an unconventional way of remapping, that helps understanding what is in memory and what ends up into DB.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Paul
  • Low reputation (0.5):
Posted by: Guillaume Outters

79339662

Date: 2025-01-08 15:07:46
Score: 4.5
Natty: 4.5
Report link

Is this referring to TLS session and how many times it can be refreshed and a new page is generated? Sessions or objects for a better words

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: Jayden

79339655

Date: 2025-01-08 15:06:45
Score: 1
Natty:
Report link

React v19 has an issue while installing @testing-library/react. To temporarily resolve this dependency issue, you can set legacy-peer-deps flag to true so that it resolves the peer dependency conflicts. You can do this by running:

npm config set legacy-peer-deps true

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

79339654

Date: 2025-01-08 15:06:45
Score: 3
Natty:
Report link

this made it work

COPY docker/backstage/backstage.json ./

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

79339648

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

The problem lies in how request.GET parses the query string. It treats the entire JSON-like structure as a single key-value pair instead of nested JSON. The incoming query string is URL-encoded, and Django decodes it without recognizing it as JSON.

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

79339646

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

Had the same problem. Solved it installing dependences:

npx expo install react-native-gifted-chat react-native-reanimated react-native-safe-area-context react-native-get-random-values

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

79339636

Date: 2025-01-08 14:58:43
Score: 3.5
Natty:
Report link

There is a shortcut to close a completion. Ctrl+e

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

79339630

Date: 2025-01-08 14:56:43
Score: 2.5
Natty:
Report link

Under 18: 5.9% (1 respondent)

18-25: 88.2% (15 respondents)

26-35: 0%

36 and above: 5.9% (1 respondent)

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

79339626

Date: 2025-01-08 14:54:42
Score: 0.5
Natty:
Report link

You can use the check_password function available in Django.

from django.contrib.auth.hashers import make_password, check_password

password = 'testpassword123'
django_hash = make_password(password)   
is_verified = check_password(password, django_hash)

Some links :

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pulse Mind

79339617

Date: 2025-01-08 14:50:41
Score: 2
Natty:
Report link

Still the same issue and solution. Removing the ECSServiceAvarageMemoryUtilization metric immediately 'enables' the scale-in activity, if ECSServiceAvarageCPUUtilization is below threshold. In our case the memory utilization (like 58%) where constantly operating close to the ECSServiceAvarageMemoryUtilization threshold of 60%. This might be a reason, too. I would expect, that there is a hysteresis within the scaling algorithm. Try to iterate with the memory utilization threshold.

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

79339613

Date: 2025-01-08 14:49:41
Score: 1
Natty:
Report link

The Maven task within Azure pipelines with coverage enabled manipulates the pom.xml to add the JaCoCo plugin, irrespective of whether the plugin was already included. This is the link to the relevant code performing this change.

Although not an ideal solution, removing the JaCoCo plugin from the pom.xml will resolve the error. With this approach, any configuration for JaCoCo has to be relocated to the Maven task.

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

79339611

Date: 2025-01-08 14:49:41
Score: 0.5
Natty:
Report link

After some quick discussion in Vimjoyer's Discord server:

  1. Nix evaluates config.scripts.output because I pointed nix-build to it with the -A flag.

  2. To evaluate config.scripts.output, Nix must know the value of config.requestParams.

  3. Evaluating config.requestParams requires knowing the value of ${config.scripts.geocode}

${config.script.geocode} is a string interpolation. Evaluating the value of config.script.geocode eventually boils down to the return value of mkDerivation. Per this, mkDerivation outputs a special attribute set that can be used in string interpolation,

and in that case evaluates to the Nix store path of its build result.

So this is why config.script.geocode gets built.

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

79339602

Date: 2025-01-08 14:46:40
Score: 1.5
Natty:
Report link

To grab values from a table at a specific Column use the following:

grab values from "my-table" at first column and save it as "first-column-values"

To grab values from a table at a specific Row use the following:

grab values from "my-table" at first row and save it as "first-row-values"

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

79339598

Date: 2025-01-08 14:46:40
Score: 3.5
Natty:
Report link

I'm working on a Spring Boot application with Thymeleaf for the front end and want to implement JWT authentication using only spring-boot-starter-security without any external JWT libraries.

Requirements:

The JWT should be generated and validated manually using Base64 and HMAC SHA256.

The token should be stored in an HTTP-only cookie for security.

The application should have login and logout functionality with Thymeleaf templates.

Current Setup:

I'm using the following dependencies:

<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-security</artifactId>
<groupId>org.springframework.boot</groupId>

<artifactId>spring-boot-starter-thymeleaf</artifactId>

Spring Security is configured to handle authentication and authorization.

Thymeleaf is used for rendering the login and home pages.

What I've Tried: I implemented a utility class to generate and validate JWTs using Base64 encoding and HMAC SHA256, a login controller to authenticate users and generate tokens, and a logout mechanism. However, I'm unsure how to structure my security configuration and validate the JWT on each request while keeping it secure.

Questions:

  1. How do I validate the JWT on each request and associate it with the current user session?

  2. Is storing the JWT in an HTTP-only cookie sufficient for security?

  3. Are there any improvements to this approach while still using only Spring Security and Thymeleaf?

Code Snippets:

Here’s my JWT utility class:

public class JwtUtil {

private static final String SECRET_KEY = "your-256-bit-secret";

private static final String ALGORITHM = "HmacSHA256";



public String generateToken(String username) {

    // Generate token logic

}



public String extractUsername(String token) {

    // Extract username logic

}



public boolean validateToken(String token) {

    // Validate token logic

}

}

Here’s my login controller:

@Controller

public class LoginController {

@PostMapping("/login")

public String login(String username, String password, HttpServletResponse response) {

    // Authenticate user and generate JWT

}



@GetMapping("/home")

public String home() {

    return "home";

}

}

Expected Behavior:

  1. Users should log in through a Thymeleaf login page.

  2. A JWT token should be generated and stored in an HTTP-only cookie upon successful login.

  3. The application should validate the token on every request and restrict access to authenticated users.

Any guidance, corrections, or suggestions would be appreciated!


Let me know if you want to modify this further before postin g!

Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): How do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Controller
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shah Harsh

79339597

Date: 2025-01-08 14:46:40
Score: 1.5
Natty:
Report link

@{list1}= ObtainVariablesKeyword

@{userlist}= Create List ${uservariableA} ${uservariableB} ${uservariableC} ${uservariableD} ${uservariableE}

${A} ${B} ${C} ${D} ${E}= Run Keyword If @{list1}!=None Set Variable @{list1} ... ELSE Set Variable @{userlist}

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

79339592

Date: 2025-01-08 14:45:38
Score: 4
Natty:
Report link

Constrains other than NOT NULL are not enforced, so a primary key is informational and don't enforces uniqueness on primary key fields, that'S why you already can add records whose pk exists already in the table. https://docs.snowflake.com/en/user-guide/table-considerations#label-table-considerations-referential-integrity-constraints

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

79339586

Date: 2025-01-08 14:44:38
Score: 1
Natty:
Report link

Elementor popup events today support just jQuery. If you need a Vanilla Js solution check this: https://eduardovillao.me/handle-elementor-popup-events-without-jquery/

// Select the <body> element
const body = document.body;

// Create a MutationObserver
const observer = new MutationObserver((mutations) => {
    mutations.forEach((mutation) => {
        // Check if new nodes were added
        if (mutation.type === "childList") {
            mutation.addedNodes.forEach((node) => {
                // Check if the added node is an Elementor popup modal
                if (node.classList && node.classList.contains("elementor-popup-modal")) {
                    console.log("Elementor popup detected:", node);
                    // Add your custom logic here
                }
            });
        }
    });
});

// Configure the observer to monitor the <body>
observer.observe(body, { childList: true });

// Stop observing when no longer needed (optional)
// observer.disconnect();
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eduardo Villão

79339583

Date: 2025-01-08 14:43:38
Score: 1.5
Natty:
Report link
=SUMPRODUCT(G11:G139*(MOD(ROW(G11:G139),2)=1))

Something like this might work if I understood your question right

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

79339582

Date: 2025-01-08 14:43:38
Score: 0.5
Natty:
Report link

The error occurred because my bot wasn't an admin in the channel specified in the reply_parameters. According to the Telegram Bots Documentation, all bots, regardless of settings, can only access messages from:

1. Private chats: Only when a user initiates the chat by starting it.

2. Groups / Supergroups:

NOTE: Privacy mode is enabled by default for all bots, except bots that were added to a group as admins. Read more

3. Channels: Only where the bot is an admin.

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

79339575

Date: 2025-01-08 14:41:37
Score: 2
Natty:
Report link

I was having the same problem. I noticed the images are read from a resource named:

_next/image?url=<path_to_image>

I'm running this from a docker container, and restarting the docker container was enough to regenerate the server cache.

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

79339571

Date: 2025-01-08 14:40:37
Score: 3.5
Natty:
Report link

I usually use "PHP Import Checker", try it

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

79339570

Date: 2025-01-08 14:40:37
Score: 0.5
Natty:
Report link

I'm currently working on an app that's going to connect to two Opensearch clusters.

My current plan is to simply swap the Searchkick client in code depending on which cluster I need to query, since it supports code like this:

client_one = OpenSearch::Client.new(...)
client_two = OpenSearch::Client.new(...)

Searchkick.client = client_one

And every operation from there will use the assigned client. It's still early in the project, but this is working so far.

Curious about how you ended up implementing this.

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

79339565

Date: 2025-01-08 14:39:37
Score: 1.5
Natty:
Report link

I was having the same problem. I even tried to change the node and npm mirror, but same error. I just rolled back to nvm version 1.1.12 and it worked just fine.

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

79339562

Date: 2025-01-08 14:38:36
Score: 1.5
Natty:
Report link

It still did not work in Eclipse with all solutions described above applied. The ant script was running well outside but in Eclipse I still got the error

"The prefix artifact for element artifact:dependencies is not bound..."

To resolve the issue I had to

  1. Open "Window / Preferences" in Eclipse
  2. Navigate to "Ant / Runtime"
  3. Open the tab "Classpath" and click on "Ant Home Entries"
  4. Click on the button "Add external jar" and choose the maven ant plugin jar I copied before into the lib folder of the ant eclipse plugin
Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jan Rasehorn

79339557

Date: 2025-01-08 14:37:36
Score: 0.5
Natty:
Report link

So, Google's "Find My Device" service, including its "ring" feature, is not publicly exposed via an official API. This is embedded natively in the Google ecosystem and is used by an end-user through the web interface or mobile app.

Why Google Keeps This API Under The Hood

Disruption of user privacy and security — Making such APIs public can result in misuse which can breach the privacy and security of the user.

Domain-specific: It is a feature that is only useful for users with Google accounts to control their devices, and exposing it as an API would compromise safety.

There Are Other Workarounds: You can already find your device via the web and with an app for most use cases, so an API is less critical.

Workarounds

Only if you need to programmatically activate the ringing feature (or similar capability) do this,

For example, third-party EMM or MDM solutions (like Microsoft Intune and Google Workspace Admin SDK for enterprise users) come with APIs to control the devices remotely. But they may not have the “ring” feature.

Custom App: If you have access to the devices you want to control, you could write a custom app that has permission to control the device and play a ringing sound via your code.

Conclusion

For personal use, you’ll need to go through Google’s existing “Find My Device” interface. For such organizations, enterprise solutions can probably offer equivalent functionality in their respective realms, stay away from. You may want to look for alternative approaches or consult the Google support if that is critical for your application.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: muhammad fadel yudha perwira

79339556

Date: 2025-01-08 14:37:36
Score: 1
Natty:
Report link

Or you can do a define in the project, the EXTJS language file is wrong, do it like this

Ext.define('Ext.locale.pt_BR.pivot.plugin.configurator.window.Settings', { override: 'Ext.pivot.plugin.configurator.window.Settings',

okText: 'Ok',
cancelText: 'Cancelar',
layoutText: 'Layout',
outlineLayoutText: 'Esboço',
compactLayoutText: 'Compacto',
tabularLayoutText: 'Tabular',
firstPositionText: 'Primeiro',
hidePositionText: 'Ocultar',
lastPositionText: 'Último',
rowSubTotalPositionText: 'Posição subtotal da linha',
columnSubTotalPositionText: 'Posição subtotal da coluna',
rowTotalPositionText: 'Posição total da linha',
columnTotalPositionText: 'Posição total da coluna',
showZeroAsBlankText: 'Mostrar zero como em branco',
yesText: 'Sim',
noText: 'Não'

});

Reasons:
  • Blacklisted phrase (1): Não
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Rodrigo Martincic

79339549

Date: 2025-01-08 14:35:35
Score: 2.5
Natty:
Report link

You need to add your target file type to Text content type. Window -> Preferences -> General -> Content Type

If your file type is CSV, add it under Text content type. Eclipse will use text compare as default.

enter image description here

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

79339544

Date: 2025-01-08 14:35:34
Score: 9.5 🚩
Natty: 5.5
Report link

Were you able to solve it, im having this problem too ?

Reasons:
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Oussama IG

79339542

Date: 2025-01-08 14:34:33
Score: 4.5
Natty:
Report link

I am also looking for some method to use a remote SoftHSM service. If someone is looking for a complex solution, maybe there is a project that will work properly: https://github.com/vegardit/docker-softhsm2-pkcs11-proxy

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

79339536

Date: 2025-01-08 14:33:32
Score: 1
Natty:
Report link

The problem was resolved, when I changed the PATH in run-slave.sh file in jenkins folder to following:

export ANDROID_HOME=~/Library/Android/sdk
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-18.0.2.jdk/Contents/Home
export PATH=$ANDROID_HOME/platform-tools:$ANDROID_HOME/tools:$ANDROID_HOME/build_tools:/Applications/Xcode.app/Contents/Developer/usr/bin:$JAVA_HOME/bin:/usr/local/lib:/bin:/usr/local/bin:/usr/bin:$PATH
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MilaLynx

79339527

Date: 2025-01-08 14:30:31
Score: 2
Natty:
Report link

shelves or ZODB are really good options. There's also persidict, a Python tool that works like a key-value dictionary but keeps its data saved on your disk or in an AWS S3 bucket.

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

79339519

Date: 2025-01-08 14:26:30
Score: 3.5
Natty:
Report link

seems to be in the use of signs $1 maybe just need to change it with %

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

79339513

Date: 2025-01-08 14:25:30
Score: 0.5
Natty:
Report link

The question is very old but here's an update for the current macOS version. macOS Sequoia (15) has jq commnand-line utility pre-installed with the operating system. Xcode command line developer tools package isn't needed.

$ which jq
/usr/bin/jq

$ jq --version
jq-1.6-159-apple-gcff5336-dirty
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ilari Stenroth

79339512

Date: 2025-01-08 14:24:29
Score: 1
Natty:
Report link

In my case, I had a similar error... but after increasing the amount of memory in racket from 128M to 500M and installing the complaining ".sty" file, it produced the PDF output

! LaTeX Error: File `mathabx.sty' not found.

Type X to quit or to proceed,

or enter new name. (Default extension: sty)

Enter file name:

! Emergency stop. <read *>

l.52 \packageWasysym ^^M

*** (cannot \read from terminal in nonstop modes)

Here is how much of TeX's memory you used:

8771 strings out of 475246

130799 string characters out of 5768754

516143 words of memory out of 5000000

31581 multiletter control sequences out of 15000+600000

558832 words of font info for 37 fonts, out of 8000000 for 9000

59 hyphenation exceptions out of 8191

75i,0n,79p,244b,38s stack positions out of 10000i,1000n,20000p,200000b,200000s

! ==> Fatal error occurred, no output PDF file produced!

. . ../usr/share/racket/pkgs/scribble-lib/scribble/private/run-pdflatex.rkt:19:0: run-pdflatex: got error exit code

===============

I found the package with:

apt-file update

apt-file search mathabx.sty

then:

apt install texlive-fonts-extra

:)

===============

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): ===============
  • Filler text (0): ===============
  • Low reputation (1):
Posted by: Achylles

79339511

Date: 2025-01-08 14:24:29
Score: 1
Natty:
Report link

Use a self-hosted Git service. For example, with Gitea, you can gather repository mirrors using multiple GitHub tokens (which you can later keep up to date, similar to GitHub forks).

With Gitea, you can either publish the packages using their API and configure HTTP access as well.

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • No code block (0.5):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: rozsazoltan

79339501

Date: 2025-01-08 14:21:28
Score: 0.5
Natty:
Report link

for transformers, pip install transformers==4.6.1 works, no cargo install, see this post.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: yu yang Jian

79339499

Date: 2025-01-08 14:20:28
Score: 2
Natty:
Report link

I found the cause. It looks a trivial issue but not easy to realize.

First, I will explain each command why it works or doesn't work.

So just adding a bare entry to the file like below, accessing "ssh user1@myserver" or "ssh user1@real-ip" will work well, but git+SSH absolutely does not work.

ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIvf4l5RjqWL+kOnxpqhhGAIcIkWVSHqLbgkAzMAlYGm user1@domain

The reason is the missing a part that links SSH key to the git operations that explains why SSH auth is OK but git does not recognized the repo path. So the correct syntax to connect git to SSH should look like below:

command="/usr/local/bin/gitea --config=/etc/gitea/app.ini serv key-6",no-port-forwarding,no-X11-forwarding,no-user-rc,no-pty,restrict ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIvf4l5RjqWL+kOnxpqhhGAIcIkWVSHqLbgkAzMAlYGm user1@domain

It is quite long to manually edit, it'd better to let gitea adding that for us via web UI. But one issue appears, since the "command" comes in, the SSH shell access using "user1" becomes impossible. I don't know how to enable access via both git+SSH and SSH for the same user. My solution is to create a new key for pure SSH access or consider enable the PasswordAuthentication option.

Notes I want to share:

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): solution is
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): user1
  • User mentioned (0): @grawity_u1686
  • User mentioned (0): @grawity_u1686
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: SteveH

79339495

Date: 2025-01-08 14:19:27
Score: 4
Natty:
Report link

i have now written this sql..

with cte1 as (
SELECT  
 cmo.[CMID] as object_id
,cmo.[PCMID] as parent_object_id
,cmo.[VERSION] as object_version
,cmo.[CREATED] as created_datetime
,cmo.[MODIFIED] as modified_datetime
,cmo.[DISABLED] as disabled
,cmo.[CLASSID] as class_id
,cmc.name as class_description
,cmo.[DISPSEQ] as display_sequence

-- report name --
,CMOBJNAMES.NAME

-- self join to get parent_class_id
, cmo2.CLASSID as parent_class_id

-- parent_class_desription
, cmc2.NAME as parent_class_description

,cmobjnames2.name as parent_object_name

, cmref2.REFCMID as owner_id

, props33.name as owner_name
, props33.userid as owner_user_id
, props33.LASTLOGIN as owner_last_login
, props33.license as owner_license_code


FROM CMOBJECTS cmo

-- get classid description
left join CMCLASSES cmc on
cmo.CLASSID=cmc.CLASSID

-- get objectname
left join CMOBJNAMES on
cmo.cmid=CMOBJNAMES.cmid
and CMOBJNAMES.isdefault=1


left join [CMOBJECTS] cmo2 on
cmo.PCMID=cmo2.CMID

left join CMCLASSES cmc2 on
cmo2.CLASSID=cmc2.CLASSID

--get parent object name
left join CMOBJNAMES cmobjnames2 on
cmo.pcmid=cmobjnames2.cmid
--and cmobjnames2.LOCALEID=92
and cmobjnames2.isdefault=1


-- get ownerid of report
left join CMREFNOORD2 cmref2 on
cmo.CMID=cmref2.CMID

-- gte owner attributes

left join CMOBJPROPS33 props33 on
cmref2.REFCMID=props33.cmid


WHERE 1=1
--and (cmo.disabled=0
--or cmo.disabled is null
--)
and cmc.name = 'report'

)

select * from cte1

which returns this output.. (transposed into record format for easier viewing here)

enter image description here

I'm looking to add in when the reports werre accessed / run etc next to see if we can filter out any not used for a while. Does anyone know what tables i could use for this?

Thanks,

Rob.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: RobR

79339493

Date: 2025-01-08 14:18:26
Score: 1.5
Natty:
Report link

Dataweave also supports newline-delimited json (ndjson) https://docs.mulesoft.com/dataweave/latest/dataweave-formats-ndjson

What you have here looks exactly like that. Before loading it, maybe try renaming the file ending to .ndjson.

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

79339490

Date: 2025-01-08 14:18:25
Score: 6 🚩
Natty: 6.5
Report link

Can you tell me how can you do security, challenger, mutual authentication before you send the encrypt APDU with INS 21 ( verify)

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me how
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Thao Nguyen Phong

79339485

Date: 2025-01-08 14:17:25
Score: 0.5
Natty:
Report link

Made usable again by getting rid of /Users/<me>/Library/Application Support/JetBrains/IntelliJIdea2024.3/plugins/python/helpers-pro/bundled_stubs/django-stubs

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

79339482

Date: 2025-01-08 14:16:25
Score: 0.5
Natty:
Report link

There is an option to set the pivot point of the sprite similar to css "transform-origin".

In case we need a label to be on top of the object, the y should be negative, e.g. -0.35 on the screenshot below and up to -1:

    sprite.center.set( 0, -1 );

enter image description here

Works for r146 (probably other versions as well)

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

79339480

Date: 2025-01-08 14:16:25
Score: 1
Natty:
Report link

From the docs:

nitro:build:public-assets

Called after copying public assets. Allows modifying public assets before Nitro server is built.

    export default defineNuxtModule({
      setup (options, nuxt) {
        nuxt.hook('nitro:build:public-assets', async () => {

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

79339477

Date: 2025-01-08 14:15:24
Score: 2
Natty:
Report link

This is resolved now.

I modified the Excel class reading logic to include relationship information:

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

79339468

Date: 2025-01-08 14:10:22
Score: 4
Natty:
Report link

I am embarrassed. The workbook had not been saved since I added ranges "DT_25" to "DT_30". Once saved the python code worked perfectly. Simple, simple oversight. @moken and @user202311 thank you for your help and suggestions.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Whitelisted phrase (-0.5): thank you for your help
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @moken
  • User mentioned (0): @user202311
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mark Barry

79339465

Date: 2025-01-08 14:08:21
Score: 7.5 🚩
Natty: 5.5
Report link

@adden00 Is there any doc that shows how to build native lib libtun2socks.so ?

Reasons:
  • Blacklisted phrase (1): Is there any
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @adden00
  • Single line (0.5):
  • Looks like a comment (1):
Posted by: Rob

79339449

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

I think that you will need to explicitly set the auto_adjust parameter to false in order to (now) get the 'Adj Price' column.

df = yf.download('nvda', period="1d", auto_adjust=True)

Otherwise, you just get 'Close'.

I'm using Version: 0.2.51

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Martin Añazco

79339437

Date: 2025-01-08 13:58:16
Score: 6.5 🚩
Natty: 5
Report link

I have the same problem. Where _textEdgeNgramS is working, _textNgramS isn't. Unfortunately documentation is rather incomplete on this as usual.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Emile Blume

79339432

Date: 2025-01-08 13:56:16
Score: 0.5
Natty:
Report link

I think this is a BUG. In some cases you just need to have certain settings machine wide - like proxy-settings. Unfortunately Java ignores windows default settings. So, you need dedicated java settings like JAVA_TOOL_OPTIONS this shouldn't be an error, this should be an info at best.

ref: https://community.sonarsource.com/t/java-tool-options-setting-in-azure-devops-causes-failure/7764

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

79339421

Date: 2025-01-08 13:52:15
Score: 3
Natty:
Report link

I do not know who edited my question as a sole javascript problem and underlined as this is not a django thing. And gave minus. I would be really pleased if I could give minus to who edited my question and deleted my code.

Here is the problem: 1 - Django escapes from empty form. I stored the “empty form” in a block with {% autoescape off %}. 2 - Changed form index to prefix and then my problem solved.

Reasons:
  • RegEx Blacklisted phrase (1): I would be really please
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: eva-2021

79339419

Date: 2025-01-08 13:52:15
Score: 1.5
Natty:
Report link

The height of .marketing needs to be set to 100%

With the current code the iframe is indeed going 100% height and width, but to the size of the .marketing div. If we increase its height to 100% it resolves this issue

enter image description here

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

79339418

Date: 2025-01-08 13:52:15
Score: 0.5
Natty:
Report link

what i do is await Task.Run and call it without await inside. Like this:

 return await Task.Run<IEnumerable<ViewsDataModel>?>(() => {
     lock (context)
     {
         return context.ViewsDataModels.Where(o => o.Owner == userId).ToList();
     }
 });
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): what i
Posted by: Benoit

79339411

Date: 2025-01-08 13:50:04
Score: 1
Natty:
Report link

Since Dec 12, 2023 there is a new feature to validate directly by string: https://github.com/google/uuid/commit/9ee7366e66c9ad96bab89139418a713dc584ae29

var string anyUUID = "elmo"
err := uuid.Validate(anyUUID) // will result in an error

Live example: https://go.dev/play/p/QIzW63S0Oda

This is very useful when it comes to testing:

assert.NoError(t, uuid.Validate(anyUUID))
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
Posted by: Kevin

79339410

Date: 2025-01-08 13:50:04
Score: 0.5
Natty:
Report link

In my case I was developing a custom module for drupal 9, when I encountered 'drush command terminated abnormally' when running a module disable or update db command via command line (git-bash). eg. drush pm-uninstall <my_module> -y --debug --verbose and it wouldn't give more info than that.

The error was eventually found by running the same command via the UI and checking the /var/log/apache2/error.log. When running on the command line, the commands go through drush, and the php interpreter and the log location is found with

php -i | grep error_log

this location had all my errors

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

79339404

Date: 2025-01-08 13:48:59
Score: 6 🚩
Natty:
Report link

Iam looking for solution for couple of weeks for the above-mentioned issue, Any help will be appreciable. Please suggest the best solution for this problem.

Reasons:
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (2.5): Please suggest
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: saurav sharma

79339401

Date: 2025-01-08 13:48:59
Score: 1.5
Natty:
Report link

Go to verify_id_token() function in auth.py and change clock_skew_seconds=0 to clock_skew_seconds=60. It is working fine for me.

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

79339400

Date: 2025-01-08 13:48:57
Score: 12 🚩
Natty: 5
Report link

did you manage to fix this problem?? Because i have the same issue!!! Some name of the settings are missing when i try to print and don't print all the settings that i see in the NVIDIA Control Panel in the Manage 3D Setting tab. I don't understand why :(

Reasons:
  • Blacklisted phrase (1): i have the same issue
  • Blacklisted phrase (1): :(
  • RegEx Blacklisted phrase (3): did you manage to fix this problem
  • RegEx Blacklisted phrase (1.5): fix this problem??
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): i have the same issue
  • Contains question mark (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: ChiaraDebug

79339397

Date: 2025-01-08 13:47:57
Score: 1.5
Natty:
Report link

it's

import twain

not

import pytwain

Take a look at the Documentation.

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

79339390

Date: 2025-01-08 13:46:56
Score: 1
Natty:
Report link

I have found a way to make it work in regional in europe, by adding this to my config:

CALLER_ID = "urn:botframework:azure"
OAUTH_URL = "https://europe.token.botframework.com/"
TO_CHANNEL_FROM_BOT_LOGIN_URL = f"https://login.microsoftonline.com/{APP_TENANTID}/oauth2/v2.0/token"
TO_CHANNEL_FROM_BOT_OAUTH_SCOPE = "https://api.botframework.com/.default"
TO_BOT_FROM_CHANNEL_TOKEN_ISSUER = "https://api.botframework.com"
TO_BOT_FROM_CHANNEL_OPENID_METADATA_URL = "https://login.botframework.com/v1/.well-known/openidconfiguration"
TO_BOT_FROM_EMULATOR_OPENID_METADATA_URL = "https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration"
VALIDATE_AUTHORITY = True

source:

https://learn.microsoft.com/en-us/azure/bot-service/bot-builder-concept-regionalization?view=azure-bot-service-4.0

https://learn.microsoft.com/en-us/azure/bot-service/ref-oauth-redirect-urls?view=azure-bot-service-4.0

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

79339385

Date: 2025-01-08 13:44:56
Score: 3
Natty:
Report link

check this package this is a very helpful cli tool to create folders for both react and next js with js and typescript https://www.npmjs.com/package/react-cli-builder

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

79339376

Date: 2025-01-08 13:41:55
Score: 2
Natty:
Report link

Discuss in community

According discussing in community here, if you use UTF_8, ignore_above should set 32766 / 4 = 8191 since UTF-8 characters may occupy at most 4 bytes.

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

79339373

Date: 2025-01-08 13:41:55
Score: 1
Natty:
Report link

I disabled the scalebar the following way:

    mapView.scalebar.enabled = false

But I am using Mapbox version "11.1.0"

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

79339372

Date: 2025-01-08 13:41:55
Score: 1.5
Natty:
Report link

David Foerster's answer was very instructive. Thanks for answer. Don't have rep to comment apparently (think I forgot my original account). But wanted to add the locale chosen must exist (and the given string must be valid within that locale.

E.g. I do not have en_US.UTF-8, so my output was content-type:text/html; charset:utf-8 ?EURo Dikaiopolis en agro estin

?EURo Dikaiopolis en agro estin

4 5 6

When I changed it to a proper locale for the system, I got the expected:

content-type:text/html; charset:utf-8

🕽€ο Δικαιοπολις εν αγρω εστιν

🕽€ο Δικαιοπολις εν αγρω εστιν

4 5 6

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): to comment
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: transience_iszquasia

79339369

Date: 2025-01-08 13:40:55
Score: 0.5
Natty:
Report link

What you are trying to achieve is an "area" chart type, not "line" chart.

Try changing your script to this:

const dataPoints = [-10, 3, -5, -18, -10, 12, 8]

const discreteMarkers = dataPoints.map((value, index) => {
  return {
    shape: "circle",
    size: 4,
    seriesIndex: 0,
    dataPointIndex: index,
    fillColor: "#ffffff",
    strokeWidth: 1,
  };
});

var options = {
  chart: {
    height: 380,
    type: "area",
    foreColor: '#aaa',
    zoom: {
      type: 'x',
      enabled: true,
      autoScaleYaxis: true
    },
  },
  series: [
    {
      name: "Series 1",
      data: dataPoints
    }
  ],
  stroke: {
    width: 5,
    curve: "monotoneCubic"
  },
  plotOptions: {
    line: {
      colors: {
        threshold: 0,
        colorAboveThreshold: '#157446',
        colorBelowThreshold: '#C13446',
      },
    },
  },
  markers: {
    discrete: discreteMarkers
  },
  grid: {
     borderColor: '#6D6D6D',
     strokeDashArray: 3,
  },
  xaxis: {
    categories: [
      "01 Jan",
      "02 Jan",
      "03 Jan",
      "04 Jan",
      "05 Jan",
      "06 Jan",
      "07 Jan"
    ]
  },
  dataLabels: {
    enabled: false
  },
  
  stroke: {
      curve: 'smooth',
      width: 2
  },
  fill: {
    type: "solid",
    colors: ["#E6F4EA" ]
  },
};

var chart = new ApexCharts(document.querySelector("#chart"), options);

chart.render();

That would render this:

Apex Area Chart with fill

Reasons:
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you are
  • Low reputation (0.5):
Posted by: spamserv

79339367

Date: 2025-01-08 13:40:55
Score: 2.5
Natty:
Report link

In the UPS API documentation, they say that the returned URL containing the label PDF, will be active for 24 hours.

https://developer.fedex.com/api/en-us/catalog/ship/v1/docs.html#operation/Create%20Shipment

enter image description here

So, after generate a new label, the recommended approach is to store the PDF file into some external service like S3 or other.

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

79339366

Date: 2025-01-08 13:40:55
Score: 2
Natty:
Report link

Since Python is an interpreted language, each enviroment links to an executable associated with the enviroment, which then interprets the Python code. Have you thought about using subprocess.run () to therefore start the matching executable with the code you want to run as a file parameter?

import subprocess

python_executable = f"{path_to_enviroment}/bin/python" 
command = [python_executable, script_path]

result = subprocess.run(command, capture_output=True, text=True)
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: theotechnic

79339361

Date: 2025-01-08 13:39:54
Score: 1.5
Natty:
Report link

I use date and strings :

$fullYear = date("Y");
$century = substr($fullYear, 0, 2);

use intval if you need to calculate something

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

79339359

Date: 2025-01-08 13:38:54
Score: 1.5
Natty:
Report link

You can just declare a variable in your TS file based on the window ?

export class MyComponent {
  diameter = window.clientWidth / 10;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: MGX

79339356

Date: 2025-01-08 13:38:54
Score: 1.5
Natty:
Report link

This might save someone's day,

The error in our case was that the permissions for SSRS (SQL Server Reporting Service) were not enough, and I changed my Application Pool for IIS it was configured to ApplicationPoolIdentity. I changed my Application Pool to LocalSystem and it fixed it.

Also adding low-level try-catch helped me to identify the real error, as this error usually is not accurate and there's an underlying error

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

79339343

Date: 2025-01-08 13:33:52
Score: 5.5
Natty:
Report link

Thanks for your reply Ahmed! Can you maybe tell me what versions you were using? Nuxt version and so on?

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Digital Forge

79339341

Date: 2025-01-08 13:33:52
Score: 1.5
Natty:
Report link

The MultiControl Hub lets you manage multiple computers with one keyboard and mouse, offering seamless, lag-free switching without extra software. Ideal for professionals, gamers, and multitaskers, it saves desk space and boosts productivity.

Key Features:

Control multiple devices with one keyboard and mouse Plug-and-play—no software needed Instant, lag-free switching Reduces desk clutter Compatible with Windows, macOS, and Linux Enhances workflow and efficiency

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

79339339

Date: 2025-01-08 13:33:52
Score: 2.5
Natty:
Report link

In my case, I forgot to associate the variable with the project in Vercel. There you have a box that indicates that the variable is associated with XXXX project, by default it is not associated with any

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

79339337

Date: 2025-01-08 13:32:51
Score: 11
Natty: 7.5
Report link

did you managed to resolve this?

Reasons:
  • RegEx Blacklisted phrase (3): did you manage
  • RegEx Blacklisted phrase (1.5): resolve this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Danny Michaels

79339336

Date: 2025-01-08 13:32:50
Score: 11 🚩
Natty: 5.5
Report link

Did somebody resolve this thing?

Reasons:
  • RegEx Blacklisted phrase (3): Did somebody resolve this
  • RegEx Blacklisted phrase (1.5): resolve this thing?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Did somebody
  • Low reputation (1):
Posted by: Samarth Kadam

79339331

Date: 2025-01-08 13:31:50
Score: 1
Natty:
Report link
  1. Use a repository like GitHub Packages, Nexus Repository Manager, or JFrog Artifactory to store your jar file.
  2. Automate the process of uploading the jar file to the artifact repo whenever there is a version update using CI/CD tools like Jenkins
  3. Finally, share the repo details with team so that they can include the configuration in their Maven pom.xml files

This way your team can pull required/latest version from repo.

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

79339326

Date: 2025-01-08 13:31:50
Score: 1.5
Natty:
Report link

On the magit status page, type d for diff, r for range, and then enter "master" for the branch to diff with.

It will show all the diffs, the trick is, on the Magit-diff buffer press Shfit+Tab (which is bind to "magit-section-cycle-global") to collapse the sections and show only the file names.

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

79339323

Date: 2025-01-08 13:30:49
Score: 2
Natty:
Report link

For faster bulk inserts better to modify your data in a temporary table before inserting it into the final table. Then, INSERT ... SELECT; to insert everything at once.

This reduces extra work for the database and speeds things up. Chunk is usually only needed for extremely large datasets

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

79339321

Date: 2025-01-08 13:28:49
Score: 1
Natty:
Report link

should do the work =)

was testing on your example

with open(csv_file, "r") as file:
    reader = csv.DictReader(file)
    for row in reader:
        print(row)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Artem Strogin

79339316

Date: 2025-01-08 13:27:49
Score: 3.5
Natty:
Report link

I found this, while trying to figuring out how to allow "Allow unauthenticated invocations" at: https://stackoverflow.com/a/78545216/5503408

And it works fine if we want to disable the authentication.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tej Sanura

79339310

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

Here is solution or overview for your question, I hope it will useful for you...

public function register(Request $request)
{
    // Validate form data
    $request->validate([
        'name' => ['required', 'regex:/^[\pL\s]+$/u', 'max:255'],
        'email' => ['required', 'email', 'unique:users,email'],
        'password' => [
            'required',
            'min:8',
            'regex:/[A-Z]/', // At least one uppercase letter
            'regex:/[a-z]/', // At least one lowercase letter
            'regex:/[0-9]/', // At least one digit
            'confirmed' // Match with password_confirmation
        ],
    ], [
        'name.required' => 'The name field is required.',
        'name.regex' => 'The name can only contain letters and spaces.',
        'email.required' => 'The email field is required.',
        'email.email' => 'Please provide a valid email address.',
        'email.unique' => 'This email address is already registered.',
        'password.required' => 'The password field is required.',
        'password.min' => 'The password must be at least 8 characters long.',
        'password.regex' => 'The password must contain at least one uppercase letter, one lowercase letter, and one digit.',
        'password.confirmed' => 'The password confirmation does not match.',
    ]);

    // Save user data
    User::create([
        'name' => $request->name,
        'email' => $request->email,
        'password' => bcrypt($request->password),
    ]);

    return redirect()->route('login')->with('success', 'Registration successful!');
}

also you can put that validation code in request file create new request file for register form validation using following command

php artisan make:request RegisterRequest

And then add rules and message in their request file function, i suggest this way because you practice that way when code is optimised and also you can reuse in case of crud function

Reasons:
  • RegEx Blacklisted phrase (2.5): Please provide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rinkal Jasani

79339299

Date: 2025-01-08 13:21:47
Score: 1
Natty:
Report link

Your list should be formatted as follows:

{
    "data": [
        {
            "date": "2022-12-13",
            "symbol": "nsht",
            "price": "45.12"
        },
        {
            "date": "2022-12-13",
            "symbol": "asdf",
            "price": "45.14442"
        }
    ]
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: pmxi

79339291

Date: 2025-01-08 13:20:47
Score: 3.5
Natty:
Report link

tbm tive esse erro mas graças a resposta do amigo conseguir resolver

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hyuri Araújo

79339279

Date: 2025-01-08 13:17:46
Score: 3
Natty:
Report link

it seems your project structure has a root folder (package) so you need to import it as follows: from myProject.package.items import item

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

79339274

Date: 2025-01-08 13:15:46
Score: 1
Natty:
Report link

There are a couple of things that come to mind with regards to this error.

Verify that the Salesforce user account you're using has the "API Enabled" permission. This is required to connect through the JDBC driver.

If your IP address is not included in Salesforce's trusted IP ranges, the connection will fail unless you append the security token to the password. Make sure your current IP address is allowed under Setup > Security Controls > Network Access in Salesforce.

You might also need to modify you jdbc url to include AuthScheme:

jdbc:cdata:salesforce:AuthScheme=Basic;User=myUser;Password=myPassword;Security Token=myToken;

In case the error still persists you can add logging properties to your connection string by modifying it to:

jdbc:cdata:salesforce:AuthScheme=Basic;User=myUser;Password=myPassword;Security Token=myToken;Logfile=D:\\path\\to\\logfile.log;LogVerbosity=3;

Once the Logs are generated please navigate to the error message to get more detailed information on this.

Reasons:
  • Blacklisted phrase (1): regards
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anil

79339273

Date: 2025-01-08 13:14:46
Score: 1.5
Natty:
Report link

Currently, Visual Studio does not support creating custom snippets for Razor, so something like or won't work. You can check the supported languages here: Code snippets schema reference.

Apparently, only built-in snippets work in .razor files. You can find a discussion and some suggestions to work around this limitation, such as editing built-in snippets or using the legacy editor, in this issue: 6397.

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

79339269

Date: 2025-01-08 13:12:45
Score: 2.5
Natty:
Report link

In AndroidManifest file

Step 1: Step 2: android:usesCleartextTraffic="true" (Important) Step 3: cd android ./gradlew clean

and rebuild your project, it will work's

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

79339263

Date: 2025-01-08 13:11:45
Score: 0.5
Natty:
Report link

Using Laravel Join

Using Laravel Relations

In Simple words....

For large data sets, go with joins to optimize performance.
For medium to small data sets or when focusing on maintainable and readable code, use Eloquent relationships with eager loading.

Note : If you're dealing with extremely large data sets, consider using chunking or pagination with either approach to avoid memory exhaustion.

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

79339254

Date: 2025-01-08 13:08:44
Score: 4.5
Natty:
Report link

The issue has been discussed with the Spring team: https://github.com/spring-cloud/spring-cloud-stream/issues/3066

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

79339251

Date: 2025-01-08 13:08:44
Score: 1
Natty:
Report link

For SSO ,You can use Id token to verify using jwt package and use jwt.decode or go to official jwt.io site. With access token if you want to try ,then you need private and public keys.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sachin Ragul

79339237

Date: 2025-01-08 13:05:42
Score: 5
Natty:
Report link

In some cases it doesn't work if your phone is set to safe-battery mode. https://stackoverflow.com/a/71118394/24131641

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nikos Tsolakos

79339233

Date: 2025-01-08 13:04:42
Score: 0.5
Natty:
Report link

I spotted an issue that did not solve the problem but is related, the dynamic template was missing the field match_pattern setting the pattern to regex, the correct version follows:

fields: {
    mapping: {
        type: 'text'
    },
    match_mapping_type: 'string',
    match_pattern: 'regex',
    path_match: 'dict.*',
    match: '^\\d{1,19}$'
}

in addition to this dynamic template correction I needed to introduce the following to my mapping.properties:

dict: { type: 'object' },

in my tests this accepts the digit fields and reject non-digit ones, solving the problem, but also accept empty dict, which is not ideal.

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

79339228

Date: 2025-01-08 13:03:41
Score: 4
Natty: 4
Report link

I have this same exact issue. Is driving me crazy.

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

79339217

Date: 2025-01-08 12:59:39
Score: 5
Natty: 4.5
Report link

use BB_ENV_PASSTHROUGH_ADDITIONS https://docs.yoctoproject.org/bitbake/bitbake-user-manual/bitbake-user-manual-metadata.html#passing-information-into-the-build-task-environment

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: xiang Lin

79339213

Date: 2025-01-08 12:58:38
Score: 11
Natty: 7.5
Report link

Did you get any solution?? I am right now stuck at this problem.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you get any solution
  • RegEx Blacklisted phrase (2): any solution?
  • 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
  • Low reputation (1):
Posted by: M IHSAN

79339204

Date: 2025-01-08 12:54:35
Score: 7 🚩
Natty: 6
Report link

I need help on this one too, bumping the ticket for assistance!

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Steve Jobs