79462240

Date: 2025-02-24 01:06:37
Score: 2
Natty:
Report link

You will get a User UID for Game Center accounts even though the Identifier is blank. You may need to enrich your data by using the UID as a Document in Firestore collection of "users".

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

79462230

Date: 2025-02-24 00:56:36
Score: 0.5
Natty:
Report link

from reportlab.lib.pagesizes import A4

from reportlab.pdfgen import canvas

from reportlab.lib.colors import HexColor

Définition des couleurs

title_color = HexColor("#785D42")  # Marron doré

text_color = HexColor("#000000")   # Noir

Création du fichier PDF

pdf_output_path = "/mnt/data/carte_remerciement.pdf"

c = canvas.Canvas(pdf_output_path, pagesize=A4)

width, height = A4

Ajout du titre

c.setFont("Helvetica-Bold", 20)

c.setFillColor(title_color)

c.drawCentredString(width / 2, height - 100, "Marhba bikoum")

Texte principal

c.setFont("Helvetica", 14)

c.setFillColor(text_color)

text = [

"La pièce embaumée par l'odeur du henné,",

"le cœur bercé par les chants traditionnels",

"",

"Les yeux inondés par l'émotion",

"et vous auprès de moi pour célébrer ce moment",

"",

"Merci de votre présence",

"",

"Meriem",

"mercredi 23 avril 2025"

]

Position du texte

y_position = height - 150

for line in text:

c.drawCentredString(width / 2, y_position, line)

y_position -= 25

Sauvegarde du PDF

c.save()

Retourner le fichier généré

pdf_output_path

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

79462203

Date: 2025-02-24 00:23:31
Score: 2.5
Natty:
Report link

Back in the 70s worked on a banking system mostly IBM assembler. Dates were in 2 bytes. 5 bits day, 4 bits month and 7 bits year. If cobol wanted to use it call an assembler subroutine that would return DDMMYY. Could have returned DDMMYYYY but no one was printing the 19 then anyway.

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

79462202

Date: 2025-02-24 00:22:31
Score: 1
Natty:
Report link

By default, my tests werent showing up as it shows in the @Tyler Liu answer, so I had to make some changes as defined here.

My.csproj:

<Project Sdk="Microsoft.NET.Sdk">
    <PropertyGroup>
        <TargetFramework>net9.0</TargetFramework>
        <ImplicitUsings>enable</ImplicitUsings>
        <Nullable>enable</Nullable>
        <IsPackable>false</IsPackable>
    </PropertyGroup>

    <ItemGroup>
        <PackageReference Include="coverlet.collector" />
        <PackageReference Include="Microsoft.NET.Test.Sdk" />
        <PackageReference Include="xunit" />
        <PackageReference Include="xunit.runner.visualstudio" />
    </ItemGroup>

    <ItemGroup>
        <Using Include="Xunit" />
    </ItemGroup>
</Project>

As long as you have the C# Dev Kit extension installed, then the unit tests should show up in the testing pane and you should be able to click into the tests, set break points, and debug the tests

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Tyler
  • Low reputation (1):
Posted by: Mr.Meeseeks

79462192

Date: 2025-02-24 00:11:28
Score: 9.5
Natty: 7
Report link

I want to Add Camera preview to my project ,but not in Xcode I want to do it on Swift play ground, can anyone guide me thru it ?

Reasons:
  • Blacklisted phrase (1): guide me
  • RegEx Blacklisted phrase (2.5): can anyone guide me
  • RegEx Blacklisted phrase (1): I want
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vaibhav Kulkarni

79462190

Date: 2025-02-24 00:09:28
Score: 2
Natty:
Report link

I was having the same issue. The stored proc in itself executes but the job fails if the proc is part of job step. Finally, I managed to work around this issue by using PowerShell command in PowerShell job step:

Invoke-Sqlcmd -ServerInstance "SQLInstanceName,Port" -Database "DBName" -Query "EXEC dbo.usp_storedprocname " -AbortOnError -QueryTimeout 65535

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

79462186

Date: 2025-02-24 00:05:27
Score: 3
Natty:
Report link

This postProcessModel(Model model) method is an example that shows how to process the XJC model at an earlier stage.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rick O'Sullivan

79462178

Date: 2025-02-23 23:57:26
Score: 0.5
Natty:
Report link

My easy workaround to fix this VS Code bug that only happens once in a while :

You switch to another file, and open back your file.

That's it :)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Jack'

79462176

Date: 2025-02-23 23:56:26
Score: 3
Natty:
Report link

It also could happen when you have try catch wrapped in your startup and catch block swallows the real error.

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

79462175

Date: 2025-02-23 23:54:25
Score: 3.5
Natty:
Report link

Any idea on this? Trying the same, but did not succeed.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Marco Klein

79462150

Date: 2025-02-23 23:25:21
Score: 1
Natty:
Report link

Their is a new method for accomplishing this is in the docs.

{
    "vscode-neovim.compositeKeys": {
        "jk": {
            "command": "vscode-neovim.escape",
        },
    },
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jeff_V

79462146

Date: 2025-02-23 23:21:20
Score: 12.5 🚩
Natty: 5.5
Report link

Having the same problem, did you ever get this resolved?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever get this resolved
  • RegEx Blacklisted phrase (1.5): resolved?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): Having the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dylan Wolf

79462143

Date: 2025-02-23 23:19:19
Score: 2.5
Natty:
Report link

