79554920

Date: 2025-04-04 09:18:56
Score: 1
Natty:
Report link

Here in find_user():

while(p != NULL)
{
    if(p->uid == uid)
    {
        break;
    }
}

Infinite loop...

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

79554913

Date: 2025-04-04 09:15:56
Score: 3
Natty:
Report link

Use the URL Inspection Tool on a few of the missing pages to verify if the JobPosting markup is detected and valid. Re-submit sitemap if needed.

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

79554912

Date: 2025-04-04 09:15:56
Score: 2
Natty:
Report link

The answer i found is to use: describe name inside here -> ``, that way it enterprets the group as a db field and gives no error Same goes if you want to use select * from

You would need to type select * from group inside ``

I've triend renaming Group entity and class to Groups, because Group is reserved Keyword, but it didn't help

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

79554910

Date: 2025-04-04 09:14:55
Score: 2
Natty:
Report link

I updated my VS installation to 17.13.5 and that appears to have fixed the issue.

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

79554907

Date: 2025-04-04 09:13:55
Score: 1
Natty:
Report link

Thanks @Laurenz Albe, I think I've managed to handle the negative values LHJ was experiencing (and me too). Wrapped it up in a function to take into account the unsigned-ness. Tested locally on PG16 and seems to work, with the warning that this is only for hashing on tables partitioned by a text column.

CREATE OR REPLACE FUNCTION compute_text_hash_partition(val TEXT, partition_count INT)
RETURNS INT AS $$
DECLARE
    seed CONSTANT BIGINT := 8816678312871386365;
    hash_offset CONSTANT BIGINT := 5305509591434766563;
    max_uint64 CONSTANT NUMERIC := 18446744073709551616;
    hashval NUMERIC;
BEGIN
    hashval := (hashtextextended(val, seed)::numeric + hash_offset + max_uint64) % max_uint64;
    RETURN MOD(hashval, partition_count);
END;
$$ LANGUAGE plpgsql IMMUTABLE;
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: LTMullineux

79554902

Date: 2025-04-04 09:10:54
Score: 2
Natty:
Report link

I had the same problem on Windows 11. The link in @AllanLopez original update didn't work anymore, it can be found here now:

https://www.winhelponline.com/blog/error-there-is-no-script-engine-for-file-extension-when-running-js-files/

I exported my registry before applying the settings from the .reg file but it worked!

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @AllanLopez
  • Low reputation (1):
Posted by: Patrick Warmbold

79554901

Date: 2025-04-04 09:10:54
Score: 2.5
Natty:
Report link

The answer will be always false. Because when you declare a = {} it will create a new object in the memory, for b={} also it will create a new object in the memory. previous object referencing will not occur. So comparing both will always give the answer as false

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

79554898

Date: 2025-04-04 09:07:53
Score: 3
Natty:
Report link

I think you're missing a reference to the AcCoreMgd.dll

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

79554895

Date: 2025-04-04 09:07:53
Score: 1.5
Natty:
Report link

Your number N=140685674613168 is not product of two primes (if one of it primes is not 2) because N is even. All prime numbers ALWAYS are odd, i.e N = p*q = (2*k+1)*(2*l+1) = 4*k*l+2*(k+L)+1 = 2*(2*k*l + k+l) + 1. Member 2*(2*k*l + k+l) always even, any even number+1 = odd number. I.e product of two primes always are odd.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Alexander Kiselev

79554891

Date: 2025-04-04 09:04:52
Score: 1
Natty:
Report link

the problem with your code is that you dont set a width for the li items , and that causes the li width to be default.

CSS

 *{
padding:0;
margin:0;
box-sizing:border-box;
}

.nav {
  list-style-type: none;
  display: flex;
  width: 100%;
  justify-content: flex-start;
  align-items:flex-start;
  padding:22px 0px;
}

.nav li{
width:calc(100% / 5);
display:flex;
justify-content:center;
align-items:center;
}

li:hover {
  font-weight: bold;
}

I prepared a js fiddle for you , you can read it , i will also give you some resources to understand further.

JS Fiddle : https://jsfiddle.net/w2dsjfhL/

Css Reset : https://en.wikipedia.org/wiki/Reset_style_sheet

Display flex : https://developer.mozilla.org/en-US/docs/Web/CSS/display

Cheers!

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

79554873

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

Ok after some tweaking it seems

    "eslint.codeActionsOnSave.rules": [
        "import"
    ],

is the culprit.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Minh Nghĩa

79554853

Date: 2025-04-04 08:44:47
Score: 0.5
Natty:
Report link

If you are using JavaScript/TypeScript, you can do this:

const encodedQP = encodeURIComponent(encodedQP);

encodeURIComponent() ensures that special characters (like /, ?, &, etc.) are encoded safely for URLs and will not break you API requests.

Here's a link to its documentation.

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

79554846

Date: 2025-04-04 08:39:46
Score: 1.5
Natty:
Report link

I first tried with IAM Identity Center which didnt work as we have a Parent account ( Management Account heirarchy) which will force us to have all the child accounts including ours to be onboarded with OKta

That's kind of the point of IAM Identity Center - a centralised federation point that allows you to easily federate all accounts in an AWS Organization with your centralised IdP. Are you sure that this isn't what you want?

Even through the integration I was confused as it didnt had any steps where users are created in AWS

You don't create IAM Users when using SAML federation, you create IAM Roles. You then map your human identities to IAM Roles in your IdP, allowing users to assume those roles in AWS with temporary credentials.

Have you tried viewing the SAML response to see if there is an obvious error?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: andycaine

79554844

Date: 2025-04-04 08:38:46
Score: 2.5
Natty:
Report link

I was using WSL2 and docker for my Laravel Sail setup and had the same problem showing the default Apache page. It was because WSL2 had Apache2 installed pre-installed and. I removed it with `sudo apt remove apache2` and it was resolved.

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

79554830

Date: 2025-04-04 08:31:44
Score: 1.5
Natty:
Report link

I have explained all the steps here , see If it helps.

I am created this package and currently using it, fully automated, no user interaction required.

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

79554828

Date: 2025-04-04 08:30:44
Score: 1.5
Natty:
Report link

You also need to register the phone number first. The API is defined https://developers.facebook.com/docs/whatsapp/cloud-api/reference/registration/:

curl 'https://graph.facebook.com/v22.0/<phone-fbid>/register ' \
-H 'Content-Type: application/json' \
-H 'Authorization: Bearer <token>' \
-d '
{
  "messaging_product": "whatsapp",
  "pin": "<6-digit-pin>"
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Navjot Singh

79554826

Date: 2025-04-04 08:29:43
Score: 1.5
Natty:
Report link

It seems to me that VTE insists that the escape sequence ends in the official ST (\e\\) rather than the nonstandard, unofficial BEL (\a).

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

79554820

Date: 2025-04-04 08:26:43
Score: 1
Natty:
Report link

Frankly said it is impossible to re-sign already compilled driver. Or the probability of success is extremelly low.

The problem is PE section that older compiller set data portion to be simultaneously writable and executable. You will need to edit and rework PE header.

But there is another pitfall, the allignment is required to bre 0x1000. If not, the driver cannot be used for kernel isolation anyway. Only recompillation will fix this.

There are even more pitfalls that might accidentally emerse.

From my point of view only recompillation could grant a success.

I has been reworked avshws driver to support kernel isolation here, you can test it:
https://ftsoft.com.cz/CamView/AVSHWS/index.htm

Fortunatelly whql signing is not needed :).

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

