79276090

Date: 2024-12-12 17:50:35
Score: 2.5
Natty:
Report link

I managed to solve this problem by changing

<AndroidPackageFormat>aab</AndroidPackageFormat>

to

<AndroidPackageFormat>apk</AndroidPackageFormat>

In project settings.

See also: https://developercommunity.visualstudio.com/t/Visual-Studio-1710-MAUI-NET-8-Android:/10707962

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

79276087

Date: 2024-12-12 17:50:35
Score: 1.5
Natty:
Report link

In my case after change parameters for each one of the sources I could fix this issue. For some reason it started considering fix IP and disabled parameters, I edited it via PBI Desktop, remove the fix IP and add parameters (server and database).

from = PostgreSQL.Database("111.111.111.111:PORT", db_prod) to = PostgreSQL.Database(Server_IP, Database)

enter image description here

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

79276085

Date: 2024-12-12 17:50:35
Score: 3.5
Natty:
Report link

There's a book called The art of assembly language the second edition by Randall Hyde, Which is dedicated to HLA, I recommend you to see it.

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

79276070

Date: 2024-12-12 17:44:33
Score: 3.5
Natty:
Report link

Try setting browserstackLocal as true in the BrowserStack.yml file and to make sure that the browserstack local is running you can check localhost:45454 and see if the UI loads.

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

79276065

Date: 2024-12-12 17:41:32
Score: 1.5
Natty:
Report link

The directory is owned by root. Change the ownership to your user macmini before modifying permissions:

sudo chown macmini:staff ServerBacku

Retry then verify with ls -le.

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

79276063

Date: 2024-12-12 17:39:30
Score: 11 🚩
Natty: 4.5
Report link

I'm having the same problem. I'm trying to configure new environment including TATHU ( Trancking and Analysis of Thunderstorms) module and use it in Spyder. I Installed the last version of Anaconda and create a new environment including TATHU module and Spyder kernel and I also install GDAL package from ANACONDA. I activated it and set it as preferred kernel on Spyder. When I try to import gdal using the command from osgeo import gdal I receive the following message:

ModuleNotFoundError: No module named '_gdal'

It Interesting is that when check if GDAL is installed using the command CONDA SEARCH gdal I receive the following list:

Name Version Build Channel

gdal 2.2.2 py27h58389d3_1 pkgs/main gdal 2.2.2 py35h202a4aa_1 pkgs/main gdal 2.2.2 py36hcebd033_1 pkgs/main gdal 2.3.2 py36h16ee443_0 pkgs/main gdal 2.3.2 py36hc52aedc_0 pkgs/main gdal 2.3.2 py37h16ee443_0 pkgs/main gdal 2.3.2 py37hc52aedc_0 pkgs/main gdal 2.3.3 py36hdf43c64_0 pkgs/main gdal 2.3.3 py37hdf43c64_0 pkgs/main gdal 2.3.3 py38hdf43c64_0 pkgs/main gdal 3.0.2 py310h3243524_6 pkgs/main gdal 3.0.2 py36hb978731_1 pkgs/main gdal 3.0.2 py36hdf43c64_0 pkgs/main gdal 3.0.2 py37hb978731_1 pkgs/main gdal 3.0.2 py37hb978731_2 pkgs/main gdal 3.0.2 py37hb978731_3 pkgs/main gdal 3.0.2 py37hb978731_4 pkgs/main gdal 3.0.2 py37hb978731_5 pkgs/main gdal 3.0.2 py37hb978731_6 pkgs/main gdal 3.0.2 py37hdf43c64_0 pkgs/main gdal 3.0.2 py38hb978731_1 pkgs/main gdal 3.0.2 py38hb978731_2 pkgs/main gdal 3.0.2 py38hb978731_3 pkgs/main gdal 3.0.2 py38hb978731_4 pkgs/main gdal 3.0.2 py38hb978731_5 pkgs/main gdal 3.0.2 py38hb978731_6 pkgs/main gdal 3.0.2 py38hdf43c64_0 pkgs/main gdal 3.0.2 py39hb978731_1 pkgs/main gdal 3.0.2 py39hb978731_2 pkgs/main gdal 3.0.2 py39hb978731_3 pkgs/main gdal 3.0.2 py39hb978731_4 pkgs/main gdal 3.0.2 py39hb978731_5 pkgs/main gdal 3.0.2 py39hb978731_6 pkgs/main gdal 3.4.1 py310h0fae465_0 pkgs/main gdal 3.4.1 py37h9b7a543_0 pkgs/main gdal 3.4.1 py38h9b7a543_0 pkgs/main gdal 3.4.1 py39h9b7a543_0 pkgs/main gdal 3.6.0 py310ha7264f1_0 pkgs/main gdal 3.6.0 py310ha7264f1_1 pkgs/main gdal 3.6.0 py311h4eb7e23_0 pkgs/main gdal 3.6.0 py37h36fb4bc_0 pkgs/main gdal 3.6.0 py37h36fb4bc_1 pkgs/main gdal 3.6.0 py38h36fb4bc_0 pkgs/main gdal 3.6.0 py38h36fb4bc_1 pkgs/main gdal 3.6.0 py39h36fb4bc_0 pkgs/main gdal 3.6.0 py39h36fb4bc_1 pkgs/main gdal 3.6.2 py310h1c2bfe4_1 pkgs/main gdal 3.6.2 py310h3565590_3 pkgs/main gdal 3.6.2 py310h7670e6c_3 pkgs/main gdal 3.6.2 py310h7670e6c_4 pkgs/main gdal 3.6.2 py310h7670e6c_5 pkgs/main gdal 3.6.2 py310h7670e6c_6 pkgs/main gdal 3.6.2 py310h7670e6c_7 pkgs/main gdal 3.6.2 py310ha7264f1_0 pkgs/main gdal 3.6.2 py310hf6e6a5b_2 pkgs/main gdal 3.6.2 py311h0fa4dd5_2 pkgs/main gdal 3.6.2 py311h4e7b5b2_3 pkgs/main gdal 3.6.2 py311h4e7b5b2_4 pkgs/main gdal 3.6.2 py311h4e7b5b2_5 pkgs/main gdal 3.6.2 py311h4e7b5b2_6 pkgs/main gdal 3.6.2 py311h4e7b5b2_7 pkgs/main gdal 3.6.2 py311h4eb7e23_0 pkgs/main gdal 3.6.2 py311ha692538_1 pkgs/main gdal 3.6.2 py311hdc74492_3 pkgs/main gdal 3.6.2 py312h8827949_3 pkgs/main gdal 3.6.2 py312h8827949_4 pkgs/main gdal 3.6.2 py312h8827949_5 pkgs/main gdal 3.6.2 py312h8827949_6 pkgs/main gdal 3.6.2 py312h8827949_7 pkgs/main gdal 3.6.2 py38h3565590_3 pkgs/main gdal 3.6.2 py38h36fb4bc_0 pkgs/main gdal 3.6.2 py38h7670e6c_3 pkgs/main gdal 3.6.2 py38h7670e6c_4 pkgs/main gdal 3.6.2 py38h7670e6c_5 pkgs/main gdal 3.6.2 py38h9eae49a_1 pkgs/main gdal 3.6.2 py38hf6e6a5b_2 pkgs/main gdal 3.6.2 py39h3565590_3 pkgs/main gdal 3.6.2 py39h36fb4bc_0 pkgs/main gdal 3.6.2 py39h7670e6c_3 pkgs/main gdal 3.6.2 py39h7670e6c_4 pkgs/main gdal 3.6.2 py39h7670e6c_5 pkgs/main gdal 3.6.2 py39h7670e6c_6 pkgs/main gdal 3.6.2 py39h7670e6c_7 pkgs/main gdal 3.6.2 py39h9eae49a_1 pkgs/main gdal 3.6.2 py39hf6e6a5b_2 pkgs/main

