79214615

Date: 2024-11-22 10:41:51
Score: 1.5
Natty:
Report link

Delete .pub-cache and then retry.

on Mac

sudo rm -Rf ~/.pub-cache

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

79214614

Date: 2024-11-22 10:41:51
Score: 0.5
Natty:
Report link

With getContexts() you get a reference to all data that is displayed in the list. You can get all data via

list.getBinding("items").getContexts().map( c => c.getObject())

Or the "dataset pointer"

list.getBinding("items").getContexts().map( c => c.getPath())
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: A.vH

79214613

Date: 2024-11-22 10:41:51
Score: 1.5
Natty:
Report link

Follow those steps:

https://medium.com/@lucas.rj.fernandes/spring-security-with-oauth2-and-linkedin-a20874ae7477

  security:
        oauth2:
            client:
                registration:
                    linkedin:
                        client-id: ${clientId} 
                        client-secret: ${secretId}
                        scope: openid, profile, email, w_member_social
                        redirect-uri: "{baseUrl}/login/oauth2/code/{registrationId}"
                        client-name: LinkedIn
                        authorization-grant-type: authorization_code
                        provider: linkedin
                        client_authentication_method: client_secret_post
                provider:
                    linkedin:
                        authorization-uri: https://www.linkedin.com/oauth/v2/authorization
                        token-uri: https://www.linkedin.com/oauth/v2/accessToken
                        user-info-uri: https://api.linkedin.com/v2/userinfo
                        jwk-set-uri: https://www.linkedin.com/oauth/openid/jwks
Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Luis Hernández

79214610

Date: 2024-11-22 10:40:50
Score: 4.5
Natty:
Report link

Look at the ACC Account Admin API, specifically at the PATCH projects/{projectId}/users/{userId} endpoint. This might give you what you're looking for?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Petr Broz

79214607

Date: 2024-11-22 10:40:50
Score: 3
Natty:
Report link

Check the time sync between your browser and the grafana server. the instant query may return null in case the time difference is too big.

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

79214598

Date: 2024-11-22 10:39:50
Score: 1
Natty:
Report link

Please try with bellow way.

Delete your node_module folder and try with npm install and npx react-native run-android.

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

79214596

Date: 2024-11-22 10:38:50
Score: 2
Natty:
Report link

You should use certificate variables in your IoT policy and set the certificate SubjectName to the actual Thing Name of your device. This will allow you to filter based on Thing Names for Greengrass devices.

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

79214595

Date: 2024-11-22 10:38:50
Score: 3.5
Natty:
Report link

The versions on the component have to match. v1alpha1 vs v1 may be the problem here

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

79214594

Date: 2024-11-22 10:38:50
Score: 3.5
Natty:
Report link

Dymola supports generating UML Diagrams, at least since 2022x. However, you should be aware that the diagram is generated by an online service, and hence the content of the image is made available to that server.

Screenshot of the ribbon bar button

Exemplary UML diagram

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

79214588

Date: 2024-11-22 10:37:50
Score: 3
Natty:
Report link

Only selecting a Field has the side-effect of the page scrolling. If you don't want this, then you need to navigate back to the initial starting point. To navigate back, use Range.Select(), but if you are in a (modern) comment, use Comment.Edit().

I've created a solution for this, it can be found here: https://stackoverflow.com/a/77273213/77273213

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

79214587

Date: 2024-11-22 10:37:50
Score: 1.5
Natty:
Report link

If you can serve a static HTML file, you can create a form in that HTML file that sends requests to your Gradio app. Here’s a simple example:

In this example, when users click the button, it opens the Gradio app in a new tab. You should replace http://localhost:7860/ with the actual URL of your Gradio app if it's running on a different port or domain.

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

79214585

Date: 2024-11-22 10:36:49
Score: 2
Natty:
Report link

The reason why you are getting as running(limited) is because one of the nodes(3rd node) is unavailable. If you have disabled or stopped that node, intentionally then unregister it from IR, the status will get updated.

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

79214584

Date: 2024-11-22 10:36:49
Score: 3
Natty:
Report link

You're using float: left for .left, .right, and .tile-image. Floats can create issues when it comes to layout stacking, especially with media queries.

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

79214582

Date: 2024-11-22 10:36:49
Score: 3
Natty:
Report link

if you get the error "Error: apphosting:backends:delete is not a Firebase command" make sure to update your firebase-cli to the latest version

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

79214565

Date: 2024-11-22 10:33:48
Score: 0.5
Natty:
Report link

You can check that PreparedStatementSetter in your code that it's correctly setting values for multiple rows and For Cloud SQL, the JDBC URL format should be jdbc:postgresql://host:port/database. you can troubleshoot in that way once . For detailed investigation you can open a public issue tracker describing your issue and vote [+1] and Eng team will look on the Bug .

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

79214559

Date: 2024-11-22 10:31:47
Score: 6 🚩
Natty:
Report link

I am having the exact same problem. Would love an answer on this.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am having the exact same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Motahar Malik

79214545

Date: 2024-11-22 10:27:45
Score: 2.5
Natty:
Report link

Minimum some example or dummy code is required! Otherwise how can we help you in that regard.

We can't even guess, imagine or find mistake in your existing code without reading it.

Reasons:
  • Blacklisted phrase (1): how can we
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Developer Ali Usman

79214544

Date: 2024-11-22 10:27:45
Score: 2
Natty:
Report link

This is because you are using float for the images and cards, which doesn't automatically adapt well to responsive designs. you should replace the float-based layout with a flexbox or grid layout

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: sameer man shrestha

79214541

Date: 2024-11-22 10:26:45
Score: 4
Natty:
Report link

I have done a modification to modify key based on following requirements:

Excluding some keys Using key extendedValue if data is over of 254 chars.

I have written following code on serialiser:

@model_serializer(mode="wrap")
def _serialize(self, handler):
    d = handler(self)
    d_attributes = list()
    for k, v in self.__dict__.items():
        if k not in excluded:
            data = { "name": k.upper() }
            if len(v) < limit:
                data.update({ "value": v })
            else:
                data.update({ "extendedValue": v })

            d_attributes.append(data)
            
    d["attributes"] = d_attributes
    return d

But I receive following error:

Error serializing to JSON: PydanticSerializationError: Error calling function `_serialize`: ValueError: Circular reference detected (id repeated)

Instead if I rollback with following code:

@model_serializer(mode="wrap")
def _serialize(self, handler):
    d = handler(self)
    d_attributes = list()
    for k, v in self.__dict__.items():
        if k not in excluded:
            data = { "name": k.upper(), "value": v  }

            d_attributes.append(data)
            
    d["attributes"] = d_attributes
    return d

It works. Any Idea?

Reasons:
  • Blacklisted phrase (1): Any Idea?
  • RegEx Blacklisted phrase (1): I receive following error
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aldo Pellini