79554817

Date: 2025-04-04 08:23:42
Score: 1.5
Natty:
Report link

You can set the personal certificate default in the kdb us the following command

<path/to/ihs>bin/gskcapicmd -cert -setdefault -label <Personal_cert_label> -db <kdb>.kdb -stashed
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Simon Obetta

79554816

Date: 2025-04-04 08:23:42
Score: 2
Natty:
Report link

I was struggling with the same issue. Found a workaround for me.
You can do it with Portainer.

If you add a container in Portainer, you must switch to 'advanced mode' under 'image configuration', then you can pull any publicly available image.

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

79554814

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

1. Vérifier l’installation du JDK

Assurez-vous que le JDK est bien installé sur votre machine. Vous pouvez vérifier cela en exécutant dans un terminal la commande java -version ou javac -version. Si ces commandes ne renvoient pas de version, le JDK n’est probablement pas installé.

2. Localiser le répertoire d’installation du JDK

Trouvez l’emplacement exact où le JDK est installé. Par exemple, sur Windows, le chemin peut ressembler à C:\Program Files\Java\jdk-11 (ou une autre version). Sous macOS ou Linux, le JDK peut être dans /Library/Java/JavaVirtualMachines/ ou /usr/lib/jvm/.

3. Modifier la variable d’environnement JAVA_HOME

Sur Windows :

Ouvrez les Paramètres Système Avancés et cliquez sur Variables d’environnement.

Dans la section « Variables système », cherchez la variable JAVA_HOME.

Modifiez-la pour qu’elle pointe vers le répertoire exact de votre JDK (par exemple, C:\Program Files\Java\jdk-11).

Sur macOS/Linux :

Ouvrez votre fichier de configuration de shell (comme ~/.bash_profile, ~/.bashrc ou ~/.zshrc) avec un éditeur de texte.

Ajoutez ou modifiez la ligne suivante :

export JAVA_HOME=/chemin/vers/votre/jdk

Enregistrez le fichier et rechargez la configuration avec source ~/.bash_profile (ou le fichier concerné).

4. Vérifier et mettre à jour la variable PATH (si nécessaire)

Assurez-vous que le répertoire bin du JDK est bien inclus dans votre variable PATH. Cela permet aux outils comme Gradle de trouver les exécutables Java.

Par exemple, sous Windows, ajoutez ;%JAVA_HOME%\bin à la variable PATH. Sous macOS/Linux, vous pouvez ajouter :

export PATH=$JAVA_HOME/bin:$PATH

5. Redémarrer votre terminal ou IDE

Après avoir modifié les variables d’environnement, fermez et rouvrez votre terminal (ou redémarrez votre IDE) pour que les changements soient pris en compte.

6. Vérifier la configuration avec Flutter

Exécutez flutter doctor dans le terminal pour confirmer que Flutter reconnaît correctement le JDK.

Si tout est en ordre, relancez flutter run.

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

79554805

Date: 2025-04-04 08:17:40
Score: 1.5
Natty:
Report link

Are you using saveAsTable to write your data? If yes, to avoid your issue, you can set

spark.conf.set("spark.sql.sources.partitionOverwriteMode", "dynamic")

and then using saveAsTable should not delete any data in the source.

Not sure if applicable to your use case, but I would encourage you to avoid using saveAsTable if possible, and instead write the data to a file format and then use something else to handle the operations on the tables. E.g., in AWS, you can write out the data as parquet to s3 and then use a lambda function/crawler for registering the changes to your glue tables. Sometimes saveAsTable can be clearly slower and might have these side effects.

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

79554801

Date: 2025-04-04 08:15:39
Score: 2
Natty:
Report link

this could be quite a challenge for a nerd like me. for now, only "simple" way i got is to use LnkParse3, but it can only find certain types of icon. i thought i'll keep on digging on this.

for reference only: https://github.com/deadlyedge/iconDrawer/blob/master/modules/icon_utils.py

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

79554799

Date: 2025-04-04 08:15:39
Score: 0.5
Natty:
Report link

Can anyone please provide me latest sample code to read and write csv from Azure ML Studio to CDL (Data Lake) Gen 2 using Azure Datastores in Python. Also please provide me the resources where i can read stuff regarding these changes in Gen 2 and Azure libraries which we need to install for the same for reading and writing csv from Azure ML Studio to CDL (Data Lake) Gen 2 using Azure Datastores in Python.

You can use the below code ​to read and write CSV files between Azure Machine Learning (Azure ML) Studio and Azure Data Lake Storage Gen2 using Azure Datastores in Python.

Register the Azure Data Lake Gen2 as a Datastore Code:

from azure.ai.ml import MLClient
from azure.ai.ml.entities import AzureDataLakeGen2Datastore
from azure.identity import DefaultAzureCredential

# Authenticate with Azure ML Workspace
credential = DefaultAzureCredential()

ml_client = MLClient(
    credential=credential,
    subscription_id="xxxx",
    resource_group_name="xxx",
    workspace_name="xx"
)
# Define the ADLS Gen2 Datastore
datastore = AzureDataLakeGen2Datastore(
    name="sampledatastore",
    account_name="xxx",
    filesystem="xxx",
)

# Register the Datastore
ml_client.datastores.create_or_update(datastore)

print("Datastore registered successfully!")

To read a CSV file from the datastore:

Code:

import pandas as pd

# Define path to the CSV file in ADLS Gen2
csv_path = "azureml://subscriptions/xxxxx/resourcegroups/vexxxx/workspaces/xxxx/datastores/xxxx/paths/003.csv"
df = pd.read_csv(csv_path)
print(df.head())

Output:

 CATEGORY    TIME                   INDICATOR  \
0  Rankings  2016.0                         NaN   
1       NaN     NaN      Health Outcomes - Rank   
2       NaN     NaN  Health Outcomes - Quartile   
3       NaN     NaN       Health Factors - Rank   
4       NaN     NaN   Health Factors - Quartile   

enter image description here

To write a CSV file from the datastore:

Code:

df = pd.DataFrame({
    "Name": ["Alice", "Bob"],
    "Score": [90, 85]
})

# Save to local temporary CSV file
df.to_csv("sample.csv", index=False)

# Upload it to the datastore
data_asset = Data(
    path="sample.csv",
    type=AssetTypes.URI_FILE,
    name="csv-upload",
    description="Sample CSV upload to Data Lake",
    datastore=datastore.name
)

uploaded_data = ml_client.data.create_or_update(data_asset)
print("CSV uploaded to:", uploaded_data.path)

Output:

Uploading sample.csv (< 1 MB): 27.0B [00:00, 78.8B/s]
CSV uploaded to: azureml://subscriptionsxxx/resourcegroups/xx/workspaces/xxce/datastores/xxx/paths/LocalUpload/99xxx4/sample.csv

enter image description here

Reference: Use datastores - Azure Machine Learning | Microsoft Learn

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (2.5): Can anyone please provide me
  • RegEx Blacklisted phrase (2.5): please provide me
  • Long answer (-1):
  • Has code block (-0.5):
  • Starts with a question (0.5): Can anyone please
  • High reputation (-2):
Posted by: Venkatesan

79554798

Date: 2025-04-04 08:14:39
Score: 3.5
Natty:
Report link

There is system virtual machine and language virtual machine. The author of "Professional .Net Framework 2.0" refer to latter.
Read more here https://craftinginterpreters.com/a-map-of-the-territory.html#virtual-machine

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

79554770

Date: 2025-04-04 07:54:34
Score: 2
Natty:
Report link

Answering my own question in case someone stumbles on the same issue:

The problem ended up being a configuration error on my side. The partitions in S3 had zeropadding i.e. April = 04, the projected partitions as can be seen by the glue table parameters do not. I didn't think this would be an issue using the type "integer" but apparently it is.

So the projected partitions would be i.e. month 4, day 3; but in s3 it would be month=04 and day=03 which is the reason Athena couldn't access the data.

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

79554769

Date: 2025-04-04 07:54:34
Score: 1
Natty:
Report link

Related to https://stackoverflow.com/a/76317884/4597676's response, I realised that I was using a different version of node (via nvm) where corepack had not been enabled. I thus had two options:

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

79554762

Date: 2025-04-04 07:52:33
Score: 0.5
Natty:
Report link

While above answers cover all the required aspects of the response compression I would like to highlight a compression gem for performance gain .I wonder no one is talking about Brotli gem. which is more efficient than Gzip in both compression speed and file size reduction. I could have written more about it but here is a great article discussing both.

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

79554759

Date: 2025-04-04 07:51:33
Score: 1
Natty:
Report link

How to enable Edge (Chromium) WebView2 in SAP GUI 7.70 or higher:

  1. Open SAP Logon.

  2. Click on "Customize Local Layout" (the little gear icon in the top-right corner or press Alt + F12).

  3. Select "Options…" from the dropdown.

  4. In the SAP GUI Options dialog:

    • Navigate to:
      Interaction Design > Control Settings > HTML Control
  5. Under HTML Control, change the setting from:

    • Internet Explorer

    • 👉 to Edge (based on Chromium)

  6. Click Apply and then OK.

  7. Restart SAP GUI for changes to take effect.

Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): How to
  • Low reputation (1):
Posted by: Nemanja

79554758

Date: 2025-04-04 07:51:33
Score: 2
Natty:
Report link

Try to do that before click:

burgerMenu.shouldBe(Condition.interactable)

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

79554755

Date: 2025-04-04 07:50:33
Score: 3.5
Natty:
Report link

give me hello with whatsapp on +917688964604. i can copletely guide you

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

79554754

Date: 2025-04-04 07:49:32
Score: 1
Natty:
Report link

I've created a public project that automates the generation of OpenAPI 3 documentation for gRPC methods. It also extracts request/response samples from unit tests and includes them directly in the OpenAPI file.

The only current limitation is that it assumes each microservice contains its own .proto file — it doesn't support setups where proto files are centralized in a shared repository.

I hope this project can be helpful or inspiring (feel free to check out the README)
Good luck!

Reasons:
  • Contains signature (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Marco

79554750

Date: 2025-04-04 07:48:32
Score: 9
Natty: 7.5
Report link

Did you manage to solve this by any chance?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve this
  • Low length (1.5):
  • 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: Berat Koçak

79554724

Date: 2025-04-04 07:38:29
Score: 2
Natty:
Report link

I think this is a less a foundry questions than a pandas question :)

You might need to change the locale in your code ?


# Change locale for commas as decimal separators, e.g., 'fr_FR' for French
locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: ZettaP

79554713

Date: 2025-04-04 07:34:28
Score: 2.5
Natty:
Report link

another way, Menu -> Project Structure choose enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: 张馆长

79554701

Date: 2025-04-04 07:29:26
Score: 0.5
Natty:
Report link

I was able to make it work ... partially. The image now appears as an attachment.

function sendEmails() {
  var templateData = getData("Templates");
  var emailSubjectTemplate = templateData[1][0]; //Cell A2
  var emailBodyTemplate = templateData[4][0]; //Cell A5
  var emailData = getData("Data");
  var logo = DriveApp.getFileById("1PyDU0sOYW_OSMQ1vNpXn9JGf7-I7_dBL").getAs("image/png");
  emailData = rowsToObjects(emailData);
  emailData.forEach(function (rowObject) {
    var subject = renderTemplate(emailSubjectTemplate, rowObject);
    var body = renderTemplate(emailBodyTemplate, rowObject);
    let emailImages = {"logo":logo}
    MailApp.sendEmail(rowObject["Email Address"], subject, body, {inlineImages: emailImages});
  });
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: kimmandy36

79554696

Date: 2025-04-04 07:28:26
Score: 1
Natty:
Report link

If you want to use a variable on the client-side during runtime, you need to make it public. The client-side needs to see the DSN to know where to send the errors to.

Your frontend is always public. As soon as you open the browser inspection tools, you are able to see the (minified) code, the network requests etc.

Just make sure to keep your Sentry Auth Token secret - this one is only used during build time.

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

79554695

Date: 2025-04-04 07:28:26
Score: 4
Natty: 4.5
Report link

Modbus tcp ip client and server for mobile

https://play.google.com/store/apps/details?id=com.com.Annzar.dergott.ModbusTCPIPMobile

https://play.google.com/store/apps/details?id=com.AnnZarderGott.MobileServerModbusTCP

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

79554686

Date: 2025-04-04 07:23:25
Score: 2.5
Natty:
Report link

Based on the comment of @barmar, I added a <tfoot> at the end of the table.

Inside the <tfoot> I added a <tr> and a empty <td>.

To ensure good use the <td> got a height of 48px and span over the whole table.

To get the last table row it is important not to count the rows of the whole table, but only the rows in body. Codepen is here: Codepen

So finally I can move the tablerows where I want them:-)

Sorry for my poor English:-)

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • User mentioned (1): @barmar
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Dirk

79554684

Date: 2025-04-04 07:22:24
Score: 1.5
Natty:
Report link

Simple Approach-Use this query according to your table structure.

Change Limit, n rows want to display.

Change Offset to skip data.

SELECT distinct amount from amount_table order by amount desc limit 1 offset 1;

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

79554678

Date: 2025-04-04 07:20:24
Score: 1
Natty:
Report link
My WSL2 distro (Debian) contains /usr/bin/Xtigervnc, an Xserver compatible with vnc.  I don't remember if it came in Debian by default or if I installed it later.

To view my vnc session, I used the RealVNC vnc viewer, a Windows application that was free when I got it an I hope is still free if you go to get it.  You should be able to find it easily in a Google search.  I suspect any vnc viewer will work.