I created a feature request to run the debugger an existing terminal, which would make this easy: https://github.com/microsoft/vscode/issues/241259

And another one to allow specifying shell commands to run before the debugger in debugging configurations: https://github.com/microsoft/vscode-python-debugger/issues/621

You can upvote these on GitHub if you would like this added.

Reasons:
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mlinarm

79462138

Date: 2025-02-23 23:14:18
Score: 1.5
Natty:
Report link

The short answer is: you can't. I emailed MAMP's support directly about this question and was told very bluntly "you can't and we aren't adding an option to stop it." What I did was install the "Tab Auto Close" browser extension and added a regex rule as follows: "https://www.dropbox.com(.)*127.0.0.1". This auto closes it for me, but you may have to adjust the regex expression depending on the URL it opens for you.

Really scummy practice from MAMP if you ask me.

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

79462136

Date: 2025-02-23 23:13:18
Score: 0.5
Natty:
Report link

It is possible to use the onkeypress() function, however, the name of the shift key is "Shift_L", which is the shift key on the left, and "Shift_R", which is the shift key on the right. This is what the code should look like:

import turtle
walk_speed=10
def sprint():
    global walk_speed
    walk_speed+=8
def slow():
    global walk_speed
    walk_speed-=8
screen.onkeypress(sprint, "Shift_L")
screen.onkeyrelease(slow, "Shift_L")
screen.onkeypress(sprint, "Shift_R")
screen.onkeyrelease(slow, "Shift_R")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user29769305

79462134

Date: 2025-02-23 23:12:18
Score: 2
Natty:
Report link

I've had the same proble I can't tell you this is gonna solve yours, as I'm just learning, but in my case I had forgotten to add parentheses () at the end of a function. Best of luck.

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

79462130

Date: 2025-02-23 23:08:17
Score: 2
Natty:
Report link

I already solved the problem, instead of using the manual redirect windows.location.replace(cognitoHostedURI) use the await signInWithRedirect () and it will automatically redirect to cognito hosted UI with required parameters.

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

79462126

Date: 2025-02-23 23:03:16
Score: 1
Natty:
Report link

This may not be a real answer but I have found where this "thing" is drawn.

qtreeview.cpp

style()->drawPrimitive(QStyle::PE_PanelItemViewRow, &opt, painter, this);

I have commented it and recompiled and its gone.

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

79462124

Date: 2025-02-23 23:02:16
Score: 0.5
Natty:
Report link

The issue lies in axios, i didnt know, what axios has sometimes problems using a http Proxys with https:// requests. A good workaround is found here at github:

https://github.com/axios/axios/issues/4531#issuecomment-1081264893

const axios = require('axios');
const { HttpProxyAgent, HttpsProxyAgent } = require('hpagent')

const httpAgent = new HttpProxyAgent({
    proxy: 'proxy url'
})
const httpsAgent = new HttpsProxyAgent({
    proxy: 'proxy url'
})

const instance = axios.create({ httpAgent, httpsAgent });

instance.post('http://example.com')
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: UsAA12

79462123

Date: 2025-02-23 23:00:16
Score: 0.5
Natty:
Report link

Put this in the page <head> tag:

<meta name="theme-color" content="rgb(10, 10, 10)" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="rgb(50, 50, 50)" media="(prefers-color-scheme: dark)">
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: wiri

79462116

Date: 2025-02-23 22:53:14
Score: 1.5
Natty:
Report link

To generate an text file from a sheet, download the sheet as TSV, but use File Extension ".txt" (or whatever extension you need.)

E.g. to generate an HTML file from a sheet, download the sheet as TSV, but use File Extension ".html"

Output works well for HTML, but may be a bit "tabby" for plain text output.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: M. Hoffman

79462115

Date: 2025-02-23 22:53:13
Score: 6 🚩
Natty:
Report link

Please can you give me the link where to find the Growatt API documentation

Reasons:
  • RegEx Blacklisted phrase (2.5): Please can you give me
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jorge Morocho

79462111

Date: 2025-02-23 22:51:12
Score: 0.5
Natty:
Report link

If you run your api call inside a function, and use the below method to convert back to a HashMap before returning the api response back to global scope, this will resolve the issue. This function reclusively converts all LazyMap's within the payload.