79214536

Date: 2024-11-22 10:24:44
Score: 3.5
Natty:
Report link

Revert it to the old version xhtml2pdf==0.2.11. The latest version of xhtml2pdf has an issue with rendering images.

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

79214534

Date: 2024-11-22 10:23:43
Score: 2
Natty:
Report link

Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license()" for more information. import.math SyntaxError: invalid syntax import math math.sqrt(202+302) 36.05551275463989 round math.sqrt(202+302),2 SyntaxError: invalid syntax round(math.sqrt(202+302),2) 36.06 math.asin(20/36.06) 0.5879196469698912 math.degrees(math.asin(20/36.06)) 33.68531446419608

NN PYTHLON DFEGREEES 999 DSSA

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

79214526

Date: 2024-11-22 10:21:43
Score: 2
Natty:
Report link

I had to manually create the peering between my own VNet and Workers-Vnet. Then eveything showing status connected.

But this did not solve my issue to reach my storage account from databricks tho

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

79214525

Date: 2024-11-22 10:21:43
Score: 3
Natty:
Report link

You can do it from here:

Press Ctrl+Shift+P, and then select Notebook: Clear All Outputs. enter image description here

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

79214519

Date: 2024-11-22 10:19:42
Score: 2.5
Natty:
Report link

Microsoft Teams currently does not allow a custom app to remain active when a user switches to another tab.

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

79214497

Date: 2024-11-22 10:12:40
Score: 2.5
Natty:
Report link

On Ubuntu 22.04 I had create file .flake8 in a root directory of a project and it works correctly.

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

79214494

Date: 2024-11-22 10:12:40
Score: 1.5
Natty:
Report link

If you mean an Entity Relationship diagram, DBeaver (you tagged) has them, on the rightmost tab of the Database Object Editor:

DBeaver ER diagram

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

79214492

Date: 2024-11-22 10:11:40
Score: 4.5
Natty: 4.5
Report link

https://github.com/DIY0R/nestjs-rabbitmq .
it also implements the topic pattern https://github.com/DIY0R/nestjs-rabbitmq?tab=readme-ov-file#receiving-messages

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

79214491

Date: 2024-11-22 10:11:39
Score: 10.5 🚩
Natty:
Report link

The same thing happened to me yesterday, I thought it could be an error in the last plugins I played, so just in case I deleted them. It still doesn't work and I keep getting the same error.

Another thing I did was go to the document where the error occurs and to line 391, I tried to modify it and even delete it, but then it gave an error on another line, even in other files. I can't find a solution to the problem and I need the page for next week.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): It still doesn't work
  • RegEx Blacklisted phrase (2): I can't find a solution
  • RegEx Blacklisted phrase (2): can't find a solution
  • No code block (0.5):
  • Me too answer (2.5): getting the same error
  • Low reputation (1):
Posted by: Álvaro Cuenca Martín

79214489

Date: 2024-11-22 10:10:39
Score: 1
Natty:
Report link

I had the same problem, and the cause (and fix), was simple.