There are 2 unusual things you need to do to get this to work: (1) Make your /tmp/.X11-unix read-write, and (2) run epiphany from dbus-run-session.

Here's how to solve (1):
Open a WSL2 bash shell, and in there, do these commands:
  cd /tmp
  sudo umount /tmp/.X11-unix
  sudo mkdir -p .X11-unix
  chmod 1777 .X11-unix #Required permissions!
Don't try to change $TMPDIR to use a different readable folder -- epiphany ignores this.
WARNING: There is a reason WSL2 mounts this folder read-only! Things in /tmp can theoretically get deleted at any time, and I guess Microsoft didn't want to deal with that problem if you're using Microsoft's built-in Xserver in WSL2 (which is called WSLg in Windows 11, but apparently is available but not advertised in the latest Windows 10 WSL2).

Here's how to solve (2):
You need to run epiphany with this command:
  dbus-run-session -- epiphany

For Linux beginners:
After doing step (1) above, and before doing step (2), you need to start a vnc server.  Here are detailed procedures:
- Open a WSL terminal
- Enter the following command: which vncserver
  If this command returns nothing or an error message, then you don't have vncserver, so you need to install it.  Here's how to do that in a Debian distribution:
    sudo apt update
    sudo apt install tigervnc-standalone-server
- Enter the following command: which epiphany
  If this command returns nothing or an error message, then you don't have the epiphany browser, so you need to install it.  Here's how to do that in a Debian distribution:
    sudo apt update
    sudo apt install epiphany-browser
- Enter this command: vncpasswd
  Choose a password
  Most people choose n for no to the question, "Would you like to enter a view-only password (y/n)?"
- Enter this command: vncserver :1
- Run your vnc viewer in Windows.  On my machine, I can do that by clicking the start button, typing vnc, and then clicking the vnc.exe icon
- You'll need to tell the vnc viewer software what display to connect to, and how you do that depends on which vnc viewer you have.  On my computer, the viewer provides a search bar, in which I type localhost:1 and hit the Entey keyboard key.  A password dialog pops up, in which I enter the password I created with vncpasswd.
- You should see a Linux desktop now.  I'm not sure what it will look like by default -- mine is so customized I can't remember.
- To launch epiphany, you'll need a terminal window on your Linux desktop in your vnc viewer.  How you get one depends on your configuration.  I can't really help you with that.
- In the terminal inside the vnc viewer, enter this command:
    echo "$DISPLAY"
  If that prints nothing, then enter this command: export DISPLAY=:1
- Now enter this command
    dbus-run-session -- epiphany &
  This will show error messages and warnings.  If epiphany doesn't start successfully, use these messages to diagnose.  Once you have it working, however, you may not want to see all this verbose info each time, so I recommend using this command from then on:
    dbus-run-session -- epiphany > /dev/null 2>&1 < /dev/null &


Reasons:
  • Blacklisted phrase (1): how to solve
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Glenn Pfeffer

79554674

Date: 2025-04-04 07:18:23
Score: 1
Natty:
Report link

The only way I can imagine achieving this is by mounting a player onto a horse with a customized model, so it displays the desired entity.

Unfortunately, I don't think there is any other way or workaround. It cannot be done without client-side render mods. However, even with client-side mods, you can still stay on the Bukkit/Spigot/Paper servers and build communication between mods and plugins over the Minecraft Protocol.

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

79554673

Date: 2025-04-04 07:18:23
Score: 3
Natty:
Report link

First check with postman using barrier token will it give the desired response or not then make changes in the config file

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

79554667

Date: 2025-04-04 07:15:22
Score: 1
Natty:
Report link

If you are using a terminal on Ubuntu using MariaDB; just use --skip-ssl at the end, and you will login

mysql -u root -p database_name --skip-ssl
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adeel Raza Azeemi

79554665

Date: 2025-04-04 07:14:22
Score: 1
Natty:
Report link
  1. Install the extension "Clang Power Tools 2022"

  2. In the solution explorer dock widget, right-click on your solution, then click "Clang Power Tools" > "Settings" menu entries

  3. In the "Format" tab :

    1. "Assume filename" = .clang-format (I do have a .clang-format file in the top-level directory of my project)

    2. "Style" = file

    3. "Format on save" = on

  4. Profit

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

79554657

Date: 2025-04-04 07:08:20
Score: 1.5
Natty:
Report link

You may want to look up the term "debouncer". Here is a simple implementation I haven't tested:
https://gist.github.com/lcnvdl/43bfdcb781d799df6b7e8e66fe3792db

But looks fine to me.

You just call Debounce() every time something changes on your directory and pass your method that will copy the files.

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

79554655

Date: 2025-04-04 07:08:20
Score: 2
Natty:
Report link

I know that this question already has several great answers, but I found an extra explanation in the context of RxJS (and for me in the bigger context of redux-observable) here: https://rxjs.dev/guide/observable#pull-versus-push

I also found this image helpful, it can be found at the top of https://rxjs.dev/guide/observable#pull-versus-push and has some useful links:
Observable Table

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

79554652

Date: 2025-04-04 07:05:20
Score: 1.5
Natty:
Report link

The object-oriented programming language C# was created to let developers quickly create a wide range of applications for the Microsoft .NET framework. By removing developers' worries about a variety of low-level details, including memory management, type safety, the construction of fundamental libraries, and array bounds checking, C# and the .NET platform aim to shorten development times. This makes it possible for developers to concentrate their time and energy on their business logic and applications. The previous sentence might be read by a Java developer as a brief synopsis of the Java language and platform by simply replacing "C#" and ".NET platform" with "Java" and "Java platform."

Being tech helper creates dynamic websites that are customized to meet your needs. We prioritize smooth functionality and user experience when creating captivating websites and applications. Our knowledgeable staff empowers your online presence with modern, scalable, and reliable web development.

Learn more:

The best software company in Bhopal 

Website development company in Bhopal

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

79554650

Date: 2025-04-04 07:04:19
Score: 0.5
Natty:
Report link

I ran into this issue when working with our code signing private key being stored in Azure KeyVault. The original pair of Private-Public keys was generated and stored using a Hardware Security Module (HSM), which was on-premise and not accessible to our Azure DevOps cloud-based build agents. A solution was to move the private key into Azure KeyVault using their Bring You Own Key (BYOK) mechanism, use signtool to create the file digest using the trusted code signing certificate, sign the digest using Azure KeyVault functions and then ingest the signature.

I then observed this issue.

The issue for me was that our code signing key pair was generated from an Elliptic Curve (P-384). The signed digest can not simply be returned to signtool "as-is".

The EC signed digest needs to be encoded using ASN.1 DER format. SEQUENCE(r,s) (RFC3279 DER Sequence). r and s are the first and second halves of the returned signed digest.

In the end I wrote a C++ application that performed the same functionality as signtool, using the SignSignerEx3 function in the Windows SDK. This allows the correct hashing of PE files to be done by Windows and a callback function called when the digest needs to be signed.