Someone knows how to solve this problem?

Thank you

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I'm having the same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve this problem?
  • RegEx Blacklisted phrase (2): knows how to solve
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Marco Aurelio Faial Rodrigues

79276054

Date: 2024-12-12 17:36:29
Score: 3
Natty:
Report link

this solution worked to me

<domain includeSubdomains="true">127.0.0.1</domain>
        <domain includeSubdomains="true">localhost</domain>
        <domain includeSubdomains="true">10.0.2.2</domain>
        <domain includeSubdomains="true">10.0.3.2</domain>

https://stackoverflow.com/a/63286158/1308590

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: famfamfam

79276053

Date: 2024-12-12 17:35:29
Score: 3.5
Natty:
Report link

get_permalink, needs an id as a parameter, get_the_permalink uses the current post id. https://developer.wordpress.org/reference/functions/get_permalink/ https://developer.wordpress.org/reference/functions/get_the_permalink/

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

79276040

Date: 2024-12-12 17:32:28
Score: 3
Natty:
Report link

I had same problem for my old project and I tried other solution but it is not working for me.

Solution worked for me:

Reasons:
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • No code block (0.5):
Posted by: Nitin Patel

79276035

Date: 2024-12-12 17:30:28
Score: 1.5
Natty:
Report link

An example with Pandas:

df = pd.DataFrame({"DT_CLS": ["date1", "date2", np.nan, np.nan, "date3"]})
df["OPEN_CLS_STS"] = df["DT_CLS"].map(lambda x: "C" if x is not np.nan else "O")
display(df)

res

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

79276026

Date: 2024-12-12 17:28:28
Score: 1
Natty:
Report link

To differentiate between an AddressSanitizer (ASan) error and a program exit, set ASAN_OPTIONS=halt_on_error=0 to allow the program to continue running after an ASan error. Then check the logs or output for ASan-specific error messages rather than relying solely on the exit code. Unfortunately, exitcode in ASAN_OPTIONS doesn't work as expected in all cases due to tool limitations. A more robust approach is to wrap your program in a script that captures ASan output for analysis.

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

79276022

Date: 2024-12-12 17:27:27
Score: 1.5
Natty:
Report link

Remove the @:

    Public Sub OnGet()
        Dim query = $"
Today is {DateTime.Today} 
and it is a {DateTime.Today.DayOfWeek}
"
    End Sub

More info: How to do a verbatim string literal in VB.NET?

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Andrew Morton

79276010

Date: 2024-12-12 17:22:26
Score: 1
Natty:
Report link

MUI Date Picker V7: If you're using react hook useForm you'll need to set the register function inside the textfield object of the slotProps.

<DatePicker ...
    slotProps={{
     textField: {
      ...register('propertyName'),
      error: !!errors?.propertName?.message,
      helperText: errors?.propertyName?.message
     },
    }}
...  />
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Kyra

79276003

Date: 2024-12-12 17:20:25
Score: 5.5
Natty: 5.5
Report link

Any Swift UIKIt Alternative LIbrary now a days?

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

79275994

Date: 2024-12-12 17:17:24
Score: 1.5
Natty:
Report link

We changed our project's dependencies to leverage pyproject.toml instead of the setup.py which caused the same issue where the Cython (.pyx) files were not recognized by PyCharm's editor, but everything was built correctly. Every import from a Cython file showed squiggly red lines.

After upgrading from PyCharm Community 2024.3 to PyCharm Professional 2024.3, the squiggly red lines disappeared and the Cython files seemed to integrate properly.

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

79275985

Date: 2024-12-12 17:14:23
Score: 1.5
Natty:
Report link

Return an object as the title prop on your Tag instead of a string. Then you can add any styles you want to it.

<Tab title={<span className="text-dark-blue">Website</span>}>

The problem with your current approach is that NextUI is adding the class you've given it to an element above the one that sets the text color by default, so your text color style is overridden. Check out this documentation to get a better understanding of how it works.

Reasons:
  • Blacklisted phrase (1): this document
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Garrett Roberts

79275982

Date: 2024-12-12 17:13:23
Score: 2
Natty:
Report link

Just use groupby:

gp = df.groupby(["univertcity", "country", "sector"])
for key, item in gp:
    print(gp.get_group(key), "\n\n")

res

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

79275979

Date: 2024-12-12 17:12:23
Score: 2
Natty:
Report link

Different compilers produce different computer commands that is a reason for different results. By the way, did you use the same com computer for calculations? Also, some "standard" library functions do have different implementations. Also, and it is well known that even the same compiler with different optimization levels produces slightly (or may be not) calculation results. Just, because of the rounding errors are different for different commands sequence. So, different results are not obligatory a mistake.

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

79275971

Date: 2024-12-12 17:10:22
Score: 1
Natty:
Report link

@bb1's solution works great and answers the question, and I wanted to add details for future visitors by LaTeX users:

Summary of Brace Usage

Input String Output String Purpose
f"{{value}}" {value} Escapes {} for literal braces
fr"$x^{{2}}$" $x^{2}$ LaTeX grouping braces
fr"$x^{{{value}}}$" $x^{2}$ Dynamic Python value inside LaTeX
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @bb1's
  • Low reputation (0.5):
Posted by: Toonia

79275967

Date: 2024-12-12 17:09:22
Score: 1.5
Natty:
Report link

The problem is apparently @hotwired/stimulus ^3.0. It may be required directly in package.json or e.g. by the new version of stimulus-use. I removed it from package.json and updated the stimulus-use: ^0.24.0-1. After yarn install --force everything works as it should.

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

79275959

Date: 2024-12-12 17:06:21
Score: 0.5
Natty:
Report link
from sklearn.decomposition import LatentDirichletAllocation
from sklearn.utils.extmath import randomized_svd
from tqdm import tqdm
import numpy as np

n_components = 12
n_iter = 10  

lda_model = LatentDirichletAllocation(
    n_components=n_components,
    max_iter=1,  # We'll manually control iterations
    random_state=42,
    learning_method='online'
)

progress_bar = tqdm(total=n_iter, desc="LDA Training Progress")

for _ in range(n_iter):
    lda_model.partial_fit(count_data)  
    progress_bar.update(1)

progress_bar.close()

lda_topics = lda_model.components_
lda_feature_names = count_vectorizer.get_feature_names_out()

for topic_idx, topic in enumerate(lda_topics):
    print(f"Topic {topic_idx}:")
    print(" ".join([lda_feature_names[i] for i in topic.argsort()[-10:]]))

enter image description here

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

79275956

Date: 2024-12-12 17:04:19
Score: 7.5 🚩
Natty: 6
Report link

IN case of invalid reference in SNow caller field , when I am creating an incident using business contact from devops , SNow is updating as blank, instead I want to hardcode it so that caller is there before marking the state to done.

Can you please share the script on how to do so?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you please share
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sandeep Singh

79275948

Date: 2024-12-12 17:01:19
Score: 1
Natty:
Report link

Using .agg with columns that are not string

Combining a few answers in this thread, I found this worked quite well when encountering columns that are not strings whilst avoiding slow lambda functions and allowing delimiters.

df['Period'] = df[['Year', 'Quarter']].astype(str).agg('-'.join, axis=1)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user28755543