I had an "ssh" connection (to some server), open in one terminal window (which I'd forgotton about).

While trying to "scp" to the same server in another terminal window (which generated the error).

Closing the "ssh" connection fixed the problem.


Presumably, you can do ONLY ONE "ssh"/"scp" type thing, to any given server, at any given time. Which seems quite reasonable to me.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Joe Bloggs

79214487

Date: 2024-11-22 10:09:38
Score: 1.5
Natty:
Report link

You opened "wb" as read only with the command

Set wb = Workbooks.Open(pathinput, ReadOnly:=True)

so be careful not to save the workbook or it will crash.

Another problem is you open you file twice, with the following command :

path = "C:\Users\hi\Downloads\VBA\Employees Schedule - 2024.xlsx" Workbooks.Open path, ReadOnly:=True

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

79214484

Date: 2024-11-22 10:08:38
Score: 4
Natty:
Report link

Yes it looks good, you can go for it

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

79214480

Date: 2024-11-22 10:07:38
Score: 1
Natty:
Report link

https://developer.mozilla.org/zh-CN/docs/Web/API/EventTarget/removeEventListener

function handleChange() {
  // ...
}

// sub
window.cookieStore.addEventListener('change', handleChange);
// unsub
window.cookieStore.removeEventListener('change', handleChange);

or

const controller = new AbortController();

// sub
window.cookieStore.addEventListener('change', { signal: controller.signal });
// unsub
controller.abort();
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: rookie

79214479

Date: 2024-11-22 10:07:38
Score: 1
Natty:
Report link

what worked for me was this.

    <PropertyGroup>
        <NuGetAudit>false</NuGetAudit>
    </PropertyGroup>

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

79214462

Date: 2024-11-22 10:01:36
Score: 1
Natty:
Report link
OddsData od = System.Text.Json.JsonSerializer.Deserialize<List<OddsData>>(oddsApiResponse);

Since your response is an array of objects, you should try to deserialize into List or Array.

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

79214461

Date: 2024-11-22 10:01:36
Score: 2.5
Natty:
Report link

You need to first add the changed files to git staging area, so that the grumphp can run on it.

Reference: https://github.com/phpro/grumphp/blob/v2.x/doc/commands.md#git-hooks

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

79214455

Date: 2024-11-22 10:00:36
Score: 3
Natty:
Report link

I thought my Coast FIRE Calculator was already great, but your calculator deserves some applause for how well it’s done!

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

79214445

Date: 2024-11-22 09:58:36
Score: 0.5
Natty:
Report link

Firstly create a container of the image

docker container create imagename

Docker creates a containerid for that image which can be retrieved using

docker ps -a

Export that container to a tar and then unzip the tar as follows:

docker export containerid | tar -xvf - -C /path/to/destination

After this, go to the destination folder. Here search for the application-name.jar file, you will find it in one of the folders. In my case it was in /home/jboss/app Then one just needs to extract the files of the jar file

jar xf application-name.jar
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: lopah elision

79214439

Date: 2024-11-22 09:56:35
Score: 0.5
Natty:
Report link

In case anyone faces similar issue, I found out why MFA selection screen keeps appearing for TOTP. The reason is that, once you select your desired MFA on orchestration step 4, using SelfAsserted-Select-MFA-Method it doesn't persist the value. It happens after, for example, if you have selected email as your MFA option, Technical Profile EmailVerifyOnSignIn used during code verification has a following reference:

<ValidationTechnicalProfiles>
  <ValidationTechnicalProfile ReferenceId="AAD-UserWriteMFAMethod"></ValidationTechnicalProfile>
</ValidationTechnicalProfiles>

UserWriteMFAMethod actually saves your value and is not being referenced by TOTP related flow. So the fix would be following, since I want to save selected MFA method only after user has made a verification, I edited OTPVerification like this:

        <TechnicalProfile Id="OTPVerification">
          <DisplayName>Sign in with Authenticator app</DisplayName>
          <Protocol Name="Proprietary" Handler="Web.TPEngine.Providers.SelfAssertedAttributeProvider, Web.TPEngine, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
          <Metadata>
            <Item Key="ContentDefinitionReferenceId">api.selfasserted.totp</Item>
            <Item Key="language.button_continue">Verify</Item>
          </Metadata>
          <CryptographicKeys>
            <Key Id="issuer_secret" StorageReferenceId="B2C_1A_TokenSigningKeyContainer" />
          </CryptographicKeys>
          <InputClaims></InputClaims>
          <DisplayClaims>
            <DisplayClaim ClaimTypeReferenceId="QrCodeVerifyInstruction" />
            <DisplayClaim ClaimTypeReferenceId="otpCode" Required="true" />
          </DisplayClaims>
          <OutputClaims>
            <OutputClaim ClaimTypeReferenceId="objectId" />
            <OutputClaim ClaimTypeReferenceId="otpCode" Required="true" />
          </OutputClaims>
          <ValidationTechnicalProfiles>
            <ValidationTechnicalProfile ReferenceId="AzureMfa-VerifyOTP" />
<!-- THIS WAS ADDED TO SAVE SELECTED MFA METHOD -->
            <ValidationTechnicalProfile ReferenceId="AAD-UserWriteMFAMethod" />
          </ValidationTechnicalProfiles>
          <UseTechnicalProfileForSessionManagement ReferenceId="SM-MFA-TOTP" />
        </TechnicalProfile>

Then you can reference your extension claim to skip TOTP steps:

        <!-- Call the TOTP enrollment ub journey. If user already enrolled the sub journey will not ask the user to enroll -->
        <OrchestrationStep Order="8" Type="InvokeSubJourney">
          <Preconditions>
            <Precondition Type="ClaimEquals" ExecuteActionsIf="false">
              <Value>extension_mfaByPhoneOrEmail</Value>
              <Value>totpApp</Value>
              <Action>SkipThisOrchestrationStep</Action>
            </Precondition>
          </Preconditions>
          <JourneyList>
            <Candidate SubJourneyReferenceId="TotpFactor-Input" />
          </JourneyList>
        </OrchestrationStep>
        <!-- Call the TOTP validation sub journey-->
        <OrchestrationStep Order="9" Type="InvokeSubJourney">
        <Preconditions>
            <Precondition Type="ClaimEquals" ExecuteActionsIf="false">
              <Value>extension_mfaByPhoneOrEmail</Value>
              <Value>totpApp</Value>
              <Action>SkipThisOrchestrationStep</Action>
            </Precondition>
          </Preconditions>
          <JourneyList>
            <Candidate SubJourneyReferenceId="TotpFactor-Verify" />
          </JourneyList>
        </OrchestrationStep>

Provided examples are mainly from Microsoft Authenticator TOTP and MFA with either Phone (Call/SMS) or Email verification, merged together.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Anton Yelchin

79214435

Date: 2024-11-22 09:54:35
Score: 0.5
Natty:
Report link

I found solution, it seems to work.

<LazyModalsCategories v-if="isShowCategoriesModal || isModalOpened" />

<LazyModalsAuth v-if="isShowAuthModal || isModalOpened" />

<LazyModalsSettings v-if="isShowSettingsModal || isModalOpened" />

For every my lazy-modal component I added one more condition to "v-if" block. All needed modals I mathed with this "isModalOpened" variable.

const isModalOpened = ref(false);

And after this, in onMounted I switch it

onMounted(async () => {
  // some my code

  isModalOpened.value = true;

  nextTick(() => {
    isModalOpened.value = false;
  })
});

We won't see any changes on the page, we won't see this modal "tick-opening", but now first time modal (hand) opening should be momental

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

79214431

Date: 2024-11-22 09:53:34
Score: 4
Natty: 4
Report link

Team , how to get all secrets expiring for all the subscription we have

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

79214425

Date: 2024-11-22 09:51:33
Score: 3.5
Natty:
Report link

If you can avoid it: no.

The reason: systemd runs its services isolated, meaning they cannot read from the env vars. so passing a docker container environment variable to a systemd process is not easy at all.

Secondly: why would you run something isolated, while it's already being run containered?

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

79214417

Date: 2024-11-22 09:47:33
Score: 2.5
Natty:
Report link

If jdk 21 version not works. Then java 17 is always safer option to choose.

in gradle change source and target compatibility to 17 version for better stability

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

79214412

Date: 2024-11-22 09:45:32
Score: 4.5
Natty:
Report link

follow these steps in my git repo :- https://github.com/sonuvishwakarmavns

this is the repo link https://github.com/sonuvishwakarmavns/JupyterErrorSolution

this will definitely work properly please visit the solution and give a star if your problem has been solved.

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

79214410

Date: 2024-11-22 09:44:31
Score: 0.5
Natty:
Report link

If you are using latest JDK to your project then you can make changes in build.gradle(app-level) and your project will run successfully.

compileOptions {
    sourceCompatibility JavaVersion.VERSION_21
    targetCompatibility JavaVersion.VERSION_21
}

and

kotlinOptions {
    jvmTarget = '21'
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Pratik Prakash Bindage

79214408

Date: 2024-11-22 09:43:31
Score: 2
Natty:
Report link

I'm on a M1 pro and the lastest combination working is Python 3.11 with tensorflow 2.15 and tensorflow-metal 1.1.0, both installable py PyPi. It has been reported that keras 3 makes no use of the GPU (at least on macos), but I have not tested this. tensorflow 2.15 ist the last version with keras 2. If this does not work for you, it could be an issue with the M2.

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

79214406

Date: 2024-11-22 09:43:31
Score: 2
Natty:
Report link

For those coming from Google, you probably don't have the permissions to a directory. chown user:user folder and add -R to propagate it in subdirectories.

@AirOne01 mentioned chmod but I used chown so I have the permissions.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @AirOne01
  • Low reputation (1):
Posted by: Anant Singh

79214405

Date: 2024-11-22 09:43:31
Score: 2
Natty:
Report link

I managed to do it quite easily:

instead of sending logs to the local syslogd, I'm sending them directly to remote server (using logger).

As simple as that:

I changed that line CustomLog "|/usr/bin/logger -t S06_access_log -p local6.info" combined

to: CustomLog "|/usr/bin/logger -n $REMOTE_SERVER_IP -t S06_access_log -p local6.info" combined

maybe it'll be useful to someone

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

79214403

Date: 2024-11-22 09:42:31
Score: 2.5
Natty:
Report link

Salary hike percentage = new salary - old salary old salary ×100 new salary = Rs. 3000 old salary = Rs. 2200 458901.31 456307138 698047.230 AHP =(na - oA) 1oA ×100

  1. Sandra
  2. Swetha ramesh
  3. Padmakumar 4.reshmi
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sandra pr

79214400

Date: 2024-11-22 09:40:30
Score: 4
Natty:
Report link

Here is a example. I used one of your suggestions and still have a dashed line. I dont know which parameter is used to highlight the active block of code. enter image description here

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

79214396

Date: 2024-11-22 09:39:30
Score: 3
Natty:
Report link

In sdk version 52 some arts of styles like fontSize are not supporting values like '10%' or '32em'. If you go with values like 10 and 32, it will work.

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

79214394

Date: 2024-11-22 09:39:30
Score: 1
Natty:
Report link

Path exploration has certain limitations, especially due to cardinality issues, which can prevent you from seeing all available paths and fully covering the data.

The most effective way to identify exits from each page is by using the Page Path dimension along with the Exits metric in a freeform report within Explore.

For the most accurate data, especially when combined with other metrics, utilizing BigQuery's raw data export is recommended.

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

79214387

Date: 2024-11-22 09:37:29
Score: 2.5
Natty:
Report link

Hi check this library[1]. RPC is implemented here [https://github.com/DIY0R/nestjs-rabbitmq][1]

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

79214386

Date: 2024-11-22 09:37:29
Score: 2.5
Natty:
Report link

@media screen and (max-width: 899px) { overflow: visible; }

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

79214378

Date: 2024-11-22 09:34:29
Score: 2.5
Natty:
Report link

To solve this issue, you need to run the following command in the terminal: **pip install opencv-contrib-python **

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

79214369

Date: 2024-11-22 09:32:28
Score: 2
Natty:
Report link

1:1 (square): 1200 x 1200 pixels, minimum size of 200 x 200 pixels 1.91:1 (landscape): 1200 x 628 pixels, minimum size of 600 x 314 pixels 4:5 (portrait): 1200 x 1500 pixels, minimum size of 320 x 400 pixels

this is basic

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Justt.Jeel

79214366

Date: 2024-11-22 09:31:27
Score: 1.5
Natty:
Report link

A solution for Scalar is to empty the server list:

app.MapScalarApiReference(options =>
{
    options.Servers = [];
});

Credit to: https://github.com/dotnet/aspnetcore/issues/57332#issuecomment-2479286855

I am uncertain how to do this for Swagger with OpenAPI.

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

79214364

Date: 2024-11-22 09:31:27
Score: 4
Natty:
Report link

This might be what you want :)

https://reactflow.dev/

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

79214356

Date: 2024-11-22 09:29:27
Score: 3.5
Natty:
Report link

I know this question is old but there could be someone out there that may need help on it. I deployed a similar solution recently in one of my applications and thought I should share the script I used.

First, I needed to deploy an automated email sending script with PHPMailer and MySQL. The system is to send the emails daily to members based on their birth day and birth month. In course of my search, I came across this script from PHPMailer as seen via this link https://github.com/PHPMailer/PHPMailer/blob/master/examples/mailing_list.phps

I modified the script to suit my need. You can see my modified script via this link https://github.com/mnwuzor/BirthDay-Bulk-Email-Using-PHPMailer-MySQL.

To help in explaining the implementation, I created a YouTube video to explain what I did. You can what the video via this link https://www.youtube.com/watch?v=F3ruURrY_dk

Lastly, I know the question above do not require the use of CRON but for those that will need it, I use https://cron-job.org/en/ to schedule the process of sending the emails daily. You can watch this YouTube video to see the process of scheduling https://www.youtube.com/watch?v=8XuA_rc6lbY

Thank you guys for always helping out....

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this link
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Michael Nwuzor

79214355

Date: 2024-11-22 09:28:26
Score: 4.5
Natty: 5
Report link

The flag deletion_policy = "ABANDON" was introduced to avoid such errors https://github.com/GoogleCloudPlatform/magic-modules/pull/9765

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

79214344

Date: 2024-11-22 09:26:25
Score: 4
Natty: 4
Report link

I am trying to do a GET_DESCRIPTOR control transfer on USB3.0. I have successfully done SET_ADDRESS which comes part of address device command with BSR=0. But when I try GET_DESCRIPTOR after this, I am not able to see the corresponding transfer trace in Lecroy

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Blacklisted phrase (1): I am trying to
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sumesh G R

79214331

Date: 2024-11-22 09:19:24
Score: 1
Natty:
Report link

In MIPS, temporary registers like $t0 to $t9 are split into two groups based on who is responsible for saving their values during function calls.

Caller-Saved Registers ($t0 to $t9): These are used for temporary data that doesn't need to be saved across function calls. When a function calls another function, it's up to the calling function (the one making the call) to save these registers if it needs their values later. The function being called (the callee) can change these registers freely, so the caller must save them if needed.

Callee-Saved Registers ($s0 to $s7): These registers are meant for values that need to be preserved across function calls. If a function uses these registers, the called function (the callee) is responsible for saving and restoring them. This way, the calling function doesn't lose important values.

Why this split? This split helps make function calls more efficient:

The caller only has to worry about saving temporary data if needed, which reduces the work it has to do. The callee ensures important data stays intact, but it only has to save and restore the values that really matter. This design helps avoid unnecessary work and keeps things running smoothly during function calls.

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

79214330

Date: 2024-11-22 09:19:24
Score: 2
Natty:
Report link

make sure that the following is used only one time...in my case it was being used in main and in home page ShowCaseWidget( builder: Builder( builder: (_) => DashboardView(map), ), ));

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

79214327

Date: 2024-11-22 09:18:23
Score: 1
Natty:
Report link

For me it turned out that in _Layout.cshtml were missing

<base href="/" />

in the header.

I've spend full day struggling with 0 errors in logs and rolling back to prev version line by line.

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

79214326

Date: 2024-11-22 09:18:23
Score: 3
Natty:
Report link

How about this:

//p//text()/parent::p
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Starts with a question (0.5): How
  • Low reputation (0.5):
Posted by: vassiliev

79214320

Date: 2024-11-22 09:17:23
Score: 5
Natty:
Report link

Set the verticalScrollBarPolicy to ScrollBarAlwaysOn

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

79214318

Date: 2024-11-22 09:17:23
Score: 2
Natty:
Report link

to resolve this issue, you can move the configs folder from detectron2/configs to detectron2/detectron2/model_zoo/. Then, use the following line to load the configuration :cfg.merge_from_file(model_zoo.get_config_file("COCO-InstanceSegmentation/mask_rcnn_R_50_FPN_3x.yaml")) .it will work

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 5063 Nguyễn Trọng Nhân

79214315

Date: 2024-11-22 09:14:22
Score: 0.5
Natty:
Report link

There are two checks you need to do before putting in your redirect_URI :-

  1. There are restrictions when it comes to adding URIs in the app registration , check here

  2. Please check if the redirect uri that ure adding is not duplicated in any sections , for example if the redirect_uri is 'http://localhost:3000' and the platform types added are single page applications as well as web redirect urls or mobile and desktop applications and any two of them have the same URI or something similar to 'http://localhost' as the port no. doesnt matter here , the client from which ure trying to access this app registration will always pick from the top and so you will get the error "AADSTS9002326: Cross-origin token redemption is permitted only for the 'Single-Page Application' client-type" (majorly when you are using SPA React or next apps) because it will think of it as a web redirect URI and not SPAenter image description here

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

79214309

Date: 2024-11-22 09:12:22
Score: 5.5
Natty: 5
Report link

Can you provide a bit more details, please? Once, the SELinux policy module is loaded, do you perform a restorecon on the filesystem(s) or directory trees to make sure the binaires have the proper SELinux contexts for the processes to transition as expected in the policy? Do you implement poly-instantiation on /tmp? What are the AVC denials you get? Do you switch the mongod_can_use_kerberos boolean to true?

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Hubert Quarantel-Colombani

79214303

Date: 2024-11-22 09:12:21
Score: 0.5
Natty:
Report link

The following also works.

Disable WSL extension and reload window. Then enable WSL extension and reload window.

Now code . works fine.

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

79214302

Date: 2024-11-22 09:11:21
Score: 2.5
Natty:
Report link

Well in my case i was trying to create .venv but it already existed in the folder. And it was throwing this error. Deleting the .venv fixed my issue.

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

79214301

Date: 2024-11-22 09:11:21
Score: 1
Natty:
Report link

In our case our linux kernel (6.12) was using 5 level page tables, but jailhouse assumes 4.

Disabling 5 level paging in the kernel fixed the issue for us:

CONFIG_PGTABLE_LEVELS=4
# CONFIG_X86_5LEVEL is not set
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gromba

79214298

Date: 2024-11-22 09:10:21
Score: 0.5
Natty:
Report link

try adding this to the androidManifest.xml debug & main

eg.

<application
    android:usesCleartextTraffic="true"
    tools:targetApi="28"
    ....    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tosin Ola

79214292

Date: 2024-11-22 09:08:20
Score: 2.5
Natty:
Report link

For anyone experiencing this problem recently (circa 2024) - declare [highstock.js] before [highcharts.js]

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

79214288

Date: 2024-11-22 09:07:20
Score: 3
Natty:
Report link

hmm i think it's right

** **

Please be sure to answer the question. Provide details and share your research!

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

79214287

Date: 2024-11-22 09:07:20
Score: 0.5
Natty:
Report link

Hopefully, this is what you wanted:

import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt

data = {
    'Parameter': ['DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DRCT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT', 'DWPT'],
    'MAE': [87.9013, 70.9927, 98.1393, 35.6747, 70.502, 45.774, 90.9553, 0.3447, 28.142, 25.9827, 45.2293, 3.5553, 17.8107, 4.7913, 27.9, 0.2907]
}

df = pd.DataFrame(data)

plt.figure(figsize=(12, 8))
sns.boxplot(x='MAE', y='Parameter', data=df, orient='h')
sns.stripplot(x='MAE', y='Parameter', data=df, color='orange', jitter=0.2, size=5)

plt.title('Horizontal Boxplot of MAE by Parameter')
plt.xlabel('MAE')
plt.ylabel('Parameter')
plt.show()

enter image description here

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

79214285

Date: 2024-11-22 09:05:19
Score: 3.5
Natty:
Report link

if your function is async then its return a promise not actual operation so if you want to handle promise you need to write await for resole promise

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

79214275

Date: 2024-11-22 09:04:19
Score: 0.5
Natty:
Report link

Using the Plaid /transactions/sync API endpoint is a good approach to retrieve all historical transaction data for an account. When you use the API with cursor set as an empty string (""), you are effectively starting from the beginning of the transaction history. Plaid will return the initial batch of transactions and provide a next_cursor value, which you should use in subsequent requests to get the next batch of transactions. This process should be repeated until next_cursor is null, indicating there are no more transactions to fetch.

To handle synchronization effectively, you should process the batches in the order they are received, and always use the next_cursor from the current response to fetch the next batch. This way, you maintain the integrity and sequence of the transaction data according to how Plaid provides it.

Remember to handle edge cases, like re-synchronization if a batch fails or if there is a long delay between fetches, to ensure your local copy of the transactions remains accurate and up-to-date.

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

79214273

Date: 2024-11-22 09:03:18
Score: 1
Natty:
Report link

Thanks a lot for the suggestion! it was indeed much simpler to just modify the JSON Employee Vector Search and the other vector index Results

I implemented a solution that builds upon your approach while adding some additional robustness to handle different types of empty values in my Neo4j vector search results.

def filter_empty_connections(results):
"""
Filter out empty connections from vector search results across all data types
(Employee, Work, Project, WorkAllocation, WorkScheduleRule).
"""
if not results or "results" not in results:
    return results

def is_empty_value(val):
    """Check if a value is considered empty."""
    if isinstance(val, list):
        # Check if list is empty or contains only empty/null values
        return len(val) == 0 or all(is_empty_value(item) for item in val)
    if isinstance(val, dict):
        # Check if dict is empty or contains only empty/null values
        return len(val) == 0 or all(is_empty_value(v) for v in val.values())
    return val is None or val == ""

def filter_single_item(item):
    """Filter empty connections from a single item's connections array."""
    if "connections" not in item:
        return item
        
    filtered_connections = []
    for conn in item["connections"]:
        # Skip the connection if all its non-type fields are empty
        has_non_empty_value = False
        for key, val in conn.items():
            if key != "type" and not is_empty_value(val):
                has_non_empty_value = True
                break
        
        if has_non_empty_value:
            filtered_connections.append(conn)
    
    item["connections"] = filtered_connections
    return item

filtered_items = [
    filter_single_item(item) 
    for item in results["results"]
]

return {"results": filtered_items}

Then I integrated it into my index functions like this:

def employee_details_index(query, query_embedding, n_results=50):
# ... existing query execution code ...

structured_results = []
for row in results:
    employee_data = {
        "employeeName": row["employeeName"],
        "score": row["score"],
        "employee": json.loads(row["employeeJson"]),
        "connections": json.loads(row["connectionsJson"])
    }
    structured_results.append(employee_data)

# Apply filtering before returning
filtered_results = filter_empty_connections({"results": structured_results})
return filtered_results

This approach successfully removed empty connections like "education": [] and "has_unavailability": [] from the results while keeping the connection entries that had actual data.

Thank you again for pointing me in the right direction! This solution worked perfectly for my use case.

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

79214261

Date: 2024-11-22 09:00:17
Score: 3
Natty:
Report link

The solution to this is to change tree to list, this has changed in Odoo-18

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

79214245

Date: 2024-11-22 08:54:16
Score: 1.5
Natty:
Report link

Yes, you could use Content Type Gallery to reuse content types in the SharePoint online.

Content types created in the Content Type Gallery, when published, will be available to all sites and libraries in your SharePoint tenant. And it supports all column types.

Reference: https://learn.microsoft.com/en-us/microsoft-365/community/content-type-propagation

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Emily Du - MSFT

79214239

Date: 2024-11-22 08:50:14
Score: 9 🚩
Natty:
Report link

do you solve the problem?

I've the same problem on "mouseHover" action with Safari v17.4.

element = parent.findElement(elementLocator);

Actions actions = new Actions(driverManager.driver);

actions.moveToElement(element).pause(500).build().perform();

This code works on Safari v16.0.

Reasons:
  • RegEx Blacklisted phrase (1.5): solve the problem?
  • RegEx Blacklisted phrase (2.5): do you solve the
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): 've the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Flavio Di Carlo