For those who might be following a similar journey, I found this out by reading the .NET code. There is a subtle difference between 'SignData' and 'SignHash' functions, with the later encoding the signed digest for EC keys or adding PCKS1 padding for RSA keys.

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

79554644

Date: 2025-04-04 07:02:19
Score: 0.5
Natty:
Report link

The naive implementation for your requirement would look like this:

record MyRecord( int a, int b )
{
  int hash; // Does not compile!!
  
  MyRecord
  {
    hash = a * 100 + b;
  }
       
  @Override
  public int hashCode() { return hash; }
}

When compiling that, JShell tells you:

|  Error:
|  field declaration must be static
|    (consider replacing field with record component)
|      int hash;
|          ^---^

Presumably, the error message returned by javac would look slightly different, but with more or less the same meaning: a record cannot have additional attributes other than the record components. And that would lead to a construct as shown in this answer.

If the hashcode calculation is really, really, REALLY time consuming, you can consider something like this:

record MyRecord( int a, int b )
{
  static final Map<MyRecord,Integer> hashes = new IdentityHashMap<>();
       
  public MyRecord
  {
    hashes.put( this, a * 100 + b );
  }
       
  @Override
  public int hashCode() { return hashes.get( this );}
}

But as this simple implementation is causing significant memory dissipation, you need to implement also a cleanup for the hashes map; otherwise an OutOfMemoryError will be thrown at some time …


A comment for the downvote would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (2): downvote
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: tquadrat

79554637

Date: 2025-04-04 06:57:18
Score: 3.5
Natty:
Report link

In addition to Sam M answer,
if you want to have both reports on the same page, you can set the property "StartEachItemFromNewPage" to False on your TdxCompositionReportLink object

https://docs.devexpress.com/VCL/dxPSCore.TdxCompositionReportLink.StartEachItemFromNewPage

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

79554635

Date: 2025-04-04 06:56:17
Score: 0.5
Natty:
Report link

You can configure

the path to the script to be executed

Command line arguments (args)

Working directory (cwd)

Environment variables (env)

For more, read Python debugging in VS Code

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Minxin Yu - MSFT

79554616

Date: 2025-04-04 06:43:14
Score: 1
Natty:
Report link

This is perhaps not exactly what the OP was looking for, but I came across this post when searching for a way to temporarily select specified values on-the-fly as table data result in SQL.

See: https://stackoverflow.com/a/7285095/4993856 by pm..

Basically:

SELECT *
FROM (
    VALUES ('a',1), ('b',2), ('c',3) 
) AS X("Column a","Column b")

produces:

Column a Column b
a 1
b 2
c 3
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jonno

79554612

Date: 2025-04-04 06:41:13
Score: 3.5
Natty:
Report link

Interesting. That happened to be the same question I had and now I understand! Thank you so much:)

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

79554605

Date: 2025-04-04 06:39:13
Score: 1
Natty:
Report link

The problem was inside the excel. There were some strange characters, when i tried to import It, i was not able to use it.

I resolved using csv 😀

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: paolo130881

79554598

Date: 2025-04-04 06:31:11
Score: 2.5
Natty:
Report link

The problem is that the application.xml of the ear is missing:

<module>

<java></java>

</module>

There you have to put the lib/... path of your jar in the ear
<module>

<java>lib/eclipselink.jar</java>

</module>

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

79554587

Date: 2025-04-04 06:24:09
Score: 1
Natty:
Report link

My solution was simpler.

The migration folder is listed in .gitignore and the files do not appear in the csproj file list. On some whim I moved the migration file to the file list. And then the database was properly updated.

Now if only I could figure out how to create migration files that don't try to create the entire schema. But that's an old bug and I can write migration files manually.

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

79554579

Date: 2025-04-04 06:22:09
Score: 2.5
Natty:
Report link
<source>
  @type tail
  path /var/log/pythonrestapi/log*
  pos_file /var/log/td-agent/pos/pythonrestapi_logs.pos
  read_from_head true
  tag pythonrestapi

  <parse>
    @type multi_format
    <pattern>
      # Assuming log format is like "2025-04-04 05:44:55 INFO Running app..."
      format /^(?<time>\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}) (?<level>\w+) (?<message>.*)$/
      time_format %Y-%m-%d %H:%M:%S
      keep_time_key true
    </pattern>
  </parse>
</source>
Can we be friends btw?
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jonathan Kendrick

79554577

Date: 2025-04-04 06:21:08
Score: 3
Natty:
Report link

You can test socket service using https://websocketking.com/

Hope it can be help you.

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

79554576

Date: 2025-04-04 06:19:08
Score: 3
Natty:
Report link

UPDATE customer

SET (name, date1,money) = (select help.name, help.date1, help.money from help WHERE customer.id_cust = help.id_cust);

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

79554571

Date: 2025-04-04 06:17:07
Score: 3
Natty:
Report link

I was able to find documentation for it in an old version of the `PROTOCOL.agent` file in the OpenSSH repo: https://github.com/openssh/openssh-portable/blob/531c135409b8d8810795b1f3692a4ebfd5c9cae0/PROTOCOL.agent

Specifically the difference between what is specified there and trying to pass certificates encoded as des https://github.com/openssh/openssh-portable/blob/master/PROTOCOL.certkeys

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

79554549

Date: 2025-04-04 06:01:03
Score: 0.5
Natty:
Report link

I think google sheets can open Excel. Here is a solution with python:

import pandas as pd

df = pd.read_xml("usd.xml", xpath=".//doc:Obs", namespaces = {"doc": "http://www.ecb.europa.eu/vocabulary/stats/exr/1"})
df.to_excel("currency.xlsx")
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Paul-ET

79554533

Date: 2025-04-04 05:51:01
Score: 3.5
Natty:
Report link

Hi ifaax waan ku salaamay, magacagu waa inta waalan walaalkood, Ana waxaan ahay wallaalkaa maadaama oo aad waalan tahay.hhhhhj

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

79554524

Date: 2025-04-04 05:41:59
Score: 2.5
Natty:
Report link

@rozsazoltan: your last comment solved the problem. However, I still can't figure out how you came to the conclusion that it has to be the size-5 class - which is was.

So what happened? I have recreated a flux component with some heavy customization - if you want to reproduce it, below you find the code that caused the error - and had [:where(&amp;)]:size-5 in a elements class.

How to reproduce the problem: just place the following in your blade file and run npm run build

<svg class="shrink-0 [:where(&amp;)]:size-5 animate-spin" wire:loading="" wire:target="search" data-flux-icon="" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" aria-hidden="true" data-slot="icon">
    <circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle>
    <path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path>
</svg>

Thank you for pointing out that the issue has to be related to the size-5 class.

npm run build still prints Generated an empty chunk: "app". which I don't know why but the process for minifying the css works.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @rozsazoltan
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Michael Kocurek

79554523

Date: 2025-04-04 05:40:58
Score: 4.5
Natty: 4
Report link

i'm looking to renew all certificates as well and set an expiration time of 10 years. what is the working version after all and can you clarify what should be the $node_name and why IP:192.168.49.2, IP:127.0.0.1, IP:0:0:0:0:0:0:0:1 are used specifically? should i replace those with the server's private IP or look what minikube is using and use that after doing minikube ssh?