def convertLazyMap(obj) {
    if (obj instanceof Map) {
        def serializableMap = [:]
        obj.each { key, value ->
            serializableMap[key] = convertLazyMap(value)
        }
        return serializableMap
    } else if (obj instanceof List) {
        return obj.collect { convertLazyMap(it) }
    } else {
        return obj
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: David Mehoves

79462095

Date: 2025-02-23 22:33:09
Score: 1
Natty:
Report link

So what I ended up doing for this case is this. In my FollowController, for the store method I did this.

    public function store(StoreFollowRequest $request, User $user)
    {
        $request->validated();

        $user = $request->user();

        $user->followings()->attach($request->follow_id);

        return UserResource::make($user);
    }
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jamie Holcomb

79462092

Date: 2025-02-23 22:31:09
Score: 0.5
Natty:
Report link

Remove the white space then c sound the character.You can use the trim() function in php to remove white spaces before strlen()

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

79462064

Date: 2025-02-23 22:12:05
Score: 1.5
Natty:
Report link

Another option is to group many statements into one policy, so you can manage the statements separately.

So for my situation I'm managing the policies in Terraform modules, so I pass the role around and feed it into a module and have that module attach the necessary permissions.

I'm going to switch this so that the module outputs the statement blocks and then I will merge the statements into one policy and attach it to the role.

So basically just invert the hierarchy of the data structures.

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

79462048

Date: 2025-02-23 21:53:02
Score: 1
Natty:
Report link

Try something like this:

<Route path="/" element={<Home />} />

https://reactrouter.com/start/library/routing

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Łukasz Daniel Mastalerz

79462030

Date: 2025-02-23 21:42:59
Score: 1.5
Natty:
Report link

In my case setting windowInsets to zero wasn't enough. There was still top padding applied by the SearchBar itself. So I used Modifier.windowInsetsTopHeight(WindowInsets(0.dp)) and the trick was done. This case happens not only for the Text component, but also for others.

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

79461992

Date: 2025-02-23 21:19:55
Score: 2.5
Natty:
Report link

I deleted both SerchComponent.jsx and UseBebounce.jsx then recreated them and I forgot to import useEffect in SearchComponent.jsx. Now it's working.

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

79461989

Date: 2025-02-23 21:18:54
Score: 1
Natty:
Report link

Maybe it is late but anyway

void

print_array(int* b)
{
  
  int size=0;

  while(b[size]!='\0'){
  size++;
  }
  
  for (int i = 0; i < size; i++)
    {
      printf("%d", b[i]);
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fobox

79461979

Date: 2025-02-23 21:14:53
Score: 4
Natty:
Report link

Please don’t react to these offer.

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

79461978

Date: 2025-02-23 21:14:53
Score: 0.5
Natty:
Report link

The problem was here:

field("Tracking No."; Rec."Tracking No.") { }
field(Carrier; Rec.Carrier) { }
field(Status; Rec.Status) { }
field("Related Document No."; Rec."Related Document No.") { }
field("Last Update"; Rec."Last Update") { }

No ApplicationArea in those fields, so no fields were displayed.

Here is a simplified example for someone that could need it:

table 63200 "Parcel Tracking"
{
    DataClassification = ToBeClassified;
    TableType = Temporary;

    fields
    {
        field(1; "Tracking No."; Code[50]) { }
        field(2; Description; Text[250]) { }
        field(3; "Carrier"; Code[20]) { }
        field(4; "Status"; Text[50]) { }
        field(5; "Last Update"; DateTime) { }
        field(6; "Related Document No."; Code[20]) { }
    }

    keys
    {
        key(PK; "Tracking No.", Description) { Clustered = true; }
    }

    procedure FillTrackingRows(DocumentNo: Code[20])
    begin
        Reset();
        DeleteAll();        

        "Tracking No." := '123456';
        "Carrier" := 'UPS';
        "Status" := 'In Transit';
        "Last Update" := CURRENTDATETIME;
        "Related Document No." := DocumentNo;
        Insert();

        "Tracking No." := '2131234';
        "Carrier" := 'GLS';
        "Status" := 'In Transit';
        "Last Update" := CURRENTDATETIME;
        "Related Document No." := DocumentNo;
        Insert();
    end;
}

page 63200 "Parcel Tracking"
{
    PageType = List;
    SourceTable = "Parcel Tracking";
    DeleteAllowed = false;
    InsertAllowed = false;
    ModifyAllowed = false;
    SourceTableTemporary = true;

    layout
    {
        area(content)
        {
            repeater(General)
            {
                field("Tracking No."; Rec."Tracking No.") 
                {
                    ApplicationArea = All;
                }
                field(Carrier; Rec.Carrier) 
                {
                    ApplicationArea = All;
                }
                field(Status; Rec.Status) 
                {
                    ApplicationArea = All;
                }
                field("Related Document No."; Rec."Related Document No.") 
                {
                    ApplicationArea = All;
                }
                field("Last Update"; Rec."Last Update") 
                {
                    ApplicationArea = All;
                }
            }
        }
    }
}

pageextension 63200 "Sales Order Ext" extends "Sales Order"//42
{
    actions
    {
        addlast(Processing)
        {
            action(Tracking)
            {
                ApplicationArea = All;
                Promoted = true;
                PromotedCategory = Process;
                Image = Track;

                trigger OnAction()
                var
                    ParcelTracking: Record "Parcel Tracking" temporary;
                begin
                    ParcelTracking.FillTrackingRows(Rec."No.");            

                    Page.Run(Page::"Parcel Tracking", ParcelTracking);
                end;
            }
        }
    }
}

And here the results:

enter image description here

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

79461975

Date: 2025-02-23 21:13:53
Score: 2.5
Natty:
Report link

I was able to resolve the issues in my Java implementation of YOLOv5 object detection after some debugging and corrections. Issues Faced and Solutions:

(1) Incorrect Class IDs:

Initially, all detections returned class ID 0. As pointed out in the helpful answer by Ariya (thank you so much!), I was mistakenly extracting the class ID using int classId = (int) row[5];. This was incorrect because YOLOv5 outputs multiple class confidence scores per detection:

Row format: [x, y, w, h, objectness, class1_conf, class2_conf, ..., class_n_conf]

The correct approach is to:

Extract the maximum confidence score among the class probabilities.

Identify the index of the highest confidence, which corresponds to the class ID. (2)Bounding Box Offset

The bounding boxes were incorrectly placed due to improper scaling. The original Java implementation did not correctly map the YOLO output coordinates back to the original image dimensions. The solution involved:

Adjusting for YOLOv5’s normalization and scaling.

Applying proper padding correction using the original width and height.

Fixed Code:

public static int getPredictedClassID(float[] row) {
    int classID = -1;
    float maxConfidence = -Float.MAX_VALUE;
    for (int i = 5; i < row.length; i++) {
        if (row[i] > maxConfidence) {
            maxConfidence = row[i];
            classID = i - 5; // Adjust index to match class label
        }
    }
    return classID;
}

(2)Bounding Box Offset

The bounding boxes were incorrectly placed due to improper scaling. The original Java implementation did not correctly map the YOLO output coordinates back to the original image dimensions. The solution involved:

Adjusting for YOLOv5’s normalization and scaling.

Applying proper padding correction using the original width and height.

Fixed code:

float cx = row[0] * origWidth / inputSize;
float cy = row[1] * origHeight / inputSize;
float w = row[2] * origWidth / inputSize;
float h = row[3] * origHeight / inputSize;

float x1 = cx - w / 2;
float y1 = cy - h / 2;
float x2 = cx + w / 2;
float y2 = cy + h / 2;

(3)Implemented Non-Maximum Suppression (NMS)

To filter out redundant overlapping boxes, I implemented NMS to keep only the best detections per object.

NMS Implementation:

public static List<float[]> nonMaxSuppression(List<float[]> detections, float confThreshold, float iouThreshold) {
    List<float[]> filteredDetections = new ArrayList<>();
    detections.sort((a, b) -> Float.compare(b[4], a[4])); // Sort by confidence

    while (!detections.isEmpty()) {
        float[] best = detections.remove(0);
        filteredDetections.add(best);
        detections.removeIf(det -> iou(best, det) > iouThreshold);
    }
    return filteredDetections;
}

I hope this helps others facing similar issues!

Note: These code snippets are not fully optimized and can be improved. The final confidence score in my case is objection*class_i_confidence.

Sources: https://medium.com/@pooja123tambe/yolov5-inferencing-on-onnxruntime-and-opencv-dnn-d20e4c52dc31

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): medium.com
  • Whitelisted phrase (-1): hope this helps
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): facing similar issue
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: CoffeeCoding

79461972

Date: 2025-02-23 21:10:52
Score: 1
Natty:
Report link

Here's an example of how to do this in SageMath 9.5 operating under Jupyter Notebook:

var_names_orig = ['x_1', 'x_2'] pol_ring_orig = PolynomialRing(QQbar, names=var_names_orig, order='degrevlex')

var_names_reord = ['x_2', 'x_1'] pol_ring_reord = pol_ring_orig.change_ring(names=var_names_reord, order='lex')

pol_orig = 2 * all_vars_orig[1] + 3 * all_vars_orig[0]^2

pol_reord = pol_ring_reord(pol_orig)

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

79461958

Date: 2025-02-23 21:00:50
Score: 0.5
Natty:
Report link

I tried to use the interpreter of python installed in the system and chose this in tools, project options.

Then I loaded again reticulate and rgee packages, and tried to use the function ee_install_upgrade() and reviewed that all the items were ok. Finally logged in GEE with ee_initialize()

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

79461954

Date: 2025-02-23 20:56:49
Score: 1
Natty:
Report link

You can use eslint-plugin-import-group

It is written just for specific imports and supports sorting.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ilia Brykin

79461953

Date: 2025-02-23 20:53:49
Score: 1
Natty:
Report link

You can use eslint-plugin-import-group

It is written just for specific imports and supports sorting.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ilia Brykin

79461952

Date: 2025-02-23 20:52:48
Score: 1
Natty:
Report link

Using XJC to generate code from a DTD is less capable then generating code from an XSD, see these links for similar historically unresolved issues:

If you can convert your DTD to XSD ...

Description.xsd

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
    <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
    <xs:element name="Description">
        <xs:complexType mixed="true">
            <xs:sequence>
                <xs:element minOccurs="0" maxOccurs="unbounded" ref="ShortName"/>
            </xs:sequence>
            <xs:attribute ref="xml:lang" use="required"/>
        </xs:complexType>
    </xs:element>
    <xs:element name="ShortName" type="xs:string"/>
</xs:schema>

... then XJC can generate code like this ...

Description.java

// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// and modified to reduce space.
package generated;

import java.io.Serializable;
import java.util.*;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.*;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "content" })
@XmlRootElement(name = "Description")
public class Description
{
    @XmlElementRef(name = "ShortName", type = JAXBElement.class, required = false)
    @XmlMixed
    protected List<Serializable> content;
    public List<Serializable> getContent()
    {
        if (content == null)
            content = new ArrayList<>();
        return this.content;
    }