79214235

Date: 2024-11-22 08:48:13
Score: 2.5
Natty:
Report link

I have changed the instance type with the help of AWS Lambda and EventBridge scheduler (Cron job).

The only cons is its downtime of around 30 sec.

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

79214233

Date: 2024-11-22 08:48:13
Score: 2.5
Natty:
Report link

I do not think you can do it in that way. Instead I can suggest my project https://github.com/reagento/dishka/ which can be used in different ways (like without fastapi or directly requesting dependency)

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

79214226

Date: 2024-11-22 08:45:12
Score: 1.5
Natty:
Report link

I think that is not good idea for handle request by using Executor service. Because Embedded tomcat which is included spring-boot-starter-web dependency can handle thread pool itself. You can just configure on application properties / yaml file.

If you want to use multiple thread, use or test another use cases for example processing huge file (at least more than 2GB).

For handle requests asynchronously, I will recommend spring-boot-flux project.

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

79214225

Date: 2024-11-22 08:45:12
Score: 2.5
Natty:
Report link

If you're using Expo SDK 52, the issue is likely related to that. I recently updated from SDK 51 to 52 and experienced the same error. This update also involved upgrading the react-native-view-shot library from version 3.8.0 to 4.0.0.

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

79214222

Date: 2024-11-22 08:44:12
Score: 3
Natty:
Report link