i am running minikube version v1.35.0. thanks!

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (2.5): can you clarify what
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Flow

79554516

Date: 2025-04-04 05:27:55
Score: 5.5
Natty: 6.5
Report link

Where I can find the key of my youtube account ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Where I can find the
  • Low reputation (0.5):
Posted by: andrea ciuffoli

79554511

Date: 2025-04-04 05:24:55
Score: 1.5
Natty:
Report link

In case it helps anyone, I'm trying to avoid shades of brown with a random colour generator. Browns are hard to define a range for. It looks to me like the following covers all brown, though it may include a few slightly different hues too (like off coloured greens or purples), but you can tweak the limits: In terms of Hex codes for R,G,B: R < ee, R - 6 < G < R-3, B < G Eg: #993300 is brown. So if you want to avoid brown, then NOT this.

I need this for dots on a satellite map, which are hard to see if brown.

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

79554508

Date: 2025-04-04 05:18:53
Score: 0.5
Natty:
Report link

I got this error from the minimal example

a = torch.tensor(4.0)
a.unsqueeze(1)

So I assume the problem is trying to unsqueeze a scalar, which has dimension 0 . As the error suggests, the dimension is maxed at zero.

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

79554503

Date: 2025-04-04 05:14:52
Score: 3
Natty:
Report link

Per the W3C, placeholder text is not an adequate replacement for form labels. The W3C examples have more accessible labeling.

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

79554490

Date: 2025-04-04 05:04:50
Score: 2
Natty:
Report link

This is my react native version "react-native": "^0.78.0",

i have installed this OTP package and got the same error "Cannot read property 'getString' of null"

"@twotalltotems/react-native-otp-input": "^1.3.11",

so i installed "@react-native-clipboard/clipboard": "^1.15.0",

i have done this before in my previous projects too . Haven't got the error after installing this clipboard.

thanks.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Low reputation (1):
Posted by: Govind29

79554488

Date: 2025-04-04 05:01:49
Score: 0.5
Natty:
Report link

I had a similar problem, I solved it with brew.

Installation command: brew install --cask intellij-idea-ce

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ардак

79554475

Date: 2025-04-04 04:49:46
Score: 3
Natty:
Report link

Sir I have use the Saudi vissa Bio app for bio matric of passport and fingers for Hajj vii but an error ocure which is talk json reader for solving

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

79554472

Date: 2025-04-04 04:43:45
Score: 2
Natty:
Report link
ChatGPT a dit :

The issue is likely because when your PC connects to the VPN, all its traffic is routed through the VPN tunnel, including incoming SSH connections. Here are some ways to fix this:

  1. Check firewall rules: OpenVPN may modify iptables rules and block incoming connections. Try temporarily disabling the firewall with:

    bash
    

    CopierModifier

    sudo ufw disable

    Then test the SSH connection.

  2. Port forwarding on the VPN: VPNBook likely does not support incoming connections. Your PC is behind the VPN’s NAT, so SSH cannot reach it via the VPN IP. You would need a VPN provider that supports port forwarding (like Mullvad or PIA).

  3. Use split tunneling: If your goal is to hide outgoing traffic while keeping SSH accessible, you can configure OpenVPN to exclude SSH from the tunnel using the route-nopull option and specific routes for your VPN server.

Do you need SSH access only locally or also through the VPN IP?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: amandine

79554470

Date: 2025-04-04 04:40:44
Score: 0.5
Natty:
Report link

I've been fighting my way through this same set of issues. I'm not all the way there yet, but here's a summary of what I've found so far. Depending on what language you use, there are some working examples out there. Two that helped me were: https://github.com/bluesky-social/cookbook/tree/main/python-oauth-web-app and https://pkg.go.dev/github.com/potproject/atproto-oauth2-go-example.

Implementing OAuth with Bluesky API: The Missing Manual

Overview

Authenticating with Bluesky using OAuth is significantly more complex than traditional OAuth implementations due to Bluesky's use of advanced security mechanisms like DPoP (Demonstrating Proof of Possession) and their multi-tiered API architecture. This guide outlines the key requirements and steps for successfully implementing OAuth authentication with Bluesky.

Authentication Architecture Understanding

Bluesky's API consists of two main components:

  1. Personal Data Server (PDS) - Stores user data and provides endpoints for interacting with a user's own content
  2. AppView API - Provides endpoints for viewing and interacting with other users' content

Important: OAuth tokens can only be used with PDS endpoints, not with AppView endpoints.

Key Requirements

1. OAuth Flow Requirements

2. DPoP Authentication

3. API Access Limitations

Implementation Steps

1. Client Registration

Create a client metadata JSON file available at a public HTTPS URL:

{
  "client_id": "https://your-app.com/.well-known/bluesky-oauth.json",
  "application_type": "web",
  "client_name": "Your App Name",
  "client_uri": "https://your-app.com",
  "dpop_bound_access_tokens": true,
  "require_pkce": true,
  "grant_types": [
    "authorization_code",
    "refresh_token"
  ],
  "redirect_uris": [
    "https://your-app.com/auth/bluesky/callback"
  ],
  "response_types": [
    "code"
  ],
  "scope": "atproto transition:generic transition:chat.bsky",
  "token_endpoint_auth_method": "none"
}

2. Authorization Request

  1. Generate a PKCE code verifier and challenge
  2. Redirect user to Bluesky's authorization URL with:
    • client_id (URL to your metadata JSON)
    • redirect_uri
    • response_type = "code"
    • scope = "atproto transition:generic transition:chat.bsky"
    • code_challenge and code_challenge_method = "S256"
    • state (security token)

3. Token Exchange with DPoP

  1. Generate a P-256 key pair for DPoP
  2. Create a DPoP token for the token exchange request with the token endpoint URL
  3. Exchange the authorization code for tokens:
    • grant_type = "authorization_code"
    • code = received code from authorization
    • redirect_uri = same as in authorization request
    • code_verifier = PKCE verifier from step 2
    • client_id = URL to your metadata JSON
  4. Include DPoP header with the DPoP token
  5. Handle DPoP nonce from the server response for subsequent requests

4. Making API Requests

  1. Generate a new DPoP token for each request
  2. Use Authorization: DPoP <access_token> in the header
  3. Include the DPoP token in the DPoP header
  4. Include the server-provided nonce in subsequent DPoP tokens
  5. Only use PDS endpoints (those starting with /xrpc/com.atproto.*)
  6. Handle responses properly, including new nonces

5. Profile Information Access

To get user profile info:

GET /xrpc/com.atproto.repo.getRecord?repo=<user-did>&collection=app.bsky.actor.profile&rkey=self

The response structure is complex, with nested objects:

{
  "uri": "at://did:plc:abc123/app.bsky.actor.profile/self",
  "cid": "bafyreiabc123...",
  "value": {
    "$type": "app.bsky.actor.profile",
    "displayName": "User Name",
    "description": "Bio text",
    "avatar": {
      "$type": "blob",
      "ref": {
        "$link": "bafkreiabc123..."
      },
      "mimeType": "image/jpeg",
      "size": 12345
    }
  }
}