    @XmlAttribute(name = "lang", namespace = "http://www.w3.org/XML/1998/namespace", required = true)
    protected String lang;
    public String getLang()
    {
        return lang;
    }
    public void setLang(String value)
    {
        this.lang = value;
    }
}
Reasons:
  • Blacklisted phrase (1): these links
  • RegEx Blacklisted phrase (1): see these links
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Rick O'Sullivan

79461951

Date: 2025-02-23 20:51:48
Score: 1
Natty:
Report link

You can use eslint-plugin-import-group.

It is written just for specific imports.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Ilia Brykin

79461946

Date: 2025-02-23 20:47:47
Score: 1.5
Natty:
Report link

The line "Failed to resolve import "UseDebounce" from src/SearchComponent.jsx. Does the file exist?" means that vite failed to find UseDebounce because it couldn't be found.

The most popular reason for this error is that you either wrote "UseDebounce.jsx" wrong, or that the file is not in the correct directory

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

79461940

Date: 2025-02-23 20:40:46
Score: 3.5
Natty:
Report link

My DB has 250 tables. I selected 10 and was able to export the data to .sql file

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

79461933

Date: 2025-02-23 20:31:44
Score: 0.5
Natty:
Report link

I solved this problem with the following code in the command prompt:

C:\APPS>python -m PyInstaller --onefile -w Prog1.py

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Tony Cardinal