79275943

Date: 2024-12-12 17:00:18
Score: 5.5
Natty:
Report link

Please refer:
https://stackoverflow.com/help/how-to-ask\ https://stackoverflow.com/questions/33001677/the-differences-between-the-operator-and\ https://pandas.pydata.org/docs/reference/api/pandas.isnull.html

As a new contributor it is important you follow the implicit guidelines that every other developer here does as it helps represent information most efficiently

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): stackoverflow.com/help
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: kay

79275936

Date: 2024-12-12 16:56:17
Score: 2
Natty:
Report link

I had the same problem, i just had to delete client:load from my .astro component and the error disappear. :)

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

79275927

Date: 2024-12-12 16:51:16
Score: 2.5
Natty:
Report link

Almost 2025, any way to automate opening up the add-in?

We too have a usecase where we log some fixed data for each email our clients open. Having to first open up the email, then click on the add-in is a bottleneck at this point for our clients.

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

79275922

Date: 2024-12-12 16:51:16
Score: 1.5
Natty:
Report link

Looking into this, I start to believe that on every sort action, you need to sort your entire entity list and recreate the groups with your groupBy function.

Best example of what I have found: Stackblitz

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

79275921

Date: 2024-12-12 16:51:16
Score: 2
Natty:
Report link

Postgres 17 introduced the MAINTAIN privilege which allows you to refresh a materialized view.

GRANT MAINTAIN ON materiview FOR user;

https://www.postgresql.org/docs/17/ddl-priv.html

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

79275916

Date: 2024-12-12 16:50:15
Score: 0.5
Natty:
Report link

Exit code 3221225725 is 0xC00000FD in hex, which is STATUS_STACK_OVERFLOW.

Essentially, your initializer list is too large. This is a known problem P2752R3, as explained here.

But the fix is currently supported only in GCC v14, see cppreference.

Anyway, as people have mentioned in comments to your question, never #include <bits/stdc++.h>, because the standard C++ does not have that header, see Why should I not #include <bits/stdc++.h>?.

Also, don't use using namespace std;, certainly never in headers, but preferably not in source code as well, see What's the problem with using namespace std;?.

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: heap underrun

79275912

Date: 2024-12-12 16:49:15
Score: 1.5
Natty:
Report link

I know this is an old post but here's the extremely short answer... The line in proper CSV format should be "Samsung U600 24""","10000003409","1","10000003427" Following the 24 you should have 3 double quotes. The first 2 double quotes will make the one double quote in the actual field. The third double quote ends the field started by the doublequote in front of Samsung.

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

79275909

Date: 2024-12-12 16:48:15
Score: 1
Natty:
Report link

The following line is causing the issue:

ax3.plot(bp_phase_snd_cycle, rp_mag, 'o', markersize=7, markerfacecolor="#ffa500", markeredgewidth=1, markeredgecolor='black')

Both ax1 and ax3 are using the same setting bp_phase_snd_cycle. Perhaps you meant rp_phase_snd_cycle.

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

79275907

Date: 2024-12-12 16:48:15
Score: 2.5
Natty:
Report link

Same here, since one windows update. Windows Version 10.01.19045

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Antonio Cunha Santos

79275903

Date: 2024-12-12 16:46:14
Score: 3
Natty:
Report link

I just did this because (IF(ISBLANK)) formulas:

=COUNTA(range)-COUNTBLANK(range)

So, something like: =COUNTA(A1:A100)-COUNTBLANK(A1-A100)

This will give you an accurate count.

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

79275900

Date: 2024-12-12 16:44:14
Score: 1
Natty:
Report link

def check(phone_number): try: contact = InputPhoneContact(client_id = 0, phone = phone_number, first_name="سوسو", last_name="last_test") contacts = client(functions.contacts.ImportContactsRequest([contact])) username = contacts.to_dict()['users'][0]['username'] dell = client(functions.contacts.DeleteContactsRequest(id=[username])) return username

except:
    res = "__err__"
    return res
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28755378

79275897

Date: 2024-12-12 16:43:14
Score: 3.5
Natty:
Report link

trading bot for the world and make big profit

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

79275878

Date: 2024-12-12 16:38:12
Score: 0.5
Natty:
Report link

This will do the trick

library(dplyr)

test <- data.table::data.table(name = c(rep(1,20), rep(2,20), rep(3,20)), type = c(rep("apple",10), rep("pear",10), rep("apple",15), rep("pear",5), rep("pear",20)))