Common Pitfalls and Solutions

  1. "Bad token scope" error:

    • Ensure you're using DPoP (not Bearer) in the Authorization header
    • Make sure your DPoP token is signed with ES256
    • Verify you're accessing PDS endpoints, not AppView endpoints
  2. DPoP nonce issues:

    • Always store and reuse the most recent nonce from the server
    • Create a new DPoP token for each request
    • Handle the nonce retry flow correctly
  3. Avatar image access:

    • Avatar URLs must be constructed from the response:

      <endpoint>/xrpc/com.atproto.sync.getBlob?did=<user-did>&cid=<avatar-cid>
      
  4. Handle retrieval:

    • The getSession endpoint doesn't work with OAuth
    • Extract handle from other responses or store it when initially retrieved

Limitations

The OAuth implementation in Bluesky currently has these limitations:

  1. OAuth tokens can only access PDS endpoints (not AppView endpoints)
  2. Some operations will require using other authentication methods
  3. OAuth implementation differs from typical OAuth flows by requiring DPoP

For full API access, you may need to implement a hybrid approach using both OAuth for PDS endpoints and other authentication methods for AppView endpoints.

Reasons:
  • Blacklisted phrase (1): This guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dan Ratner

79554468

Date: 2025-04-04 04:39:44
Score: 1
Natty:
Report link

Go to ObjectFactory.java and remove the method that creates JAXBElement<OutputType>. This worked for me.

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

79554467

Date: 2025-04-04 04:38:44
Score: 2
Natty:
Report link

Only solution that I can think of is to add new client to the firebase debug project with package name "com.xyz.myproject.debug" and replace the google-services.json file with this client's json file. I guess, we can't change applicationId but can append using the property applicationIdSuffix which is available to us inside buildVariant closure.
So, my build variant will have :

 debug{
    //this build uses firebase project which is different from production
    signingConfig signingConfigs.debug
    applicationIdSuffix ".debug"
}

So this way, I do not have to change applicationId every time when I change the build variant. For Now, I will use this client but the question remains the same. Can't we replace the whole applicationId dynamically instead of appending?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Vivek Gupta

79554454

Date: 2025-04-04 04:24:41
Score: 3
Natty:
Report link

Try:
=SUM(ARRAYFORMULA(IF(A:A<>"", A:A-B:B, 0)))

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Low reputation (0.5):
Posted by: Deepak Saini

79554453

Date: 2025-04-04 04:24:41
Score: 0.5
Natty:
Report link

This line should be corrected.

my_df['fruits'].apply(lambda x: True for i in my_list if i in x)

The corrected line is:

my_df['check'] = my_df['fruits'].apply(lambda x: any(v in x for v in my_list))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Subir Chowdhury

79554447

Date: 2025-04-04 04:18:39
Score: 3.5
Natty:
Report link

i've got the same error, when compiling with gcc, can't seem to fix it

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

79554443

Date: 2025-04-04 04:13:37
Score: 1
Natty:
Report link

first of all, the problem may be that you are restricted in a different way (other than quota), but Google usually sends you an e-mail informing you in this case.

Qutoa sometimes does not update instantly, so you may need to wait a while to see the real usage.

Also, while the 10,000 quota uses a 1 point fee in each part of the youtube v3 api.

It uses a 100 point fee in the /search part. For this reason, this quota is usually not enough for you.

Instead, I recommend you to use APIs such as rapidAPI or zylalabs, which offer higher limits for "youtube v3" but are paid. Example:

"Youtube v3":

https://rapidapi.com/boztek-technology-boztek-technology-default/api/youtube-v317

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: İlyas Yıldırım

79554432

Date: 2025-04-04 04:02:35
Score: 0.5
Natty:
Report link

as i said in the comments, i tried this too but it doesn't work (as i said before, it is not possible to add the following script to the index page, this means that any script solution must be done on this check page)

index.php :

$nonce = 'n123'; //base64_encode(random_bytes(16));

check.php :

echo '<button type="button" id="btn" value="' . $_POST['username'] . ' : ' . $_POST['password'] . '">' . $_POST['username'] . '</button><script nonce="n123">document.getElementById("btn").addEventListener("click", function () { this.innerText = this.value; });</script>';
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MSO

79554423

Date: 2025-04-04 03:53:33
Score: 0.5
Natty:
Report link

I just want to get the last element from the list of models

Can't you use last function instead? The removeLast modifies the original list.

modelInstance = modelInstance.apply {
  if(isEmpty()){
    this += modelLoader.createInstancedModel(model, 10)
  }
}.last()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: jokuskay

79554420

Date: 2025-04-04 03:47:31
Score: 11.5 🚩
Natty: 5.5
Report link

does someone have new about quic support for ingress nginx ?

thanks in advance

Reasons:
  • Blacklisted phrase (0.5): thanks
  • RegEx Blacklisted phrase (3): thanks in advance
  • RegEx Blacklisted phrase (3): does someone have
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Airigaming

79554414

Date: 2025-04-04 03:38:29
Score: 4
Natty:
Report link

I just want to verify my tg bot)

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Паша Сенько

79554410

Date: 2025-04-04 03:38:29
Score: 2.5
Natty:
Report link

Apparently, I was using gcc from my main system, when I needed to install gcc seperately in cygwin via the setup executable and use that.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Coarse Rosinflower

79554405

Date: 2025-04-04 03:36:29
Score: 2
Natty:
Report link

pesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Minh Trần Quang

79554402

Date: 2025-04-04 03:33:28
Score: 4
Natty:
Report link

I am wondering that, when users remove liquidity, the amount of fee in the pool will be remove, then Total Fee / TVL is still right? Due to a lost amount of fee

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

79554397

Date: 2025-04-04 03:28:26
Score: 0.5
Natty:
Report link

this one will work it captures any alphabetical letter inside parentheses, remove it from the text, and eliminates any spaces after or before.

.\(([A-Z-a-z].*?)\)
 def extract_name(title):
          name = re.sub(r'.\(([A-Z-a-z].*?)\)', '', title)
           return name.strip()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: user11595058

79554395

Date: 2025-04-04 03:26:26
Score: 3.5
Natty:
Report link

Refer below blog .
https://academiccorpfusion.com/category/solid-principles/
it explained nice and easy way

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

79554393

Date: 2025-04-04 03:21:25
Score: 1
Natty:
Report link

from PIL import Image

# Load the two images

image1_path = "/mnt/data/file-6uCWGVXyH3FKqJK9RUQWgZ"

image2_path = "/mnt/data/file-93A7QBBo7iq6Yhygp5VqYP"

image1 = Image.open(image1_path)

image2 = Image.open(image2_path)

# Resize the images to have the same width

new_width = min(image1.width, image2.width)

image1 = image1.resize((new_width, int(image1.height * new_width / image1.width)))

image2 = image2.resize((new_width, int(image2.height * new_width / image2.width)))

# Combine the images vertically