79461929

Date: 2025-02-23 20:30:44
Score: 9
Natty: 7.5
Report link

Exactly same issue, any solutions to this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solutions to this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Shiv Konar

79461923

Date: 2025-02-23 20:25:43
Score: 0.5
Natty:
Report link

It seems passing /Debug:FastLink to the linker does the job for the final executable (I tested on MSVC 19.43.34808), but it only solves half the problem, because the compiler still produces nondeterministic object files, so it doesn't help for caching the object files etc.

If anyone has a complete solution, please post it.

Reasons:
  • RegEx Blacklisted phrase (2.5): please post
  • Has code block (-0.5):
  • Self-answer (0.5):
  • High reputation (-2):
Posted by: user541686

79461921

Date: 2025-02-23 20:22:42
Score: 2
Natty:
Report link

Cloudinary should return a response header that include the error details in the x-cld-error header, and you can see the value by using your browser's web developer tools to examine that response.

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

79461920

Date: 2025-02-23 20:21:42
Score: 3
Natty:
Report link

the name: string, amount: name change name to number ⬆️

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

79461909

Date: 2025-02-23 20:15:40
Score: 4
Natty:
Report link

they removed the dl link, 2025 week 8

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

79461904

Date: 2025-02-23 20:14:40
Score: 2
Natty:
Report link

You can use PHP 8.1, which I recommend (I personally use PHP 8.1.10).

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

79461900

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

Since NextJs 13, tags are no longer required.

I like passing props into href for easy to read and organize code. Here's an example using app router [email protected]. Use "target" and "rel" like so to open your link in a new tab.

//// Some.tsx file

.....

    <Link
      href={siteConfig.links.login}
      target="_blank"
      rel="noreferrer"
      className={buttonVariants()}
    >
      Login
    </Link>

...... ////

Heres an example site config where you create a "site" object that can accept arrays and other objects...in this case we have an object called "links" with its child "URL" objects

/config/site.ts

  links: {
    twitter: 
"https://twitter.com/r_mourey_jr",
    github: 
"https://github.com/rmourey26/onyx",
    login: "https://onyx-rho- 
            pink.vercel.app/auth",
    signup: "https://onyx-rho- 
           pink.vercel.app/onboarding",
    linkedin: "https://linkedin.com/in/robertmoureyjr",
  },

}

....

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Filler text (0.5): ...........
  • Low reputation (1):
Posted by: rmourey26

79461898

Date: 2025-02-23 20:11:39
Score: 2
Natty:
Report link

To update this for anyone else looking, C# Dev Kit looks to add Code Coverage along with many other features.

F1 -> Test: Run All Tests with Coverage

This then displays in the file explorer, or in the "Test Coverage" panel of the "Testing" tab.

Code coverage indicator displayed in the file explorer

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

79461896

Date: 2025-02-23 20:10:39
Score: 0.5
Natty:
Report link

I found this same issue with a recently set up pass through cache with authentication. It was working with SOME image references - basically anything that wasn't one of dockerhubs 'official images'.

For example when I did an explicit pull for 'cachingregistry.example.com/debian:12-slim' it would fail with the authentication error - even though I had creds in my pass through registry and had valid authentication to the passthrough registry itself.

The solution was to add the 'library' prefix, pulling "cachingregistry.example.com/library/debian:12-slim". That resolved the authentication errors.

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

79461895

Date: 2025-02-23 20:10:39
Score: 2
Natty:
Report link

To my understanding, your goal is to keep the current week on the top row. Unfortenutly there is no way of doing this with the current configuration.

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

79461894

Date: 2025-02-23 20:09:38
Score: 1
Natty:
Report link

You can try my solution: https://github.com/darkfrei/SafeSaveLoad-Lua This library can save and load any data type except functions and userdata.

Reasons:
  • Whitelisted phrase (-2): solution:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: darkfrei

79461891

Date: 2025-02-23 20:07:38
Score: 1
Natty:
Report link

For it to work you have to pass the event (your model) as a parameter to the function and from the view pass the full value. Check your controller. Here is an example.