The Solution is to turn off React Strictmode

Reasons:
  • Whitelisted phrase (-1): Solution is
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: CGWebDev2003

79214221

Date: 2024-11-22 08:44:12
Score: 1
Natty:
Report link

Try adding this inside the execute of command and inside query builder to force PHP/Symfony to use Asia/Tokyo timezone.

date_default_timezone_set("Asia/Tokyo");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: noob

79214199

Date: 2024-11-22 08:39:11
Score: 0.5
Natty:
Report link

Also on GitLab you need to setup your token as a Developer in order to clone the repository. The Guest role is not sufficient and will lead to a 403 error even if you have the read_repository right.

enter image description here

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

79214198

Date: 2024-11-22 08:39:11
Score: 4
Natty:
Report link

this command doesn't trigger the machine to start measuring you say? you must use

Use PySerial Library: If you are using Python, make sure you use the pyserial library to send commands over the serial port. Here is an example of Python code to send commands using pyserial:

    import serial
     ser = serial.Serial(
           port='COM3',  #use path
           baudrate=9600,  #use baudrate
           parity=serial.PARITY_NONE,
      stopbits=serial.STOPBITS_ONE,
      bytesize=serial.EIGHTBITS,
      timeout=1
       )
      command = b'\x16\x16\x01\x30\x30\x02\x53\x54\x03\x42\x43\x43'
      ser.write(command)
      ser.close()