test %>%
  group_by(name) %>%
  summarise(diff = sum(type == "apple") - sum(type == "pear"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: thekangaroofactory

79275873

Date: 2024-12-12 16:38:11
Score: 8 🚩
Natty: 5.5
Report link

Did you manage to resolve the error? I have something similar, the CFHid_GetUsbCount method always returns a zero and I can't find a possible solution.

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to resolve the
  • RegEx Blacklisted phrase (1.5): resolve the error?
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: LunaticROY

79275870

Date: 2024-12-12 16:37:10
Score: 13
Natty: 7.5
Report link

Good afternoon, were you able to subscribe to your app? If so, can you help me with this issue?

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): Good afternoon
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ygor Luiz Volstein

79275869

Date: 2024-12-12 16:37:08
Score: 10.5 🚩
Natty: 5
Report link

I am facing the same issue after using react-native-dotenv, cannot really use expo env for secrets. Did you find a way to use .env and not face this issue?

Reasons:
  • RegEx Blacklisted phrase (3): Did you find a way to
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Techware Hut

79275859

Date: 2024-12-12 16:34:07
Score: 1
Natty:
Report link

The root cause is most likely on the server side. The fact that it works most of the time and occasionally throws a 500 error on login attempts is a clear indicator that it's not a problem on your side.

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

79275854

Date: 2024-12-12 16:31:07
Score: 1
Natty:
Report link

Normally, sorting only affects the order of the result set, not the content of the result set.

If the data is not large, it is recommended to remove limit 1 and see if the total amount of data is correct.

I feel that there is a sort order that causes the results to be null for the first few, and the query tool does not show it.

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

79275840

Date: 2024-12-12 16:22:05
Score: 1.5
Natty:
Report link

TL;DR: It seems like a recent bug in AWS Cognito new release. To workaround this, switch to the old hosted UI in Cognito.

I will answer myselft if someone encounters this same issue. It looks like a bug in Cognito new hosted UI, as they have release a new version in 22 Nov. 2024 with a new hosted UI.

If you are using the new Cognito UI with ALB authentication, it will return 401 page when a user is signing up for the first time. This only happens on sign up, then if you log in again in a new tab it will work well. If you switch to the old hosted UI in Cognito, the issue is gone.

I hope they fix it soon as this was released a couple of weeks ago.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Rubén Delgado

79275836

Date: 2024-12-12 16:21:05
Score: 2
Natty:
Report link

I found an answer buried in the kreuzwerker repository:

https://github.com/kreuzwerker/terraform-provider-docker/issues/534

The issue is that having containerd enabled in Docker breaks the build, at least on macOS. Disabling it fixed the issue for me.

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

79275827

Date: 2024-12-12 16:19:04
Score: 2.5
Natty:
Report link

我在要返回的class中增加了getter方法,解决了此问题。并且仅存在getter方法的属性最终返回客户端。 查看源码发现,spring通过reqeust header Accept选中 MappingJackson2CborHttpMessageConverter,由 ObjectWriter 完成 write 操作。

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

79275821

Date: 2024-12-12 16:18:04
Score: 1
Natty:
Report link

I'm only amateur and not familiar with linux, it is hard for me to anwser the question exactlly. I made my sysroot by rsync command and used "symlinks -rc ~/sysroot" to correct the absolute path of the symlink. I found the "~/sysroot/lib/aarch64-linux-gnu/libdl.so" was linked to a absolute path to "/lib/aarch64-linux-gnu/libdl.so.2". But "~/sysroot/lib/aarch64-linux-gnu/libdl.so.2" was linked to a relative path to "./libdl-2.31.so". So I guess there must be a mistake in one of the link. After I made "~/sysroot/lib/aarch64-linux-gnu/libdl.so" link to "./libdl.so.2", everything went well.

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

79275816

Date: 2024-12-12 16:17:04
Score: 0.5
Natty:
Report link

Based on the answer of Sridevi, which I thank for this, I've updated my code to create a loop on all users I wanted to add as owners. It works perfectly, but I find sad that we can't do a one call to add multiple owners.

Anyway, thanks again for your time, and here's my code after the correction :

async def add_team_as_owners(graph_client, group_name, group_id, user_id):
"""
Add Team as owner of the group
Args:
    graph_client (GraphServiceClient): The Graph client
    group_id (str): The ID of the group to update
    user_id (str): The ID of the user to add as owner
Returns:
    str: Return code (204 if successful)

"""
request_body = ReferenceCreate(odata_id = "https://graph.microsoft.com/v1.0/users/"+user_id)

try:
    result = await graph_client.groups.by_group_id(group_id).owners.ref.post(request_body)
    logging.info(f"Group updated successfully: {group_name} - {group_id}")
    return result
except Exception as e:
    logging.error(f"Error updating the group: {group_name} - {group_id}")
    logging.error(f"Error detail: {e}")

The call of this function is done by these lines:

for user_id in ["<user_id_1>", "<user_id_2>", "<user_id_3>"]:
  runner.run(add_team_as_owners(client, source_group_name, source_group_id, user_id))
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gilphe

79275813

Date: 2024-12-12 16:16:03
Score: 0.5
Natty:
Report link

This is how you are able to load and read external file properties:

import java.io.InputStream;
import java.util.Properties;

InputStream inputStream = getClass().getClassLoader().getResourceAsStream("/custom.properties");
Properties customProperties = new Properties();
try {
    customProperties.load(inputStream);
} catch (IOException e) {
    e.printStackTrace();
    logger.error("IOException caught while reading properties file: " + e.getMessage());
}

if( customProperties.get("prop1") != null )
    boolean prop1 = Boolean.parseBoolean((String) customProperties.get("prop1"));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Misone

79275807

Date: 2024-12-12 16:14:03
Score: 2.5
Natty:
Report link

I managed to fix it. Basically, I only have two forloops, one to add controls to one table, and other to add controls to the remaining two tables. I separated this second loop in two, for each table, and now it works.

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

79275790

Date: 2024-12-12 16:11:02
Score: 1
Natty:
Report link

I've done the same when I look at a hidden field via the Network tab. It stops anyone not technical enough to look in the right place. Developers can use the information needed for their purposes.

Headers get dropped in scripts due to CORS security and policy. The action is designed to protect both users and web applications.

Headers that are not explicitly allowed by the server (via Access-Control-Allow-Headers) cannot be accessed in JavaScript, even if they are visible in the network tab.

So even though you can copy and paste authorization tokens you see with your own eye, CORS ensures that malicious scripts cannot programmatically access sensitive data without explicit permission. It slows down the process.

Without CORS, JavaScript could make requests and retrieve sensitive information without the user's consent.

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

79275782

Date: 2024-12-12 16:09:02
Score: 0.5
Natty:
Report link

I ultimately decided it would be easiest to just call ditto as a subprocess, since it will extract the aliases properly

var dittoProcess = new Process();
var args = $"-k -x \"{archivePath}\" \"{outDirectory}\"";
dittoProcess.StartInfo = new ProcessStartInfo("/usr/bin/ditto", args);
dittoProcess.Start();
dittoProcess.WaitForExit();
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Michael Berk

79275774

Date: 2024-12-12 16:07:01
Score: 1.5
Natty:
Report link

Make all the necessary changes to the database

Alter table t add column id2 not null default 0;

update t set id2=id;

delete all foreign keys constraints;

alter table drop constraint tpk;

alter table drop column id;

sp_rename 'table.id2','id','COLUMN'

alter table add constraint tpk primary key (id);

recreate all foreign keys constraints;

Delete the identity annotation from the migration file in which this table was created

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

79275767

Date: 2024-12-12 16:04:00
Score: 2.5
Natty:
Report link

I found this article:

https://github.com/dotnet/efcore/issues/35285

I had the same issue and adding:

options.ConfigureWarnings(w => w.Ignore(RelationalEventId.PendingModelChangesWarning))

resolved my issue.

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: samper

79275758

Date: 2024-12-12 15:59:59
Score: 2
Natty:
Report link

After a lot of testing I think I now understand what is going on. I'm posting this as an answer as I think it is probably correct. If/when I get around to implementing a solution I'll come back and mark it as the correct answer.

When the user logs in to our IdentityServer it issues the user with a session cookie so that if they attempt to use any client, IdentityServer will know they are logged in and can issue the relevant tokens without asking them to log in again. The user could use Client A and Client B for a while (from my example in the OP), each of which then issue their own session cookies to the user.

If the user stops using Client B for a while, but continues to use Client A, then the session cookies (or the tokens within them) for Client B and the IdentityServer expire due to the idle timeout.

So if the user attempts to use Client B again, this client thinks they are unauthenticated and redirects to IdentityServer which also thinks they are unauthenticated and prompts them to log in. They are still able to carry on using Client A as its session cookie has been kept alive by its continual use.

This might be what @tore-nestenius was getting at in his comment on the OP, but he left a lot unsaid so I'm not sure if that was just a punt or if he'd recognised all this and jumped straight to a possible solution without an explanation.

I think the solution to this problem will involve storing session information for IdentityServer (and maybe also the client apps) on the server instead of in cookies. Which could enable use of client apps to cause the IdentityServer session to stay alive until 20 minutes after the last use of any client app. It could also provide many other advantages like being able to more easily track who is logged in to what and when using a centralised system.

Duende's Server Side Sessions Inactivity Timeout feature might offer a solution to my problem. The suggestion from @tore-nestenius on how to build a custom server side SessionStore or something based on it, might also do the job.

Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @tore-nestenius
  • User mentioned (0): @tore-nestenius
  • Self-answer (0.5):
Posted by: Rob

79275747

Date: 2024-12-12 15:55:58
Score: 0.5
Natty:
Report link

This article was the closest to helping solve this issue for me, but the external access integration from Amito did not work because it was missing allowed_network_rules. I also didn't know what type of network rule to use. This code finally worked for me, though you'll need to update the network rule value_list to meet your needs.

CREATE SECRET IF NOT EXISTS test_secret
TYPE = GENERIC_STRING
SECRET_STRING = 'test_secret_value'
COMMENT = 'test secret for python func development';

CREATE OR REPLACE NETWORK RULE allow_all_rule
MODE = 'EGRESS'
TYPE = 'HOST_PORT'
VALUE_LIST = ('0.0.0.0:443','0.0.0.0:80')
COMMENT = 'Network rule for external access integration';

CREATE OR REPLACE EXTERNAL ACCESS INTEGRATION test_ext_acc_integration
ALLOWED_NETWORK_RULES = ('ALLOW_ALL_RULE')
ALLOWED_AUTHENTICATION_SECRETS = ('TEST_SECRET')
ENABLED = true;

CREATE OR REPLACE FUNCTION udf_python_secret_test()
    RETURNS STRING
    LANGUAGE PYTHON
    RUNTIME_VERSION = 3.11
    HANDLER = 'get_secret'
    PACKAGES = ('snowflake-snowpark-python')
    EXTERNAL_ACCESS_INTEGRATIONS = (test_ext_acc_integration)
    SECRETS = ('cred' =  test_secret)
AS
$$
import _snowflake

def get_secret():
  secret_value = _snowflake.get_generic_secret_string('cred')
  return secret_value
$$;
Reasons:
  • Blacklisted phrase (1): This article
  • Blacklisted phrase (1): did not work
  • Whitelisted phrase (-1): worked for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: c00p

79275738

Date: 2024-12-12 15:51:57
Score: 1.5
Natty:
Report link

en mi caso no conseguia respuesta diferente a undefined llamando useSelector hasta que me fije que mi componente lo estaba creando con minuscula aunque mi funcion la hubiera nombrado con mayuscula antes:"myComponent.js", ahora: "MyComponent.js"

y tambien me fije que si mi componente fue creado con una constante de flecha en vez de un compenente de funcion tambien me impedia obtener el estado, cambie estas dos cosas y para mi funciono

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

79275733

Date: 2024-12-12 15:50:57
Score: 1
Natty:
Report link

Here is a workaround to color only the "Group" column while keeping the "Sample size (n)" column in black. You can ensure the color for "Sample size (n)" remains black by specifying it in the txt_gp argument using fpTxtGp.

mylabel <- list(
  gpar(),  # for group
  gpar(col = 'black')  # for sample size n
)

age.plot <- forestplot(age.data,
                       labeltext = c(labeltext, numbers),
                       boxsize = 0.1,
                       xlog = FALSE,
                       clip=c(-20,20),
                       xticks=c(-20,-10,0,10,20),
                       align=c("l","c","l"),
                       col = fpColors(text=c('red','blue')),
                       txt_gp = fpTxtGp(label=mylabel, ticks=gpar(cex=1)))

enter image description here

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

79275717

Date: 2024-12-12 15:46:55
Score: 2
Natty:
Report link

Yes, you can install the VB6 runtime libraries on Windows 8, and VB6 applications should run without any issues, assuming the runtime libraries are installed properly. The VB6 runtime libraries are not included with Windows 8 by default, but they can be downloaded and installed manually.

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

79275711

Date: 2024-12-12 15:43:54
Score: 5.5
Natty: 4.5
Report link

This video explains how to use this website to generate the correct hash, which will not be changed.

https://youtu.be/Vm7butt5eKI?si=FGzf5-FA6BvBnKEW&t=1012

https://www.devglan.com/online-tools/hmac-sha256-online

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Blacklisted phrase (1): This video
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: RodrigoKulb

79275708

Date: 2024-12-12 15:42:53
Score: 1
Natty:
Report link

If Me.txtindexcontact = wscontact.Cells(lastrow + 1, 12).Value then you would only get the last values from the wscontact combo box.

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

79275707

Date: 2024-12-12 15:42:53
Score: 1
Natty:
Report link

In Hibernate prior to version 6.6.1 it seemed to worked as @Dinesh describes.

queryBuilder.desc(root.get("room").get("id")).as(Integer.class))