public function show (Event $event)
{
    return view('event.show', $event);
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Francisco Rojas

79461890

Date: 2025-02-23 20:06:38
Score: 3
Natty:
Report link

Honestly, this sounds like malware. I would disable or uninstall all extension inside by the way, then enable one out of them coming to diagnose where the issue is coming from. If it continues, you may need to do a virus sweep and possibly uninstall and reinstall Chrome, all together.

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

79461889

Date: 2025-02-23 20:05:37
Score: 4.5
Natty:
Report link

I'm getting the error the question author says, but I'm not getting the error in the logs pointed here: https://code.visualstudio.com/docs/editor/settings-sync#_troubleshooting-keychain-issues. I followed your approach, but I have gnome-keyring running, I installed sudo apt install libsecret-1-0 libsecret-1-dev, and "security.workspace.trust.enabled" was already true. But I'm still getting the same error when trying to login to GitHub.

Reasons:
  • RegEx Blacklisted phrase (1): I'm getting the error
  • RegEx Blacklisted phrase (1): I'm still getting the same error
  • Has code block (-0.5):
  • Me too answer (2.5): getting the same error
  • Single line (0.5):
Posted by: David Torres

79461885

Date: 2025-02-23 20:04:37
Score: 1.5
Natty:
Report link

Had the same problem, reinstalling helped me, but first of all, try to check if it downloaded:

import ssl
print(ssl.OPENSSL_VERSION)

Otherwise try to use OpenSSL here

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

79461883

Date: 2025-02-23 20:02:37
Score: 3
Natty:
Report link

Traditional Datapower only captures 3 concurrent transactions. If there are more than 3 concurrent transactions only 3 will be recorded in probe but all will be sent to backend. If you wish to record all, set the probe limit to unbounded from probe settings

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

79461881

Date: 2025-02-23 20:00:36
Score: 4
Natty:
Report link

don’t react to these offer please.

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

79461877

Date: 2025-02-23 19:57:35
Score: 3
Natty:
Report link

I use 末. I don't speak Japanese but I'm lead to believe it means "end" which makes it kind of appropriate: https://jitenon.com/kanji/%E6%9C%AB

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

79461873

Date: 2025-02-23 19:54:35
Score: 1.5
Natty:
Report link

Your task seems to be best addressed by XSLT (eXtensible Style Sheet Language) which the main language for conversion of one XML into another (https://www.w3.org/TR/xslt-30/). If you stick to Python as your prefered programming environment, see How to transform an XML file using XSLT in Python? and be aware that you the standard python libraries process only XSLT 1.0. Your problem might involve regular expressions, which are only supported from XSLT 2.0 onwards. For this, the python port of Saxonica's saxon library is probably the best suited (https://pypi.org/project/saxonche/).

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

79461865

Date: 2025-02-23 19:51:34
Score: 1.5
Natty:
Report link

If you were to generalize this problem, to say "Does a string str end with a string suffix?" you could do the following:

#include <string.h>

int endswith(char* str, char* suffix) 
{
    // assuming that str and suffix are not NULL
    return strcmp(str + strlen(str) - strlen(suffix), suffix) == 0;
}

It would be trivial to add a check for NULL to the function as well:

#include <string.h>

int endswith(char* str, char* suffix) 
{
    return str && suffix && strcmp(str + strlen(str) - strlen(suffix), suffix) == 0;
}
Reasons:
  • RegEx Blacklisted phrase (1.5): fix?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Rusty

79461864

Date: 2025-02-23 19:49:33
Score: 0.5
Natty:
Report link

In OpenSSL 3.2+, replace

SSL_CTX_set_default_verify_paths(ctx);

with

SSL_CTX_load_verify_store(ctx, "org.openssl.winstore://");

This loads certificates from the Windows system store.

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

79461863

Date: 2025-02-23 19:49:33
Score: 1
Natty:
Report link

target can be an eventTarget interface, so you need to check what the target is

<input onInput={({target}) => {
  if (target instanceof HTMLInputElement) {
    onInput(target.value)
  }
}}/>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): can
  • Low reputation (0.5):
Posted by: Anton

79461859

Date: 2025-02-23 19:44:32
Score: 11 🚩
Natty: 6
Report link

did you solve the problem? i m facing the same issue when googling from digital ocean droplet. got 403. On terminal works

Reasons:
  • RegEx Blacklisted phrase (3): did you solve the problem
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you solve the
  • Low reputation (1):
Posted by: erre4

79461854

Date: 2025-02-23 19:40:31
Score: 1.5
Natty:
Report link

Already checked CI::$APP->config->item('controller_suffix') configuration. Is the 'controller_suffix' configuration loaded correctly?

One solution would be to create a config $config['controller_suffix'] = '';.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: The Pocket 006

79461852

Date: 2025-02-23 19:39:30
Score: 5
Natty: 6
Report link

Comment saisir un dropdown au clavier sur smartphone? Cordialement

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

79461850

Date: 2025-02-23 19:38:30
Score: 3
Natty:
Report link

For this kind of case, you should not give much attention to this detail. For example, you should give attention like when there is a form in mobile, does is responsive ?, are there any client side validations ?

Sometimes, these detail cases pull the developers back.

Thank You.

Reasons:
  • Blacklisted phrase (0.5): Thank You
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mubarak Ali Shah

79461847

Date: 2025-02-23 19:35:29
Score: 1.5
Natty:
Report link

I suggest you try calling your maximise function with known values and then test if you are getting the proper results.

most folks will use a framework for unit testing but in a simple case, it is better to just walk through it in a debugger or printf/cout the various intermediate results of rentPU and profit for each loop value..

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

79461845

Date: 2025-02-23 19:34:29
Score: 1.5
Natty:
Report link

It seems this is not possible and this apparently inactive initiative from 2022 wanted to make it possible:

https://blog.rust-lang.org/inside-rust/2022/07/27/keyword-generics.html

There is https://docs.rs/maybe-async/0.2.6/maybe_async but it is not important enough for me to pull in another dependency.

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

79461826

Date: 2025-02-23 19:22:27
Score: 4
Natty:
Report link

If you wants to load llama model locally , you can check out this article where proper steps are mentioned.

Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jack

79461819

Date: 2025-02-23 19:18:26
Score: 0.5
Natty:
Report link

I discovered that order is important in declaring laravel routes and that some can be greedy.

the first example doesn't work because the first line takes precedence over the second one

Route::get('/event/{event}', [EventController::class, 'show'])->name('event.show');
Route::get('/event/create', [EventController::class, 'create'])->name('event.create');

The right way to write routes in order is below

Route::get('/event/create', [EventController::class, 'create'])->name('event.create');
Route::get('/event/{event}', [EventController::class, 'show'])->name('event.show');
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: keyon8060

79461810

Date: 2025-02-23 19:10:24
Score: 0.5
Natty:
Report link

AppsScript charts are not the same as Google visualization charts, unfortunately. They used to be the same in the past, but AppsScript charts are now using the same internal library that sheets uses.

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

79461805

Date: 2025-02-23 19:08:24
Score: 2
Natty:
Report link

At this time FEB 2025: NVM recognizes already installed node versions. So this should not be an issue.

Another case: What if someone installs nvm and then node separately?? (This is how I came to this question.) You'll have to uninstall & reinstall node through nvm. OR You can uninstall nvm and reinstall it. (This is what solved my issue just now.)

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

79461792

Date: 2025-02-23 18:56:22
Score: 2
Natty:
Report link

first the data here should be of a boolean data type int trade_opened = false; // To check that there are no open trades. Some times the code compiles but the code might no work as intended

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

79461774

Date: 2025-02-23 18:40:19
Score: 2.5
Natty:
Report link

To quote from the Docker forum:

Looks like it’s a java bug specific to M4/Docker/MacOs 15.2. Really appreciate you taking a look, for now the recommended workaround of using JAVA_OPTS=“-XX:UseSVE=0” seems to be working.

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

79461768

Date: 2025-02-23 18:36:19
Score: 1.5
Natty:
Report link

Glad you found an answer

I've found the best way is to really create it in Polarion and convert it to text as in the video you mentioned

Have you had problems or noticed limitations with the customFields? I haven't been able to properly make a query with a customField (even when creating the filters in Polarion and changing it to a string, only works with normal fields) I've also found that putting more than one customFields in the fields will just return me one of them and not both. Pretty inconsistent all around

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

79461761

Date: 2025-02-23 18:28:18
Score: 1
Natty:
Report link

In my case the default database name which was created is 'postgres'. So with psql -d postgres I was able to connect to my server.

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

79461760

Date: 2025-02-23 18:28:18
Score: 2
Natty:
Report link

I can not sudo in AWS SageMaker AI

sudo: command not found

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

79461758

Date: 2025-02-23 18:26:17
Score: 2.5
Natty:
Report link

I think you're on the right path using a trigger instead of a sensor, however, I'd use the TriggerDagRunOperator. You can pass in the Dag ID of the Dag you want to trigger as well as any configurations. The logical date is optional.

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

79461743

Date: 2025-02-23 18:18:15
Score: 0.5
Natty:
Report link

The binary location and driver paths got mixed up. The driver path should be

PATH = "/opt/chromedriver-linux64/chromedriver"

and the binary location path should be

chrome_options.binary_location = "/opt/chrome-linux64/chrome"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Man made of meat

79461737

Date: 2025-02-23 18:14:13
Score: 1
Natty:
Report link

This is another rapid, simple and a bit different way to insert a row in a pandas dataframe at the top :

df.loc[-1] = [2,3,4]
df = df.sort_index().reset_index(drop = True)

and you will have this result :

    A   B   C
0   2   3   4
1   5   6   7
2   7   8   9
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Youssef Zied ELHECHMI

79461736

Date: 2025-02-23 18:14:13
Score: 2
Natty:
Report link

Actually I figured out the part why Raw option wasn't working. It turns out I was sending text and had to switch to JSON. So that answered one question that I have but don't know about the other one :(

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

79461735

Date: 2025-02-23 18:12:13
Score: 0.5
Natty:
Report link

I recently got this same error, and applied the suggested fix. However, what was not shared in this StackOverflow post is that MySql.Data changed something internally: the IgnorePrepare property used to be True until 8.0.23. This change makes Prepare() actually create prepared statements on the server whereas it did not before. In our case the database ran out of prepared statements (Can't create more than max_prepared_stmt_count statements).

Removing Prepare() for statements that just use parameters and are not reused works better.

References:

https://mysqlconnector.net/tutorials/migrating-from-connector-net/

IgnorePrepare
true for ≤ 8.0.22; false for ≥ 8.0.23

https://dev.mysql.com/doc/relnotes/connector-net/en/news-8-0-23.html

The IgnorePrepare connection-string option was deprecated in the Connector/NET 8.0.23 release and removed in the Connector/NET 8.0.24 release.

The removed option instructed Connector/NET to ignore all calls to MySqlCommand.Prepare() that were made using the classic MySQL protocol. (Bug #31872906)
Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Diamondo25

79461720

Date: 2025-02-23 18:05:12
Score: 4
Natty: 4
Report link

اسم رب الأسرة رباعغ عدلي علي احمد بشارة ،تاريخ الميلاد17/11/1994 شمال دارفور الفاشر السكن/الحي النخيل الرقم الوطني 19209321512،الهاتف +24990524507 عدد أفراد الأسرة 2،زوجةحاملة نعم،عدداطفال أقل من6اشهر لايوجد،عدداطفال أقل من 5اشهر لايوجد ،رقم بنكك2798117 , إسم صاحب رقم الحساب عدلي علي احمد بشارة ،رقم وطني صاحب الحساب 19209321512

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Adli Ali

79461711

Date: 2025-02-23 18:02:10
Score: 6.5 🚩
Natty:
Report link

Any update on this? I am facing the same issue. Happens only for certain regions (numbers with certain country code - in my case Libyan numbers) and works as expected for numbers with other country codes.

Reasons:
  • Blacklisted phrase (1): update on this
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hamza Ali

79461699

Date: 2025-02-23 17:57:09
Score: 2
Natty:
Report link

There are multiple potential issues in the above code mentioned:

  1. The CAST syntax is incorrect:
WHERE CAST user_id = CAST(:tenantId AS uuid)

The correct syntax is as follows:

WHERE user_id = CAST(:tenantId AS uuid)
 OR
WHERE user_id::uuid = :tenantId::uuid
  1. The tenantId being a string:

Even if tenantId is indeed a valid uuid, it is coming from req.params, which is always a string in JavaScript. I would suggest you to validate the tenantId before passing it into the query by using regex or a npm package.

You can check the following links:

https://www.npmjs.com/package/uuid#uuidvalidatestr

How to test valid UUID/GUID?

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

79461688

Date: 2025-02-23 17:53:08
Score: 3
Natty:
Report link

Ctrl+Shift+X I just got to Mac OS M1 Pro Sequoia 15

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Иван 26rus

79461679

Date: 2025-02-23 17:50:08
Score: 1
Natty:
Report link

You can do this from the command line.

msinfo32.exe /report %TMP%\report.txt && type %TMP%\report.txt | findstr.exe /B /C:"Embedded Controller"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: 5p0ng3b0b

79461676

Date: 2025-02-23 17:49:07
Score: 2
Natty:
Report link

IMPORTANT!! to whom has the issue insists, try to add standalone: false in the component instead of removing it at all then restart the run

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

79461660

Date: 2025-02-23 17:38:05
Score: 1.5
Natty:
Report link

It looks like the hostname or the port isn't inputted correctly.

Hostname error:

ssh: Could not resolve hostname haha: \335\362\356\362 \365\356\361\362 \35 5\345\350\347\342\345\361\362\345\355.

Port error

[21:53:23.150] Failed to parse remote port from server output

Make sure you put the ip address or the domain name of the server in correctly, otherwise it won't work.

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

79461657

Date: 2025-02-23 17:38:05
Score: 2.5
Natty:
Report link

I think I fix it its builder.spec:

requirements = python3, kivy, mediapipe, tensorflow, numpy, pillow

shiuld check the correct names of packages =) PIL is pillow, random docent exist etc.

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

79461643

Date: 2025-02-23 17:30:04
Score: 3.5
Natty:
Report link

Just Download and install "J-Link Software" for example version Jlink V7.22b

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

79461641

Date: 2025-02-23 17:28:03
Score: 0.5
Natty:
Report link

As per https://github.com/microsoft/vscode/issues/212296, this issue is OS agnostic. Downgrading to C# Dev Kit Extension version 1.5.20 worked for me, but later versions might work as well. This is on Windows 11.

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: 9 Guy

79461636

Date: 2025-02-23 17:27:03
Score: 1
Natty:
Report link

Change this:

self.il = CTkButton(self,

to:

self.il = CTkButton(app,

Screenshot:

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: toyota Supra

79461632

Date: 2025-02-23 17:24:02
Score: 1
Natty:
Report link

Yes, Airflow currently only supports SqlAlchemy <2.0. You can see here in the constraints they recommend using when installing Airflow.

To get around Airflow constraints, you can use the PythonVirtualEnvOperator or the ExternalPythonOperator.

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

79461622

Date: 2025-02-23 17:18:01
Score: 1
Natty:
Report link
import pytz

entry["serverTimeStamp"] = datetime.datetime.now(pytz.timezone('US/Eastern')).strftime('%Y-%m-%d %H:%M:%

Others would try it with this module. We use the pytz module to do them. The thing run

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

79461611

Date: 2025-02-23 17:12:00
Score: 2.5
Natty:
Report link

I was having this issue earlier today, but when I changed the call to model.fit() to verbose=0, it cleared the issue up. Clear all browser cache before execution, ensure you do not have the program variables displayed in your Chrome interface, and stick to verbose=0 setting.

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

79461610

Date: 2025-02-23 17:10:59
Score: 0.5
Natty:
Report link

You have a bug related to the matrix indices calculation when you accumulate the output values.

This line:

*(C + i * n) += *(A + i * n + k) * *(B + k * n + j);

Should be changed to:

//----------vvv-----------------------------------------
*(C + i * n + j) += *(A + i * n + k) * *(B + k * n + j);

I.e. you need to add the second index, exactly like you did when you zeroed the output elements before the innermost loop (*(C + i * n + j) = 0;).

Live demo

A side note:
In order to "catch" such bugs, it is recommended to use a debugger.
See: What is a debugger and how can it help me diagnose problems?.

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Blacklisted phrase (1): help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: wohlstad

79461605

Date: 2025-02-23 17:07:59
Score: 1
Natty:
Report link

include <stdio.h> #include <stdlib.h>

int main(int argc, char *argv[]) {

int num;
int smaller=0;

printf("Input integers: ");
scanf("%d", &num);

if (num<smaller) {
    printf("*** value %d is smaller than %d \n", num, smaller);
}
smaller=num;

return 0;

}

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