If it doesn't work, maybe there is an error in your BCC code or can I see your BCC (Block Check Character) code?

Reasons:
  • Blacklisted phrase (2): can I see your
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Sltn Accel

79214196

Date: 2024-11-22 08:36:10
Score: 2
Natty:
Report link

After opening a ticket to Jira support, here's what they suggested and it did work out:

summary ~ "\"BE:\""
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bub

79214187

Date: 2024-11-22 08:32:09
Score: 2
Natty:
Report link

I've tried what you've done (and commit the new version of docker). However, I get this output:

sudo docker run --gpus all -it --rm tensorflow/tensorflow:latest-gpu    python -c "import tensorflow as tf; print('Num GPUs Available:', len(tf.config.list_physical_devices('GPU')))"
2024-11-22 08:20:55.695121: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() is called are written to STDERR
E0000 00:00:1732263655.707089       1 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1732263655.710704       1 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-11-22 08:20:55.722395: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
2024-11-22 08:20:57.119693: E external/local_xla/xla/stream_executor/cuda/cuda_driver.cc:152] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: CUDA_ERROR_COMPAT_NOT_SUPPORTED_ON_DEVICE: forward compatibility was attempted on non supported HW
2024-11-22 08:20:57.119716: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:137] retrieving CUDA diagnostic information for host: 81f8d81af78d
2024-11-22 08:20:57.119720: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:144] hostname: 81f8d81af78d
2024-11-22 08:20:57.119789: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:168] libcuda reported version is: 545.23.6
2024-11-22 08:20:57.119804: I external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:172] kernel reported version is: 470.256.2
2024-11-22 08:20:57.119808: E external/local_xla/xla/stream_executor/cuda/cuda_diagnostics.cc:262] kernel version 470.256.2 does not match DSO version 545.23.6 -- cannot find working devices in this configuration
Num GPUs Available: 0

I'm missing something? thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Raul Parada Medina

79214177

Date: 2024-11-22 08:28:08
Score: 2.5
Natty:
Report link