Since Hibernate 6.6.1 this has changed: https://docs.jboss.org/hibernate/orm/6.6/migration-guide/migration-guide.html#criteria-query

Current usage is following:

((JpaExpression)queryBuilder.desc(root.get("room").get("id"))).cast(Integer.class))
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Dinesh
  • High reputation (-1):
Posted by: michal.jakubeczy

79275705

Date: 2024-12-12 15:41:52
Score: 9.5 🚩
Natty: 6.5
Report link

Did you solved it? I have the same case, I need upload image to the form.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (3): Did you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • 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 solve
  • Low reputation (1):
Posted by: Oleh Antemeniuk

79275703

Date: 2024-12-12 15:40:51
Score: 1
Natty:
Report link

As RDS is a managed DB service for most popular engines, RDS forks the community engine (Postgres in this case) and builds features and automation on top of it. Coming to your query about a place where there is a dedicated difference between the parameters on RDS v/s community engine, I would say there won't be much difference in the parameters. Maybe you will find few parameters which are additional (modifiablle/non-modifiable) on RDS.

What I would recommend is to execute the system variables command on community as well as RDS instance to get a list of variables. Then compare and find what are those few variables which are different between RDS and community.

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

79275702

Date: 2024-12-12 15:40:51
Score: 3.5
Natty:
Report link

For me setting the DB2CODEPAGE environment variable to 1208 solved the issue.

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

79275699

Date: 2024-12-12 15:38:51
Score: 1
Natty:
Report link

I had the same problem. The cause was that I installed zsh (/usr/local/bin/zsh) on an Intel Mac and then changed to an arm64 Mac, so the Intel zsh was being used only by VScode. It seems that deleting it with brew uninstall zsh will solve the problem.

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

79275693

Date: 2024-12-12 15:36:50
Score: 0.5
Natty:
Report link

The issue persist in Android 13 more, actually it create multiple instance of the activity, so the easiest solution for the same is managing the savedInstanceState in OnCreate method of the activity.