new_height = image1.height + image2.height

combined_image = Image.new("RGB", (new_width, new_height))

combined_image.paste(image1, (0, 0))

combined_image.paste(image2, (0, image1.height))

# Save the combined image

combined_image_path = "/mnt/data/combined_image.jpg"

combined_image.save(combined_image_path)

combined_image_path

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

79554391

Date: 2025-04-04 03:19:24
Score: 1
Natty:
Report link

About some common problems that might occur when you try to connect to and access Server Message Block (SMB) Azure file shares from Windows or Linux clients, have you checked this article on this topic? https://learn.microsoft.com/en-us/troubleshoot/azure/azure-storage/files/connectivity/files-troubleshoot-smb-connectivity?tabs=windows

From the error message, the problem may be related to permission settings, you can try checking it. It would be helpful to locate and solve the problem if you can provide more error information, such as the error status code and detailed error message.

Reasons:
  • Blacklisted phrase (1): this article
  • No code block (0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Xudong Peng

79554377

Date: 2025-04-04 02:58:19
Score: 0.5
Natty:
Report link

turns out the library files (.lib) were built with VC++ 6 which used C++98, and thus references no longer existent function prototypes for STL classes when using newer VS versions

solution: recompile G3D from its source using a newer VS version, and use those .lib files instead

Reasons:
  • Whitelisted phrase (-2): solution:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: glg3d

79554366

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

Spring's AOP primarily uses the Proxy Design Pattern to implement aspects.

AOP create proxies for target objects. These proxies intercept method calls and allow cross-cutting concerns (such as logging, security, or transactions) to be applied dynamically — without modifying the original business logic or class.

if we read Spring documentation, there are two types of proxy configurations.

1. JDK Dynamic Proxies: Used for classes that implement one or more interfaces.

2. CGLIB Proxies: Used for classes that do not implement any interfaces, enabling method interception directly on the class.

Why am I saying no to Decorator Design Pattern? Simple answer IMHO is that both design patterns sounds conceptually similar in this case that they “seems to” adds functionality to a class. Decorator involves explicitly wrapping objects with additional functionality (using existing class/interfaces). While AOP does not explicitly "wrap" objects in the same way but instead uses proxies to transparently intercept method calls and apply additional behaviors. This makes it more appropriate to classify Spring AOP under the Proxy Design Pattern.

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

79554364

Date: 2025-04-04 02:53:18
Score: 3
Natty:
Report link
et footerAttributes: [NSAttributedString.Key: Any] = [
                                                          .font: UIFont.systemFont(ofSize: 20),
           //                                               .foregroundColor: UIColor.red.withAlphaComponent(
           //                                                   0.5),
                                                      ]
                                                      let footerString = NSAttributedString(
                                                          string: watermarkText, attributes: footerAttributes)

                                                      let footerTextWidth = footerString.size().width
                                                      let footerTextHeight = footerString.size().height

                                                      let footerX = (pageBounds.width - footerTextWidth) / 2
                                                      let footerY = 10 + footerTextHeight  // Adjust 10 as bottom margin

                                                      let footerAnnotation = PDFAnnotation(
                                                          bounds: CGRect(
                                                              x: footerX, y: footerY, width: footerTextWidth,
                                                              height: footerTextHeight),
                                                          forType: .freeText,
                                                          withProperties: nil
                                                          
                                                      )

                                                      footerAnnotation.contents = watermarkText.dropLast(2) + "**"
                                                      footerAnnotation.font = UIFont.systemFont(ofSize: 20)
                                                      footerAnnotation.color = .clear
                                                      footerAnnotation.fontColor = UIColor.darkGray
                                                          .withAlphaComponent(0.5)

                                                      page.addAnnotation(footerAnnotation)

i am not able to control the opacity of font why?

Reasons:
  • Blacklisted phrase (1): i am not able to
  • Blacklisted phrase (0.5): why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Kanojiya Deepak

79554359

Date: 2025-04-04 02:49:17
Score: 0.5
Natty:
Report link
record MyRecord(int a, int b, int hash) {

    MyRecord(int a, int b) {
        this(a, b, Objects.hash(a, b));
    }

    @Deprecated
    MyRecord {
    }

    @Override
    public int hashCode() {
        return hash;
    }
}

That said, I consider this an odd usage of records and would never do it myself. If I was convinced that I needed to precompute hash codes I would go with an old fashioned hand written value class.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Juan C Nuno

79554350

Date: 2025-04-04 02:37:14
Score: 4
Natty:
Report link

em,,i don' know,,,haha what can isay

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

79554345

Date: 2025-04-04 02:31:12
Score: 0.5
Natty:
Report link

Use a Map<String, Job> injection pattern and dynamically select based on config values

Spring can inject all beans of type Job into a Map<String, Job>, where the bean name is the key.

This allows you to use configuration properties like job1.name and job2.name to look up the right bean at runtime, without relying on multiple conditional bean definitions.

1. Define jobs as regular beans with specific names

@Configuration
public class MyConfiguration {

    @Bean("jobA")
    public Job jobA() {
        return new JobA();
    }

    @Bean("jobB")
    public Job jobB() {
        return new JobB();
    }

    @Bean("jobC")
    public Job jobC() {
        return new JobC();
    }

    @Bean
    public JobExecutor jobExecutor(
            Map<String, Job> jobMap,
            @Value("${job1.name}") String job1Name,
            @Value("${job2.name}") String job2Name) {

        Job job1 = jobMap.get(job1Name);
        Job job2 = jobMap.get(job2Name);

        return new JobExecutor(job1, job2);
    }
}

2. Your JobExecutor class

public class JobExecutor {

    private final Job job1;
    private final Job job2;

    public JobExecutor(Job job1, Job job2) {
        this.job1 = job1;
        this.job2 = job2;
    }

    public void execute() {
        job1.foo();
        job2.foo();
    }
}

3. Your application.properties

job1.name=jobA
job2.name=jobB

No need for @ConditionalOnExpression or @ConditionalOnProperty on every bean

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @ConditionalOnExpression
  • User mentioned (0): @ConditionalOnProperty
  • Low reputation (1):
Posted by: Vijay

79554328

Date: 2025-04-04 02:01:06
Score: 7.5 🚩
Natty:
Report link

Did you ever get an answer to this? I have a similar setup and noticed when switching the rewrite response from 404 (Rewrite) to 200 (Rewrite) I run into this MIME error but when setting it back to 404 (Rewrite) it works.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): Did you ever get an answer to this
  • Low length (0.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: Lee Dennis

79554295

Date: 2025-04-04 01:29:58
Score: 3
Natty:
Report link

I didn't find the solution to the error directly, but when changing browsers it should be solved if you use Jupyter Notebook, at least in my case

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

79554292

Date: 2025-04-04 01:24:57
Score: 2
Natty:
Report link

For viewing the table content on the rails console, only need to run the table name.all

  1. Go to the terminal

  2. Run the command rails console

    It will connect to the rails console and now

  3. Suppose your table name is Country then type the command

  4. Country.all

  5. it will fetch all the Country table contents.

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