it should use (") in your path to your script. for example :

python "C:\Users\Acer\palm-recognizition\src\predict.py"

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

79214173

Date: 2024-11-22 08:28:08
Score: 1
Natty:
Report link
    <div class="container-fluid mt-5">
      <div class="table-responsive shadow">
        <table class="table  table-bordereless mb-0">
          <thead class="table-head">
            <tr>
              @for (head of thead; track head.displayName) {
              <th [class]="head.thClass" [ngClass]="{ 'pointer': head?.sortable }" [style]="head.thStyle">
                @switch (head.elementType)
                {
                <!-- #region Text -->
                @case ('text') {
                <span [id]="head?.id" (click)="head?.event == 'click'? eventTriggered($event, head.displayName): '' "
                  [class]="head?.class" [style]="head?.style">
                  @if (head?.sortable) {
                  <i class="fa-solid fa-sort"></i>
                  }
                  {{head.displayName}}
                </span>
                }
                <!-- #endregion -->
    
                <!-- #region innerHTML -->
                @case ('innerHTML') {
                <span (click)="head?.event === 'click' ? eventTriggered($event,head.displayName) : ''"
                  [innerHTML]="head.displayName" [id]="head?.id" [class]="head?.class" [style]="head?.style">
                </span>
                }
                <!-- #endregion -->
    
                <!-- #region input -->
                @case ('input') {
                <input [type]="head?.inputType" [id]="head?.id" [class]="head?.class" [style]="head?.style"
                  (click)="head?.event === 'click' ? eventTriggered($event,head.displayName,'click') : ''"
                  (change)="head?.event === 'change' ? eventTriggered($event,head.displayName,'change') : ''">
                <label [for]="head?.id" [class]="head?.class" [innerHTML]="head?.inputLabel"></label>
                }
                <!-- #endregion -->
    
                <!-- #region icon -->
                @case ('icon') {
                <button class="btn border-0" [id]="head?.id" [style]="head?.style"
                  (click)="head.event === 'click' ? eventTriggered($event,head.displayName):''">
                  <i [class]="head?.iconClass"></i>
                </button>
                }
                @case ('iconWithText') {
                <button class="btn border-0" [id]="head?.id" [style]="head?.style"
                  (click)="head.event === 'click' ? eventTriggered($event,head.displayName):''">
                  <i [class]="head?.iconClass"></i>
                </button>
                <span>{{head.iconText}}</span>
                }
                <!-- #endregion -->
                }
              </th>
              }
            </tr>
          </thead>
          <tbody>
            @for (data of dataArr | paginate:{itemsPerPage: pagination.pageSize , currentPage: pagination.page , totalItems:
            pagination.totalItems}; track data?.id;) {
            <tr>
              @for (body of tbody; track $index; ) {
              <td [style]="body?.tdStyle" [class]="body.tdClass"
                [ngClass]="{'pointer':body?.routerLink || body?.clickFunction}"
                (click)="(body?.clickFunction && body.parameter) ? eventTriggered($event,data[body.parameter],'click') : ''"
                [routerLink]="body?.routerLink">
    
                @switch (body.elementType) {
    
                <!-- #region Text -->
                @case ('text') {
                <span [class]="body?.class" [style]="body?.style" [id]="body?.id" 
                [pTooltip]="data[body.attrName]?.length >=40 ? data[body.attrName] : ''" tooltipPosition="top">
                  {{data[body.attrName]?.slice(0,40)}}
                </span>
                @if (data[body.attrName]?.length >= 40) {
                  <span>...</span>
                }
                }
                <!-- #endregion -->
    
                <!-- #region Serial No -->
                @case ('serialNo') {
                <span [class]="body?.class" [style]="body?.style" [id]="body?.id">
                  {{($index + 1 ) }}
    
                </span>
                }
                <!-- #endregion -->
    
                <!-- #region input -->
                @case ('input') {
                <input [type]="body?.inputType" [class]="body?.inputClass"
                  [id]="body.inputId ? 'id-'+data[body.inputId] : 'id'+body.attrName"
                  (click)="body?.event === 'click' ? eventTriggered($event,(body.parameter ? data[body.parameter]:data[body.attrName]),body.action ? body.action : 'click') : ''"
                  (change)="body?.event === 'change' ? eventTriggered($event,(body.parameter ? data[body.parameter] : data[body.attrName]),body.action ? body.action : 'change'):''">
                @if (body.inputLabel) {
                <label [for]="body.inputId ? body.inputId : 'id'+body.attrName">{{body.inputLabel}}</label>
                }
                }
                <!-- #endregion -->
    
                <!-- #region innerHTML -->
                @case ('innerHTML') {
                <span [innerHTML]="body.attrName ? data[body.attrName] : body?.innerHTML" [class]="body?.class"
                  [style]="body?.style" [id]="body?.id"
                  (click)="body?.event === 'click' ? eventTriggered($event,(body.parameter ? data[body.parameter] : data[body.attrName])) : ''">
                </span>
                }
                <!-- #endregion -->
    
                <!-- #region Dropdown -->
                @case ('dropdown') {
                <div class="dropdown">
                  <button class="btn p-0 px-3 border-0" data-bs-toggle="dropdown">
                    <i class="fa-solid fa-ellipsis-vertical"></i>
                  </button>
                  <ul class="dropdown-menu dropdown-overflow">
                    @for (dd of body?.dropdownData; track dd.content) {
                    <li>
                      <span class="dropdown-item pointer" [attr.data-bs-toggle]="dd.modelId ? 'modal' : ''"
                        [attr.data-bs-target]="dd.modelId ? '#'+dd.modelId : ''"
                        [innerHTML]="(dd.icon ? iconArr[dd['icon']] : '') +'&nbsp;&nbsp;'+dd?.content"
                        (click)="eventTriggered($event,data[dd.parameter],dd?.icon+(body?.attrName ? '-' +body.attrName : ''))"></span>
                    </li>
                    }
                  </ul>
                </div>
                }
                <!-- #endregion -->
    
                <!-- #region Icon -->
                @case ('icon') {
                <button class="btn border-0" [id]="body?.id" [style]="body?.style"
                  [attr.data-bs-toggle]="body.modelId ? 'modal' : ''"
                  [attr.data-bs-targrt]="body.modelId ? '#'+body.modelId : ''"
                  (click)="body?.event === 'click' ? eventTriggered($event,body.parameter && data[body.parameter],'click '+body.attrName) : ''"
                  (dblclick)="body?.event == 'dblclick' ? eventTriggered($event,body.parameter && data[body.parameter],'dblclick'+body.attrName) : ''">
                  <i [class]="body?.iconClass"></i>
                </button>
                }
                @case ('iconWithText') {
                <button class="btn border-0" [id]="body?.id" [style]="body?.style"
                  [attr.data-bs-toggle]="body.modelId ? 'modal' : ''"
                  [attr.data-bs-targrt]="body.modelId ? '#'+body.modelId : ''"
                  (click)="body?.event === 'click' ? eventTriggered($event,body.parameter && data[body.parameter],'click'+body.attrName) : ''"
                  (dblclick)="body?.event == 'dblclick' ? eventTriggered($event,body.parameter && data[body.parameter],'dblclick'+body.attrName) : ''">
                  <i [class]="body?.iconClass"></i>
                </button>
                <span>{{body?.iconText}}</span>
                }
                <!-- #endregion -->
    
                <!-- #region Select -->
                @case ('select') {
                <select [class]="body?.class" [style]="body?.style"
                  [id]="body?.id+'_'+(body.parameter ? data[body.parameter] : '')"
                  (change)="eventTriggered($event,body.parameter ? data[body.parameter] : '','change')">
                  @for (option of body?.optionArr; track option) {
                  <option [value]="body.optionValue ? option[body.optionValue] : option"
                    [selected]="body.selecterOption && body.optionValue ? data[body.selecterOption] == option[body.optionValue] : false  ">
                    {{body.optionLabel ? option[body.optionLabel] : option}}
                  </option>
                  }
                </select>
                }
                <!-- #endregion -->
    
                <!-- #region Conditional -->
                @case ('conditional') {
                <span [class]="body?.class" [style]="body?.style">
                  @if (data[body.attrName] == body.condition) {
                  <span [innerHTML]="body?.trueStatement"></span>
                  }@else {
                  <span [innerHTML]="body?.falseStatement"></span>
                  }
                </span>
                }
                <!-- #endregion -->
                }
              </td>
              }
            </tr>
            }
          </tbody>
        </table>
      </div>
      <div class="table-bottom">
        <div class="row align-items-center mt-3 px-3">
          <div class="col-lg-3">
            <span>
              &nbsp;Displaying
              {{ ( ( pagination.page - 1 ) * ( pagination.pageSize ) ) + 1 }}
              to
              {{ ( ( pagination.page - 1 ) * ( pagination.pageSize ) + (pagination.pageSize) >
              pagination.totalItems )
              ? pagination.totalItems
              : ( pagination.page - 1 ) * ( pagination.pageSize ) + (pagination.pageSize) }}
              of {{ pagination.totalItems }}
            </span>
          </div>
          <div class="col-lg-9 text-end">
            <pagination-controls (pageChange)="changePage($event)" previousLabel="" nextLabel="">
            </pagination-controls>
          </div>
        </div>
      </div>
    </div>

   <!-- #region typescript -->

type Thead = {
  displayName: string;
  sortable?: boolean;
  sortItem?: string;
  thClass: string | '';
  thStyle?: string;
  inputClass?: string;
  inputId?: string;
  iconClass?: string;
  class?: string;
  id?: string;
  style?: string;
  // for elements and events
  elementType: Exclude<typeElement, 'serialNo' | 'conditional' | 'dropdown'>;
  iconText?: string;
  inputType?: string;
  inputLabel?: string;
  event?: typeEvent;
  action?: string;
};

type Tbody = {
  attrName: string;
  tdClass: string | '';
  tdStyle?: string;
  inputClass?: string;
  inputId?: string;
  iconClass?: string;
  class?: string;
  id?: string;
  style?: string;
  innerHTML?: string;

  //for elements and events
  elementType: typeElement;
  iconText?: string;
  inputType?: string;
  inputLabel?: string;
  event?: typeEvent;
  modelId?: string;

  //for routers and parameters
  routerLink?: string;
  clickFunction?: string;
  parameter?: string;
  action?: string;

  //for dropdown
  dropdownData?: typeDropdown[];

  //for conditional
  condition?: unknown;
  trueStatement?: unknown;
  falseStatement?: unknown;

  //for select
  optionArr?: any[];
  optionValue?: string;
  optionLabel?: string;
  selecterOption?: string;
};

type typeElement =
  | 'input'
  | 'icon'
  | 'text'
  | 'serialNo'
  | 'iconWithText'
  | 'innerHTML'
  | 'dropdown'
  | 'conditional'
  | 'select';

type typeEvent = 'click' | 'change' | 'input' | 'dblclick';
type TriggeredEvent = { event: Event; action?: string; parameter: string };
type typeDropdown = {
  icon?: string;
  content: string;
  parameter: string;
  modelId?: string;
};

type Pagination = {
  totalItems: number;
  page: number;
  pageSize: number;
  optimization: boolean;
  getPagination?: boolean;
};

type PaginationOutput = {
  page: number;
  pageSize: number;
};

export { Thead, Tbody, TriggeredEvent, Pagination, PaginationOutput };

this is a custom table i created how but the $index serial number is not working how do i fix it
Reasons:
  • Blacklisted phrase (1): how do i
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user28428859

79214151

Date: 2024-11-22 08:21:06
Score: 1.5
Natty:
Report link

Rather than installing SSH to access semaphore you could expose port 3000 and use "Integrations".

https://semaphoreui.com/api-docs/#/project/post_project__project_id__integrations

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

79214145

Date: 2024-11-22 08:19:06
Score: 1
Natty:
Report link

Erase in odoo doesn'T really support the authentication you want. This code just isn't there. The ode has its own authentication option. When you set "user" it turns on. It consists in the fact that you must first receive a cookie. And then in the postman already pass these cookies in the cookie header. I am sending examples of authentication and subsequent requests from my mobile app. I think it will be clear to you and you will transfer it to the postman. enter image description here next how use this cookie enter image description here So you can'T get the data in one request. First you need to get a cookie(token). And then make a request with this cookie. Also note that cookies also come in the set-cookie header By the way, there is another alternative option to create an API KEY in the user's settings and use it

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

79214141

Date: 2024-11-22 08:18:06
Score: 1.5
Natty:
Report link

For case two you can also set margin-left:auto for inner div in order to move it to the right. While text inside the inner div is already aligned to right. so this hacks works like a charm

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

79214137

Date: 2024-11-22 08:17:05
Score: 1
Natty:
Report link

I got something to work by just copying the values of a static array and placing them into the dynamic one like this,

void f(int r, int c, int **grid);

int main() {
    int r = 3, c = 5;
    int values[][5] = {
        {0, 1, 2, 3, 4},
        {1, 2, 4, 2, 1},
        {3, 3, 3, 3, 3}
    };
    int **test = malloc(r*sizeof(int*));
    for (int i = 0; i < r; i++) {
        test[i] = malloc(c*sizeof(int));
        for (int j = 0; j < c; j++) {test[i][j] = values[i][j];}
    }
    f(r, c, test);
    return 0;
}

However I would need to specify the number of columns of the static array every time I do testing. Is there a shorter way to do this using Compound Literals and without creating a values variable? I am using GCC 6.3.0 compiler for C.

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

79214126

Date: 2024-11-22 08:13:04
Score: 0.5
Natty:
Report link

Found it, was a very dummy mistake. I did not install pykeops before running the code. Weird enough, if pykeops is not installed then keops kernels in gpytorch.kernels.keops fallback to non-keops kernels. The fallback in my case was happening silently, with no warning (somehow the warning generated here was suppressed).

I figured this out by inspecting source code. IMHO, I think that gpytorch.kernels.keops should raise some exception when it's used whitout pykeops installed.

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

79214119

Date: 2024-11-22 08:11:03
Score: 1
Natty:
Report link

I have achieved using following dependencies

audio_video_progress_bar: ^2.0.3 
just_audio: ^0.9.31 
audio_service: ^0.18.4 
on_audio_query: ^2.8.1

Full Guide URL: link

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

79214117

Date: 2024-11-22 08:10:03
Score: 5.5
Natty: 7
Report link

Ok But if I have to do

drop database test;

create database test owner testuser; -- HERE I have to connect to test????? create extension some_extension;

How to connect here?

Reasons:
  • Blacklisted phrase (1): I have to do
  • Blacklisted phrase (1): ???
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Eugene Borysenko