if(savedInstanceState != null){
        return;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Khush Parmar

79275690

Date: 2024-12-12 15:34:50
Score: 2
Natty:
Report link

A solution has been found, so I want to share it for others so then don't have to send as much time searching for a solution as I did.

This is the example from the MUI website. This will display a comma-separated list using the value of your MenuItem, in the example above it would be the option.id as designated value={option.id}

renderValue={(selected) => selected.join(', ')} 

I needed to pass the ID back as a my value, rather than the name, so to be able to use something other than what is designated in the value prop, it required creating a filter and mapping through the options array which populate the dropdown to fetch the name.

This will allow you to use the option.name rather the value of option.id

renderValue={(selected) => {
    const selectedOption = options.filter((option) => 
    selected.includes(option.id)).map((option) => option.name);
    return selectedOption.join(', '); }
}
```
Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mtullis

79275687

Date: 2024-12-12 15:34:50
Score: 2.5
Natty:
Report link

i'll try to explain a little more my issue. i have a list with different customers and their own products. my customer asked if its possible to click in one of them, and check or validate the others elements with the same class, then drag and drop all of them together example: i have the list in image1, then i click in the first element, then, other elements with same class (customer name, receipt number, etc) are checked image2, then drag and drop all of these elements at same

i am working with Sortable.js for this job.

enter image description here

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: mcastro

79275680

Date: 2024-12-12 15:31:49
Score: 1.5
Natty:
Report link

https://docs.paramiko.org/en/stable/api/channel.html?highlight=exec_command exec_command(command) Execute a command on the server. If the server allows it, the channel will then be directly connected to the stdin, stdout, and stderr of the command being executed.

When the command finishes executing, the channel will be closed and can’t be reused. You must open a new channel if you wish to execute another command.

Parameters command (str) – a shell command to execute.

Raises SSHException – if the request was rejected or the channel was closed

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

79275678

Date: 2024-12-12 15:30:49
Score: 0.5
Natty:
Report link

I just realized you have two questions so I guess I should do two answers?

<div class="sidebar" contenteditable>

contenteditable is an attribute for which you must provide a value. Just putting the attribute there without saying contenteditable=true/false is invalid HTML. And I think when it's true that is what is preventing you from clicking so you'll probably want it false?

Change it like this:

<div class="sidebar" contenteditable="false">

Then try it again. That will fix the issue of your links not being clickable. Is there a reason you need it to be true? When you specify that contentededitable=true or if you leave it empty, it will be assumed true, which means you are saying to the browser that the user should be able to edit the links.

Also it's better to have only one question per post I think.

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

79275672

Date: 2024-12-12 15:29:49
Score: 2.5
Natty:
Report link

I don't see the whole test but I assume that you have something like this:

let app: INestApplication;

beforeEach(async () => {
    const module = await Test.createTestingModule({ imports: [AppModule] })
        .compile();

    app = module.createNestApplication();
    // etc..
});

If so, the graphqlUpload middleware won't be added to your application created during test. As I can see you add it in bootstrap tho, so that may explain why it works outside tests.

If my guess is correct you should add middleware to your test too. For example:

let app: INestApplication;

beforeEach(async () => {
    const module = await Test.createTestingModule({ imports: [AppModule] })
        .compile();

    app = module.createNestApplication();
    app.use(graphqlUploadExpress({ maxFileSize: 5242880, maxFiles: 10 }))

    // etc..
});

If it won't help could you please share implementation of integrationTestManager.getServerInstance()?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you please share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Kishieel

79275664

Date: 2024-12-12 15:28:48
Score: 3
Natty:
Report link

As declared in the documentation: Configure the maximum amount of data to buffer when sending messages to a WebSocket session where a websocket session is a client connection.

Resource: https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/socket/config/annotation/WebSocketTransportRegistration.html

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

79275663

Date: 2024-12-12 15:28:48
Score: 2.5
Natty:
Report link

I'd have solved this problem just minutes ago. I'm looking to solve it and I could.

I just updated the new version of React Quill, I knew through browsing about this problem.

react-quill-new Installed and removed the previous one. I deleted the previous version codes and updated them.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: PO RA N

79275660

Date: 2024-12-12 15:27:48
Score: 5
Natty:
Report link

The perfect solution is on this video https://www.youtube.com/watch?v=IS-MhTOSbRQ

full source code on the video enter image description here

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Amro Omran

79275654

Date: 2024-12-12 15:25:47
Score: 3
Natty:
Report link

I had this issue because I was going to the root of my SVN. You need to reference the full URL to a project module.

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

79275649

Date: 2024-12-12 15:24:46
Score: 1.5
Natty:
Report link

hi I forgot the credentials for my account but I fixed it ty

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: pepper spray

79275648

Date: 2024-12-12 15:24:46
Score: 2.5
Natty:
Report link

-- Crear la base de datos CREATE DATABASE IF NOT EXISTS pagalo_pe; USE pagalo_pe;

-- Tabla: Roles CREATE TABLE Roles ( id_rol INT AUTO_INCREMENT PRIMARY KEY, nombre_rol VARCHAR(50) NOT NULL UNIQUE, descripcion TEXT );

-- Insertar roles comunes INSERT INTO Roles (nombre_rol, descripcion) VALUES ('Admin', 'Administrador del sistema'), ('Cliente', 'Usuario que realiza pagos y trámites');

-- Tabla: Direcciones CREATE TABLE Direcciones ( id_direccion INT AUTO_INCREMENT PRIMARY KEY, calle VARCHAR(100), ciudad VARCHAR(50), estado VARCHAR(50), codigo_postal VARCHAR(20), pais VARCHAR(50) );

-- Tabla: Usuarios CREATE TABLE Usuarios ( id_usuario INT AUTO_INCREMENT PRIMARY KEY, nombre_completo VARCHAR(100) NOT NULL, correo_electronico VARCHAR(100) NOT NULL UNIQUE, numero_celular VARCHAR(20) NOT NULL, tipo_documento ENUM('DNI', 'Pasaporte') NOT NULL, numero_documento VARCHAR(50) NOT NULL UNIQUE, contraseña VARCHAR(255) NOT NULL, fecha_registro TIMESTAMP DEFAULT CURRENT_TIMESTAMP, rol_id INT NOT NULL, direccion_id INT, FOREIGN KEY (rol_id) REFERENCES Roles(id_rol), FOREIGN KEY (direccion_id) REFERENCES Direcciones(id_direccion) );

-- Tabla: Entidades CREATE TABLE Entidades ( id_entidad INT AUTO_INCREMENT PRIMARY KEY, nombre_entidad VARCHAR(100) NOT NULL, descripcion TEXT, contacto_email VARCHAR(100), contacto_telefono VARCHAR(20) );

-- Tabla: Servicios CREATE TABLE Servicios ( id_servicio INT AUTO_INCREMENT PRIMARY KEY, id_entidad INT NOT NULL, nombre_servicio VARCHAR(100) NOT NULL, costo DECIMAL(10,2) NOT NULL, descripcion TEXT, tiempo_estimado_procesamiento VARCHAR(50), FOREIGN KEY (id_entidad) REFERENCES Entidades(id_entidad) ON DELETE CASCADE );

-- Tabla: Metodos_de_Pago CREATE TABLE Metodos_de_Pago ( id_metodo INT AUTO_INCREMENT PRIMARY KEY, descripcion VARCHAR(50) NOT NULL );

INSERT INTO Metodos_de_Pago (descripcion) VALUES ('Tarjeta de Crédito'), ('Tarjeta de Débito'), ('Efectivo'), ('Transferencia Bancaria'), ('PayPal'), ('Criptomonedas');

-- Tabla: Pagos CREATE TABLE Pagos ( id_pago INT AUTO_INCREMENT PRIMARY KEY, id_usuario INT NOT NULL, id_servicio INT NOT NULL, monto_pagado DECIMAL(10,2) NOT NULL, fecha_pago TIMESTAMP DEFAULT CURRENT_TIMESTAMP, id_metodo INT NOT NULL, estado_pago ENUM('Confirmado', 'Pendiente', 'Rechazado') DEFAULT 'Pendiente', numero_referencia VARCHAR(100) UNIQUE NOT NULL, FOREIGN KEY (id_usuario) REFERENCES Usuarios(id_usuario) ON DELETE CASCADE, FOREIGN KEY (id_servicio) REFERENCES Servicios(id_servicio) ON DELETE CASCADE, FOREIGN KEY (id_metodo) REFERENCES Metodos_de_Pago(id_metodo) ON DELETE RESTRICT );

-- Tabla: Notificaciones CREATE TABLE Notificaciones ( id_notificacion INT AUTO_INCREMENT PRIMARY KEY, id_usuario INT NOT NULL, mensaje TEXT NOT NULL, fecha_hora TIMESTAMP DEFAULT CURRENT_TIMESTAMP, leida BOOLEAN DEFAULT FALSE, FOREIGN KEY (id_usuario) REFERENCES Usuarios(id_usuario) ON DELETE CASCADE );

-- Tabla: Soporte_al_Cliente CREATE TABLE Soporte_al_Cliente ( id_soporte INT AUTO_INCREMENT PRIMARY KEY, id_usuario INT NOT NULL, motivo_contacto VARCHAR(255) NOT NULL, fecha_hora_contacto TIMESTAMP DEFAULT CURRENT_TIMESTAMP, respuesta_soporte TEXT, estado_soporte ENUM('Abierto', 'En Proceso', 'Cerrado') DEFAULT 'Abierto', FOREIGN KEY (id_usuario) REFERENCES Usuarios(id_usuario) ON DELETE CASCADE );

-- Tabla: Facturas (Opcional) CREATE TABLE Facturas ( id_factura INT AUTO_INCREMENT PRIMARY KEY, id_pago INT NOT NULL, fecha_emision TIMESTAMP DEFAULT CURRENT_TIMESTAMP, total DECIMAL(10,2) NOT NULL, impuestos DECIMAL(10,2) NOT NULL, direccion_facturacion_id INT, FOREIGN KEY (id_pago) REFERENCES Pagos(id_pago) ON DELETE CASCADE, FOREIGN KEY (direccion_facturacion_id) REFERENCES Direcciones(id_direccion) );

Reasons:
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Cuenta Anónima YT

79275644

Date: 2024-12-12 15:22:46
Score: 1
Natty:
Report link

Probably too late but for whatever its worth, check your import statements at the top. I had android.R instead of <mypackage>.R. That's why it only showed the inbuilt layouts for that version in my case.

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

79275633

Date: 2024-12-12 15:20:46
Score: 2
Natty:
Report link

Use Google Drive compression services: compress.my , multcloud etc.

It's the best way to go (fastest, safest) - the result isn't a new zip but the same files compressed.

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

79275628

Date: 2024-12-12 15:18:45
Score: 3.5
Natty:
Report link

Why the detour via Powershell?

manage-bde is a cmd command (.exe file).

Located here C:\Windows\System32\manage-bde.exe

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why the
  • Low reputation (1):
Posted by: dagobert666

79275625

Date: 2024-12-12 15:16:44
Score: 0.5
Natty:
Report link

Thank you, I also had to add the namespace to the NtmlAuthenticator.php It works now!!

Added this line to NtmlAuthenticator.php

namespace Symfony\Component\Mailer\Transport\Smtp\Auth;

Whole working code for Exchange 2016

require '../vendor/autoload.php';
use Symfony\Component\Mailer\Mailer;
use Symfony\Component\Mime\Email;
use Symfony\Component\Mime\Part\DataPart;
use Symfony\Component\Mime\Part\File;
use Symfony\Component\Mailer\Transport\Smtp\Auth\AuthenticatorInterface;
use Symfony\Component\Mailer\Transport\Smtp\Auth\NtlmAuthenticator;

$transport = (new Symfony\Component\Mailer\Transport\Smtp\EsmtpTransport
('smtp.yourdomain.com', 587))
->setUsername('[email protected]')
->setPassword('password')
->setAutoTls(false);

$transport->setAuthenticators([new NtlmAuthenticator()]);

$mailer = new Mailer($transport);
$email = (new Email())
->from('[email protected]')
->to("[email protected]")
->subject('Subject')
->html('<p>Test Email Symfony</p>');
$mailer->send($email);

Thank you,

Alex

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

79275621

Date: 2024-12-12 15:15:43
Score: 4
Natty: 4.5
Report link

Same Problem. Notification is not shown when initiated from python code.

Reasons:
  • RegEx Blacklisted phrase (1): Same Problem
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: monkee

79275620

Date: 2024-12-12 15:15:43
Score: 3
Natty:
Report link

Okay, I found what was an issue. The problem was I previously created this component but with a different environment. And because the environment field is not mutable when I tried to update the old one I got this kind of error (for me it's a little bit confusing but OK). However, if someone will have the same issue how to correctly link your environment inside the yml file here is the correct version:

name: my_component
display_name: Run test code
version: 1 
type: command
inputs:
  data_path: 
    type: uri_folder
code: .
environment: azureml:aml-my-custom-env@1
command: >-
  python test_code.py 
  --data_path ${{inputs.data_path}} 
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nero515

79275601

Date: 2024-12-12 15:08:41
Score: 0.5
Natty:
Report link

Instead of

blobFromImage(frame, 1.0, Size(640, 480), Scalar(), true, false);

Try

Mat blob = blobFromImage(frame, 1/127.5, Size(300, 300), Scalar(127.5, 127.5, 127.5), true, false);
net.setInput(blob);
Mat detections = net.forward();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Moudhaffer Bouallegui

79275594

Date: 2024-12-12 15:07:40
Score: 13.5 🚩
Natty:
Report link

I have the same problem. It was working perfectly, and out of nowhere, it stopped working yesterday. Were you able to solve the issue?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): you able to solve
  • RegEx Blacklisted phrase (1.5): solve the issue?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Leonardo Gonzalez LO

79275592

Date: 2024-12-12 15:06:40
Score: 1
Natty:
Report link

You can reuse shared resources across tests only if tests do not modify these shared resources.

As Marek R pointed out in here is comment. This limitation is mentioned later in GoogleTest's documentation:

"GoogleTest creates a new test fixture object for each test in order to make tests independent and easier to debug. However, sometimes tests use resources that are expensive to set up, making the one-copy-per-test model prohibitively expensive.

If the tests don’t change the resource, there’s no harm in their sharing a single resource copy. So, in addition to per-test set-up/tear-down, GoogleTest also supports per-test-suite set-up/tear-down. "

From here: https://google.github.io/googletest/advanced.html#sharing-resources-between-tests-in-the-same-test-suite

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

79275587

Date: 2024-12-12 15:05:38
Score: 10 🚩
Natty: 5
Report link

Good morning y have de same problem using php for API and react native for app, can you help me please.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): Good morning
  • RegEx Blacklisted phrase (3): can you help me
  • RegEx Blacklisted phrase (2): help me please
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gonzalo Bulucua

79275586

Date: 2024-12-12 15:05:38
Score: 1.5
Natty:
Report link

Fixed! The trick to using @dave_tompson_085's excellent answer was to get the PrivateKeyEntry in order to get the full private key. In addition, I changed all instances of PEMWriter to JcaPEMWriter.

With that I used the following code to successfully write the private key:

KeyStore.ProtectionParameter protParam =
        new KeyStore.PasswordProtection(secret.toCharArray());
KeyStore.PrivateKeyEntry pkEntry =
        (KeyStore.PrivateKeyEntry) certificate.getEntry(alias, protParam);
PrivateKey key = pkEntry.getPrivateKey();
writer.writeObject(new JcaPKCS8Generator(key, null));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @dave_tompson_085's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: ogionnj

79275580

Date: 2024-12-12 15:01:37
Score: 3
Natty:
Report link

I will try to be more precious. Second char is very important , it generates output, its a trigger, if is 'X' or empty ' ', output looks like -> first char(from input) stays the same always + 'X', if not equlas to 'x' or ' ' output looks like input. Lenght of output is always 2 first chars.

enter image description here

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

79275566

Date: 2024-12-12 14:59:36
Score: 5
Natty:
Report link

I'm having the same problem right now. I believe the problem is the project's JDK version and what is installed on the computer.

Recently a colleague was using version 23.x and we had to change to 21.0.5 for the project. This solved the problem exactly, but it was when running and not when generating the APK/Bundle.

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: Osmar Filbido

79275543

Date: 2024-12-12 14:54:34
Score: 1.5
Natty:
Report link

I'm not sure this solves your problem and I'm not familiar with the PDF format or PKCS#7, but it seems that you don't render the rectangle (the 7 0 obj), only the "Hello World" text (the 4 0 obj). By changing the line /Contents 4 0 R to /Contents 7 0 R, and normalizing the color (255 112 52 -> 1.0 0.439 0.204 rg), it did render the reddish rectangle.

Document with rectangle

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

79275542

Date: 2024-12-12 14:54:34
Score: 2.5
Natty:
Report link

Now CMake has CMAKE_LINK_WHAT_YOU_USE, simply set it to ON before you create the target.

document:

https://cmake.org/cmake/help/latest/variable/CMAKE_LINK_WHAT_YOU_USE.html

and you can see its effect:

https://gitlab.kitware.com/cmake/cmake/-/blob/f4428d97843d34663e2a40d4424c12477540a9b2/Modules/Internal/CMakeCommonLinkerInformation.cmake#L12

it will add -Wl,--no-as-needed to link flags.

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

79275537

Date: 2024-12-12 14:51:34
Score: 2.5
Natty:
Report link

This issue is solved with https://github.com/prisma/prisma/pull/25824 and will be available in prisma 6.1.0.

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

79275532

Date: 2024-12-12 14:50:33
Score: 2
Natty:
Report link

PLEASE DON'T UPVOTE THIS!

This is not meant to be an answer, but rather an explanation of the previous one. If any of this makes sense, please upvote user3179904's answer instead.

His answer was:

'0'*(len(si:=f'{i:x}')%2)+si

Let's take this apart, like Jack the Reaper. For the following sections, I'll be using the integer value 4151900041497450638097112925. I'll also be showing code and results from the Python CLI.

1. Hexadecimal conversion

This is done by the central bit:

f'{i:x}'

In here, the variable i is the victim, meaning it carries the integer value you wish to convert into a well padded hexadecimal. So, for now we have:

>>> i = 4151900041497450638097112925
>>> f'{i:x}'
'd6a5f083f285c3e5195df5d'
>>> len(f'{i:x}')
23

As you see, easy, but the length is odd.

2. The Walrus (:=) operator

Now we grab a bit more of code:

>>> si:=f'{i:x}'
  File "<console>", line 1
    si:=f'{i:x}'
      ^^
SyntaxError: invalid syntax
>>> (si:=f'{i:x}')
'd6a5f083f285c3e5195df5d'
>>> si
'd6a5f083f285c3e5195df5d'

That was not a mistake. That was to show that:

  1. you can't use the walrus outside am expression, hence the need for parenthesising it;
  2. variables created / assigned inside an expression with the walrus survive the expression scope, so si still exists outside / after the expression, unlike, for instance, variables inside a comprehension.

3. "How many extra zeros would you be needing today?"

The next section answers the question above:

len(si:=f'{i:x}')%2

First, it gets the total length:

>>> len(si:=f'{i:x}')
23

and then it gets the division by two remainder:

>>> len(si:=f'{i:x}')%2
1
>>> 23%2
1

Of course, if this is the number of zeros you need, let's give you just that:

>>> '0'*len(si:=f'{i:x}')%2
Traceback (most recent call last):
  File "<console>", line 1, in <module>
TypeError: not all arguments converted during string formatting
>>> '0'*(len(si:=f'{i:x}')%2)
'0'

Again, not a mistake but just to highlight that those parenthesis are required, otherwise it would first multiply '0' by 23 and then find the remainder of that, which is a string.

NOTE: the number of zeros needed will always be none or one. I know this is already abundantly obvious, but just in case...

  1. "About them zeros..." Finally, the desired number of zeros is added (prepended) to the string. Remember the walrus assigned si bit? Right.
>>> '0'*(len(si:=f'{i:x}')%2)
'0'
>>> si
'd6a5f083f285c3e5195df5d'
>>> '0'*(len(si:=f'{i:x}')%2)+si
'0d6a5f083f285c3e5195df5d'
>>> len('0'*(len(si:=f'{i:x}')%2)+si)
24

And there you have it: an even-lengthed hex representation of your int.

And why?!?

That's an easy one! The number I used as an example was the serial number of a digital certificate (now expired, so hold your horses). It so happens that openssl, the tool to check these, exposes the serial number as a colon-separated sequence of bytes, in this case:

        Serial Number:
            0d:6a:5f:08:3f:28:5c:3e:51:95:df:5d

The usual way to go about this would be to split that final string by grops of 2 chars and then join these with a colon. It so happens that if you try that on 'd6a5f083f285c3e5195df5d', you end up with:

'd6:a5:f0:83:f2:85:c3:e5:19:5d:f5:d'

which is both different from the representation from openssl (and thus not immediately comparable) and overall weird in terms of byte boundaries.

Of course, applying all the magic of the previous answer, what you end up with is:

'0d:6a:5f:08:3f:28:5c:3e:51:95:df:5d'

which is just what the doctor ordered.

Reasons:
  • Blacklisted phrase (0.5): why?
  • Blacklisted phrase (0.5): UPVOTE
  • Blacklisted phrase (0.5): upvote
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): user3179904
  • Low reputation (0.5):
Posted by: Ricardo

79275531

Date: 2024-12-12 14:50:33
Score: 0.5
Natty:
Report link

I want to load my webpage once and then run several tests on it without it reloading between tests.

This is the core of what is causing your issues, as it is conflict with Cypress' Test Isolation.

As stated in our mission, we hold ourselves accountable to champion a testing process that actually works, and have built Cypress to guide developers towards writing independent tests from the start.

We do this by cleaning up test state and the browser context before each test to ensure that the operation of one test does not affect another test later on. The goal for each test should be to reliably pass whether run in isolation or consecutively with other tests. Having tests that depend on the state of an earlier test can potentially cause nondeterministic test failures which makes debugging challenging.

So, with the default value for Test Isolation (enabled), Cypress will clean up the browser context, which includes "shutting down" the browser. While it is possible to disable Test Isolation, I would strongly encourage you not to do that and instead look at the reasons why you feel that you should only launch the webpage once and then run several tests on it.

Could you use cy.session() to expedite setting data on launching the webpage? If there are network calls that are slowing down navigating to the page that could be mocked out via cy.intercept()?

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: agoff

79275530

Date: 2024-12-12 14:49:33
Score: 1.5
Natty:
Report link

I followed suggestion to reproduce issue on sample data and recreated it on free Apex workspace. At first I couldn't reproduce it, but then randomly found problem cause. Turns out problem is in item. It is of type "Textarea". If you leave everything by default - it works as intended. But if you set it's Height to 1 line - it's stops working! Item's value always null.

enter image description here

This is super weird, looks like a bug.

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

79275528

Date: 2024-12-12 14:49:33
Score: 1
Natty:
Report link

Your code looks like it isn't indentated for lines 7 and 8. If it is and still isn't working, switch the code (for the if statement) to:

if wave == 1 then
    wait(1)
    mob.Spawn("wretch", map)
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: akbanana7

79275494

Date: 2024-12-12 14:39:30
Score: 2
Natty:
Report link

You have subscribed to get messages? You can allow in panel if it's the first WhatsApp Number: Signed for receive webhook messages

Or you need to use API if was not the first added number: POST to https://graph.facebook.com/v21.0/{{PHONE_NUMBER_ID}}/subscribed_apps with your bearer and this payload:

{
    "data": ["messages"]
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Sergio Gao

79275493

Date: 2024-12-12 14:39:30
Score: 1
Natty:
Report link

I found a solution with a bigger possibility: link

Also, I can add to the answer that you can assign a key to send a specific snippet in the "Key binding" tab with an option "Send snippet" and choose a necessary one.

P.S.: I haven't found the snippets in the ToolBelt at once and after seeing that it's not checked by default as an active item (just in case, see the picture):

enter image description here

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

79275492

Date: 2024-12-12 14:39:30
Score: 3.5
Natty:
Report link

Kindly share me the document or steps you have followed in order to run strapi using pm2.

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

79275485

Date: 2024-12-12 14:35:27
Score: 6 🚩
Natty: 5
Report link

thank you @yshmarov. It fixed the issue on my end.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @yshmarov
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Ukyo