79362642

Date: 2025-01-16 18:07:27
Score: 3.5
Natty:
Report link

Just do the link thingy in SwiftUI, and as the url, put imessage:// That will open the app. But to start a chat with a person in iMessage, the url will be imessage://

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

79362640

Date: 2025-01-16 18:06:27
Score: 1.5
Natty:
Report link

Thank you very for all of you. I found

I found the answer. It was a rookie syntax error This is the working code

FDQuery1.sql.Text := 'INSERT INTO tblTags ("Group", "Title", "Keys", "AllKeys") VALUES (:group, :title, :keys, :allkeys)';
 FDQuery1.ParamByName('group').asString := ComboBox1.Text;
 FDQuery1.ParamByName('title').asString := cxTextEdit2.Text;
 FDQuery1.ParamByName('keys').asString := cxTextEdit3.Text;
 FDQuery1.ParamByName('allkeys').asString := cxRichEdit2.Text;
 FDQuery1.ExecSQL;

The problem was that I didn't put the fields in the table under " "

Thanks again to everyone.

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

79362633

Date: 2025-01-16 18:03:26
Score: 1
Natty:
Report link

I have verified the following solution and it working as expectedly jasper report text exports.

<property name="net.sf.jasperreports.export.text.line.separator" value="&#x0D;&#x0A;"/>

After changing LF to CRLF

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

79362630

Date: 2025-01-16 18:03:26
Score: 0.5
Natty:
Report link

Regression is a classification problem, where the output function y is 0,1 or True, False. Then it is enough to fit_transform your original data.

from sklearn import preprocessing
y = y_train.ravel()
lab = preprocessing.LabelEncoder()
y_transformed = lab.fit_transform(y)
print(y_transformed)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: novice_cplusplus

79362628

Date: 2025-01-16 18:01:25
Score: 1.5
Natty:
Report link

The answer was:

import { jest } from "@jest/globals";

jest.unstable_mockModule("../const/a", () => ({
  isOn: true,
}));

const { b } = await import("func/b");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Davi Caamano

79362607

Date: 2025-01-16 17:53:23
Score: 2.5
Natty:
Report link

Have you tried adding the following to the background.service_worker file?

chrome.sidePanel
  .setPanelBehavior({ openPanelOnActionClick: false })
  .catch(console.error);
Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: WarrenMfg

79362604

Date: 2025-01-16 17:52:22
Score: 0.5
Natty:
Report link

For Angular 18+ I use the appropriate overrides mixin for customization of angular material components. For example, to make the border width 4 add this to your styles.scss file and override the outlined-outline-width and/or outlined-focus-outline-width varriables :

@use '@angular/material' as mat;

html,
body {
  @include mat.form-field-overrides((
    outlined-outline-width: 4px,
    outlined-focus-outline-width: 4px
  ));
}

I would avoid overriding classes because those classes are NOT part of an API and are subject to change so could break if you upgrade. There are a variety of variables that can be overridden. I look at this file and search on overrides to see the various mixins: node_modules@angular\material_index.scss

Then you can find the scss file for a form fields. For example the form-fields-override:

@forward './form-field/form-field-theme' as form-field-* show form-field-theme, form-field-color, form-field-typography, form-field-density, form-field-base, form-field-overrides;

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @forward
  • Low reputation (1):
Posted by: Sean Segura

79362599

Date: 2025-01-16 17:52:22
Score: 1.5
Natty:
Report link

--tunnel

is the culprit. Seems like this is specifically a Windows 11 issue. To fix:

Go to Wifi Settings -> CLick on your wifi properties -> Switch to private network Configure firewall and security settings -> Disable firewall After this just run

npx expo start

without any additional args and it should work. I faced a similar issue and just solved it with this.

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

79362598

Date: 2025-01-16 17:52:22
Score: 4
Natty:
Report link

Where is the query funtion that uses that query key ‘session’

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Where is the
  • Low reputation (1):
Posted by: Owusu Gideon

79362594

Date: 2025-01-16 17:50:21
Score: 1
Natty:
Report link

I was advised to find a well-maintained React library because well-maintained code tends to be more reliable.

My coworker found this React library: Idle Timer.

Here are the considerations we had when implementing a user logout feature for inactivity:

The user should be logged out if they remain inactive after being shown a modal warning. Multiple tabs must be synchronized. For example, if the user is active in one browser tab, they shouldn't be logged out just because another tab is idle. If the user's computer goes into sleep mode, JavaScript timers will pause. When the user returns, the system must detect if they've been away too long and either prompt them to refresh the page or automatically log them out, requiring them to log back in.

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

79362590

Date: 2025-01-16 17:47:21
Score: 1
Natty:
Report link

If you define a KafkaAdmin bean in your application context, it can automatically add topics to the broker. To do so, you can add a NewTopic @Bean for each topic to the application context. Add the following code snippet that can use the same configuration to create the topic and kafka template also use the same

@Bean public KafkaAdmin admin() {
Map<String, Object> configs = new HashMap<>();
configs.put(AdminClientConfig.BOOTSTRAP_SERVERS_CONFIG, "localhost:9092");
return new KafkaAdmin(configs);

}

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Bean
  • Low reputation (1):
Posted by: Shahid Hussain

79362585

Date: 2025-01-16 17:45:20
Score: 0.5
Natty:
Report link

Answer by @peterhuba is incorrect. Apparently you need to do a lot more in Quarkus as you need to add spring data, spring jpa and spring envers dependency in liquibaseRuntime phase.

There is no direct way of doing this, but answer is it's tricky but yes you can achieve it. It's not very neat but close to a working solution.

You can also check certain discussions in Quarkus Github as well as Liquibase-hibernate issues here and here

In my ecosystem I use gradle.

configurations {
    compileOnly {
        extendsFrom annotationProcessor
    }
    liquibase
    liquibaseRuntime.extendsFrom runtime
}

ext {
    diffChangeLogVersion = "CHANGE-0002"
    rollbackTagVersion = "CHANGE-0002"
    diffChangeLogFile = "src/main/resources/XXXX/db-changelog-${diffChangeLogVersion}.oracle.sql"
    entitiesPackage =  XXX.XXX.XXX.XXX"
    hibernateGenericDialect = "org.hibernate.dialect.OracleDialect"
    springCoreVersion = "6.1.2"
    springDataVersion = "3.2.1"
}

dependencies {
    // Liquibase
    implementation "io.quarkus:quarkus-liquibase"
    liquibaseRuntime "org.liquibase.ext:liquibase-hibernate6:4.30.0"
    //liquibaseRuntime "org.liquibase:liquibase-groovy-dsl:3.0.2"
    liquibaseRuntime "info.picocli:picocli:4.7.5"
    liquibaseRuntime "com.oracle.database.jdbc:ojdbc11-production:23.2.0.0"
    liquibaseRuntime "javax.xml.bind:jaxb-api:2.3.1"
    liquibaseRuntime "ch.qos.logback:logback-core:1.2.9"
    liquibaseRuntime "ch.qos.logback:logback-classic:1.2.9"

    liquibaseRuntime "org.springframework:spring-core:${springCoreVersion}"
    liquibaseRuntime "org.springframework.data:spring-data-jpa:${springDataVersion}"
    liquibaseRuntime "org.springframework.data:spring-data-envers:${springDataVersion}"
    liquibaseRuntime sourceSets.main.output
}

task deleteDiffChangeLog(type: Delete) {
    delete diffChangeLogFile
}

task liquibaseEntitiesToDbDiffChangelog(type: JavaExec) {
    dependsOn deleteDiffChangeLog
    group = "liquibase"
    classpath sourceSets.main.runtimeClasspath
    classpath configurations.liquibaseRuntime
    mainClass = "liquibase.integration.commandline.LiquibaseCommandLine"
    args "--logLevel=FINE"
    args "--changeLogFile=${diffChangeLogFile}"
    args "--url=${dbURL}"
    args "--username=${dbUser}"
    args "--password=${dbPassword}"
    args "--defaultSchemaName=${dbSchema}"
    args "--driver=${dbDriver}"
    args "--referenceUrl=hibernate:spring:${entitiesPackage}?dialect=${hibernateGenericDialect}"
    args "diffChangeLog"
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @peterhuba
  • Low reputation (1):
Posted by: siddharthapd

79362583

Date: 2025-01-16 17:44:20
Score: 1.5
Natty:
Report link

You neet to publish app in GPGS in Google play console (if publish button disable, resolve conflicts below) and set application sign SHA1 (not upload sign) to Android oAuth in GoogleCloudConsole. In unity => Windows => Google Play => Android Setup - set Web client ID (not application alient id). GPGS worked before publishing because Unity make other SHA-1 for .apk files, for .aab files work other rules.

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

79362578

Date: 2025-01-16 17:43:19
Score: 3
Natty:
Report link

Check your antivirus logs and/or quarantine zone - it's possible that the a/v deleted the script as soon as it was ran.

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

79362571

Date: 2025-01-16 17:41:19
Score: 0.5
Natty:
Report link

An aggregate root is an entity that contains sub-entities, which must be stored atomically. In an order system, changes to OrderItems affect the total price of the Order. This ties into atomicity and transactions, which is why DDD advocates for a repository per aggregate root.

And I think it's important to mention that you'll need to keep your runtime instances of entities synced. This is a good idea not to let the developer create a new instance from sub-entities.

Note 1: A single entity can serve as an aggregate root without sub-entities.

Note 2: Sub-entities within an aggregate root should only be managed through the aggregate. Developers should not manipulate them directly from outside.

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

79362568

Date: 2025-01-16 17:39:18
Score: 1.5
Natty:
Report link
let jwtSecret = await pm.vault.get("jwtSecret");

Taken from...

https://github.com/postmanlabs/postman-app-support/issues/12864

You must add the await operator before each pm.vault method. Without the operator, the method won't run

console.log(await pm.vault.get("jwtSecret"));
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: mikee

79362567

Date: 2025-01-16 17:39:18
Score: 2
Natty:
Report link

I just ran into the same problem earlier today, so I'll leave this in case anyone else stumbles upon the same problem.


As of 2025-01-16, the only clean way to do this is to create your own implementation of IHybridCacheSerializerFactory and register it in place of DefaultJsonSerializerFactory.

Register the service and your custom serializer factory:

builder.Services.AddHybridCache().AddSerializerFactory<CustomJsonSerializerFactory>();

Create CustomJsonSerializerFactory.cs:

internal sealed class CustomJsonSerializerFactory : IHybridCacheSerializerFactory
{
    private static readonly JsonSerializerOptions _defaultOptions;

    static CustomJsonSerializerFactory() =>
        _defaultOptions = new JsonSerializerOptions
        {
            DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull
        };

    public bool TryCreateSerializer<T>([NotNullWhen(true)] out IHybridCacheSerializer<T>? serializer)
    {
        serializer = new DefaultJsonSerializer<T>();
        return true;
    }

    internal sealed class DefaultJsonSerializer<T> : IHybridCacheSerializer<T>
    {
        T IHybridCacheSerializer<T>.Deserialize(ReadOnlySequence<byte> source)
        {
            var reader = new Utf8JsonReader(source);
            return JsonSerializer.Deserialize<T>(ref reader, _defaultOptions)!;
        }

        void IHybridCacheSerializer<T>.Serialize(T value, IBufferWriter<byte> target)
        {
            using var writer = new Utf8JsonWriter(target);
            JsonSerializer.Serialize(writer, value, _defaultOptions);
        }
    }
}

As needed, you may specify other options you find useful as well.

See this question as well, as the conclusion by the OP was somewhat similar: How can I use NodaTime with redis?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Stefan Stanić

79362556

Date: 2025-01-16 17:36:18
Score: 1.5
Natty:
Report link

An answer to anyone still struggling with this, like I was. The 'missing import' errors you were expecting come from Typescript and do not show in your Javascript files. But you can add a // @ts-check at the top of the JS file and the said errors will show. enter image description here

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

79362553

Date: 2025-01-16 17:35:17
Score: 1.5
Natty:
Report link

One of the reason for "The resource owner or authorization server denied the request" is client_id & client_secret does not exist in your database. Incase you are using passport run php artisan passport:install

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

79362544

Date: 2025-01-16 17:33:17
Score: 1
Natty:
Report link

I would like to add something to Gilm's answer, I had an Unsupported feature splitting used in archive error and it worked for me by adding skipSplitSig = true in the constructor

Reasons:
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Edward Rojas Alfaro

79362536

Date: 2025-01-16 17:30:16
Score: 2.5
Natty:
Report link

As of November 2024, you can append to objects in S3, but only in S3 express one zone buckets. Note that this means less cross-AZ replication, and pricing that is about 8x as high as regular buckets. You do get substantially faster performance and lower latency though.

The announcement: https://aws.amazon.com/about-aws/whats-new/2024/11/amazon-s3-express-one-zone-append-data-object/

The documentation on the API: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-append.html

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

79362530

Date: 2025-01-16 17:27:15
Score: 0.5
Natty:
Report link

What worked for me is simply returning a flowOf().

@Test
    fun `execute() should return a response true when object is found`() = runTest {
       coEvery { repository.entityExists(id) } returns flowOf(Response.Success(true))
       ...
    }
Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • Low reputation (1):
Posted by: Guilherme Napoleão

79362528

Date: 2025-01-16 17:27:15
Score: 2.5
Natty:
Report link

After trying out several combinations with /r and /f and without /r, the one that worked for me perfectly is:

@echo off for /r %%f in (*.jpg) do ( "C:\Program Files\ImageMagick-7.1.1-Q16-HDRI\magick" mogrify -gravity South -chop 0x42 -shave 14x0 "%%f" )

This worked beautifully across the base directory and all sub-directories and nested one's too :) Thanks very much for the tips!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • User mentioned (1): @echo
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Basil Stergiou

79362509

Date: 2025-01-16 17:19:13
Score: 0.5
Natty:
Report link

You can try the following:

Reasons:
  • Whitelisted phrase (-1): try the following
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Unclebigbay

79362507

Date: 2025-01-16 17:19:13
Score: 2
Natty:
Report link

just to let everyone know, I found a very nice Nuget library to give me exactly what I need. The idea with my question above was to be able to generate a unique hardware ID for the PC.

The link below is where I found the solution and the nuget library. https://jonathancrozier.com/blog/what-makes-a-good-device-identifier

Reasons:
  • Blacklisted phrase (1): The link below
  • Blacklisted phrase (0.5): I need
  • Whitelisted phrase (-2): I found the solution
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Raider_007

79362506

Date: 2025-01-16 17:19:13
Score: 3.5
Natty:
Report link

in your .env SESSION_DRIVER is set to database. change it to SESSION_DRIVER=file

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

79362502

Date: 2025-01-16 17:17:13
Score: 2
Natty:
Report link

The GUID solutions did not work for me in VS 2022. Turns out all I needed to do was edit the project file and add the IsTestProject value:

<PropertyGroup>
  <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
  <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
  <ProjectGuid>{553487BF-FC0B-4FC5-B25B-C8C89A13F4ED}</ProjectGuid>
  <IsTestProject>true</IsTestProject>
  <OutputType>Library</OutputType>
  .
  .
  .
</PropertyGroup>
Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Bbdrvr

79362501

Date: 2025-01-16 17:16:13
Score: 1
Natty:
Report link

Adding following line to .xcode.env file did the job:

export NODE_BINARY=`which node`

Of course we need to have node installed first.

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

79362495

Date: 2025-01-16 17:14:11
Score: 4
Natty:
Report link

I have added the following line at the end of the ggplot code: scale_colour_manual(breaks = c("Q0", "Q1"), values = c("red", "black"))

enter image description here

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

79362487

Date: 2025-01-16 17:11:10
Score: 1.5
Natty:
Report link

You may try:

=QUERY(Data!A6:F241, "SELECT A WHERE E > 1 ORDER BY E Desc limit 300") 
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gyul

79362485

Date: 2025-01-16 17:10:10
Score: 1.5
Natty:
Report link

Levenshtein coding is asymptotically optimal and preserves the ordering. It also has short codes for zero (0) and one (10) . It's not optimal for numbers in between (like 256 end 65536). It's also not that hard to implement.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Wolfgang Brehm

79362483

Date: 2025-01-16 17:09:10
Score: 1.5
Natty:
Report link

It could be anything. Enable Prisma logging by putting DEBUG="prisma*" in your ENV file so you can investigate further.

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

79362480

Date: 2025-01-16 17:09:10
Score: 1.5
Natty:
Report link

It could be anything. Enable Prisma logging by putting DEBUG="prisma*" in your ENV file so you can investigate further.

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

79362478

Date: 2025-01-16 17:08:09
Score: 0.5
Natty:
Report link

This issue has been outstanding for some time. There's no official solution to this which makes little sense considering the time this has been an issue and the destructive nature of doing a push after moving a file.

Here's the procedure we use when moving files:

  1. Before moving files, always do a push/pull and make sure that there are no outstanding changes.
  2. Move the files.
  3. Reset the changes from step 2: sf project reset tracking

This is very manual and if you forget step 1 before step 2, your next push deletes files and makes a

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

79362468

Date: 2025-01-16 17:05:08
Score: 1
Natty:
Report link

You need to create a new Runbook using Runtime 5.1.

Funny you should mention this, I just so happened to be researching this yesterday, only to come into work this morning to find a brand new search result! I am posting this less than 10 minutes after figuring out the fix.

Anyways, I did the exact same thing you did, except I troubleshot by using "Get-Module -ListAvailable" in a runtime 5.1 and a 7.2 runbook. The ExchangeOnlineManagement module did not show in 7.2 but did in 5.1.

After confirming the module was showing in the 5.1 runbook, I then tested the actual "Connect-ExchangeOnline" cmd and was able to see that it connected.

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

79362466

Date: 2025-01-16 17:04:08
Score: 2
Natty:
Report link

--tunnel

is the culprit. Seems like this is specifically a Windows 11 issue. To fix:

  1. Go to Wifi Settings -> CLick on your wifi properties -> Switch to private network
  2. Configure firewall and security settings -> Disable firewall

After this just run

npx expo start

without any additional args and it should work. Logs are showing just fine - Fast reload too!

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

79362465

Date: 2025-01-16 17:04:07
Score: 12.5 🚩
Natty: 6.5
Report link

Did you solve it ? I am getting the same error

Reasons:
  • RegEx Blacklisted phrase (3): Did you solve it
  • RegEx Blacklisted phrase (1.5): solve it ?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you solve it
  • Low reputation (1):
Posted by: Hemant Yadav

79362454

Date: 2025-01-16 17:00:06
Score: 3
Natty:
Report link

I found out myself. In the image included in my question I hadn't included the token audience Uri to the resource...

All aforementioned steps in setting up the service principal were correct it seems.

Token uri needed to be https://vault.azure.net

See revised image below.

Corrected connection settings.

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

79362450

Date: 2025-01-16 16:57:05
Score: 4
Natty:
Report link

i am also facing this problem but the correcy way is this a href="https://livetvuk.co.uk/">IPTV UK

Reasons:
  • Blacklisted phrase (1): also facing this
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vicky Turner

79362443

Date: 2025-01-16 16:54:04
Score: 1
Natty:
Report link
    data = err_log_path + 'error_TEST001.log'
    bytes_data = data.encode("utf-8")

    win32evtlogutil.ReportEvent(
                                "TEST001",
                                101,
                                eventType=0,
                                data = bytes_data,
                               )
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Barry Stevenson

79362442

Date: 2025-01-16 16:54:03
Score: 5.5
Natty: 4.5
Report link

Ok that's great for a window that floats above everything including other apps windows. Is there a way to float only above the app windows but stay behind other apps windows?

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Greg

79362441

Date: 2025-01-16 16:53:03
Score: 3
Natty:
Report link

Same with me.

I checked the cloudflare status page, seems some maintenance going on. https://www.cloudflarestatus.com/

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

79362428

Date: 2025-01-16 16:48:01
Score: 0.5
Natty:
Report link

I just posted this in Github also but this worked for us.

"I know this post is old but I wasn't getting anywhere with the same symptoms for the past few weeks. We have local development VMs that were working fine with the homepage UI load but migrating to our more secure AWS solution is where we ran into issues. The setting that reaches out to airflow to pass data is what was causing the problem. Runs, Last Run, and Recent Tasks all spun for minutes before finally showing results. Specifically, I changed the variable AIRFLOW__USAGE_DATA_COLLECTION__ENABLED from enabled=True to enabled=False. Those fields populate almost instantly now."

Reasons:
  • Whitelisted phrase (-1): solution is
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Jim

79362419

Date: 2025-01-16 16:44:00
Score: 1
Natty:
Report link

Based on @HangarRash's recommendations, I've added the following changes:

DispatchQueue.global().async {
    do { try fileManager.unzipItem(at: sourceURL, to: destinationURL, progress: unzipProgress) }
    catch {  print("error") }
}

Full code:

func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
    
    let url = URL(string: "1.zip")!
    let downloadManager = DownloadManager()
    downloadManager.identifier = indexPath.row+1
    downloadManager.collectionId = 0
    downloadManager.folderPath = "\(indexPath.row+1)"
    let downloadTaskLocal = downloadManager.activate().downloadTask(with: url)
    downloadTaskLocal.resume()
    
    downloadManager.onSuccess = { [weak self] row in
        guard let self = self else { return }
        DispatchQueue.main.async {
            self.items[row - 1].state = .completed
            self.reloadItem(indexPath: .init(row: row - 1, section: 0))
            
            if fileManager.fileExists(atPath: destination.path){
                let sourceURL = URL(fileURLWithPath: "\(destination.path)/1.zip")
                let destinationURL = URL(fileURLWithPath: destination.path)
                let unzipProgress = Progress()
                let observation = unzipProgress.observe(\.fractionCompleted) { progress, _ in
                    print("Extraction progress: ", progress.fractionCompleted)
                    if progress.fractionCompleted == 1.0 {
                        self.items[row - 1].state = .unzipped
                        self.reloadItem(indexPath: .init(row: row - 1, section: 0))
                    }
                }
                DispatchQueue.global().async {
                    do { try fileManager.unzipItem(at: sourceURL, to: destinationURL, progress: unzipProgress) }
                    catch {  print("error") }
                }
                observation.invalidate()
            } else { print("error") }
        }
    }
    
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @HangarRash's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex Smith

79362417

Date: 2025-01-16 16:44:00
Score: 1
Natty:
Report link

Suprising anyone got this to work because the parameters in findwindow are reversed and wrong. Should be

TrayHandle := FindWindow(nil, pchar('Shell_TrayWnd'));

and

PostMessage(TrayHandle,WM_CLOSE{ WM_EXITEXPLORER}, 0, 0);

works fine.

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

79362408

Date: 2025-01-16 16:39:59
Score: 3.5
Natty:
Report link

This is a fake letter and scam where someone with similar sounding name with actual company is sending mail to people to get money. Be wary.

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

79362398

Date: 2025-01-16 16:36:58
Score: 1
Natty:
Report link

The primary rule of thumb is PBI does NOT like 2-d dataset; unpivot it.

enter image description here

The measure itself is not complex,

Check = 
FORMAT (
    IF (
        HASONEVALUE ( DATA[Profile] ),
        MAXA ( DATA[Value] ),
        DISTINCTCOUNT ( DATA[Value] ) - 1
    ),
    "\Y;;\N"
)

enter image description here

The tricky part is how to make use of "Column subtotals" of Matrix viz to display the result,

enter image description here

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

79362390

Date: 2025-01-16 16:34:58
Score: 3.5
Natty:
Report link

https://hyperskill.org/learn/step/9055

I found the above website explain how the scanner read input stream.

for more information please see also https://www.baeldung.com/java-scanner-integer

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

79362360

Date: 2025-01-16 16:28:55
Score: 4
Natty:
Report link

As a workaround, see this other thread

There is a project called ios-deploy on github. https://github.com/phonegap/ios-deploy

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

79362353

Date: 2025-01-16 16:26:54
Score: 0.5
Natty:
Report link

I finally managed to get something to work mashing Taller's code (Thank you so much for that) with some other online code and the code the initial macro maker did. It is not a pretty solution and required a lot of editing of later subs to account for non-numerical values in calculations but here is my code mash that somehow worked

Dim filepath As String
Dim file As String
Dim filename As String
Dim filemax As Integer
Dim filei As Integer   
Dim TextFile As Integer
Dim FileContent As String

 Private Sub Cmdpopulate_Click()
        filei = 0
        filepath = InputBox("Please enter file path to be imported") & "\"                                                                                        'asks user for the file path (the files should be named with integers sequentially)
        filemax = InputBox("How many files do you wish to import?")                                                                                                                 'asks user how many files to import, this sets a maximum number to cycle through
        Do While filei < filemax                                                                                                                                                    'begins the file import loop, starting at filei (initially 0) up to filemax (defined above)
            filei = filei + 1
            filename = filei & ".txt"                                                                                                                                               'filename is the current filei integer and the extention
            foffset = filei + 19
            TextFile_FindReplace                                                                                                                                                                  'import file sub routine (see below)
        Loop
        add_frames
        format_tables
        Sheet1.Cells(1, 1).Select
    '    cmdpopulate.Visible = False
    End Sub
    Sub TextFile_FindReplace()
    
        file = filepath & "\" & filename
      TextFile = FreeFile
        Open file For Input As TextFile
            FileContent = Input(LOF(TextFile), TextFile)
        Close TextFile
      
            FileContent = Replace(FileContent, "          ", " --")
            TextFile = FreeFile
        Open file For Output As TextFile
            Print #TextFile, FileContent
        Close TextFile
        imptxt
    End Sub
    
    Public Sub imptxt()
        Sheet2.Range("a4").CurrentRegion.Offset(500, 0).Resize(, 40).Clear                                                                                                          'clears the table
        With Sheet2.QueryTables.Add(Connection:= _
            "TEXT;" & filepath & filename, Destination:=Sheet2.Range("$A$4"))
            .Name = Sheet2.Range("b1").Value
            .TextFilePlatform = 874
            .TextFileStartRow = 1
            .TextFileParseType = xlDelimited
            .TextFileOtherDelimiter = "?"
            .TextFileSpaceDelimiter = True
            .TextFileConsecutiveDelimiter = True
            .Refresh BackgroundQuery:=True
            .RefreshStyle = xlOverwriteCells
        End With                                                                                                                                                                    'opens file  filename (defined above) at filepath (defined above), delimites for '?' and overwrites any data in existing cells
        Sheet2.Range("a1") = filepath                                                                                                                                               'inserts filepath in cell a1, troubleshooting only
        Sheet2.Range("a2") = filename                                                                                                                                               'inserts filename in cell b2, troubleshooting only
      '  Sheet2.Select                                                                                                                                                                  'goes to the send subroutine to put data from the import table into the summary table
        TextFile_Restore
    End Sub
    Sub TextFile_Restore()
        file = filepath & "\" & filename
      TextFile = FreeFile
        Open file For Input As TextFile
            FileContent = Input(LOF(TextFile), TextFile)
        Close TextFile
      
            FileContent = Replace(FileContent, " --", "          ")     'changing the document back
            TextFile = FreeFile
        Open file For Output As TextFile
            Print #TextFile, FileContent
        Close TextFile
         If filei = 1 Then
            headers
        End If
        send
    End Sub

I hope it never breaks as I don't think I would be able to do it again.

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

79362348

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

Instead of printing, consider using module memory_graph to graph the recursion. A simple example for a factorial() function looks like:

import memory_graph # see link above for install instructions

def factorial(n):
    if n==0:
        return 1
    memory_graph.show( memory_graph.get_call_stack(), block=True )
    result = n * factorial(n-1)
    memory_graph.show( memory_graph.get_call_stack(), block=True )
    return result

print(factorial(3)) # 6

factorial graphed

Full disclosure: I am the developer of memory_graph.

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

79362344

Date: 2025-01-16 16:22:53
Score: 3.5
Natty:
Report link

I upgraded my Android Studio, and it only resolved the issue in Android 14,15 (Google Play). However, the other versions are still not functioning.

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

79362325

Date: 2025-01-16 16:17:51
Score: 3.5
Natty:
Report link

Don't tell anyone but it was a mistake on the html.

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

79362323

Date: 2025-01-16 16:17:51
Score: 2
Natty:
Report link

Well, it seems obvious now. The problem was that flutter created versions of these files with a .kts prefix. This relates to the new domain-specific-language (DSL) being used for gradle. I did see these files but assumed they had some different purpose.

The problem I now have is that flutterfire cli won't configure apps with kts files.

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

79362318

Date: 2025-01-16 16:16:51
Score: 1.5
Natty:
Report link

I have faced the same issue and I realised that I am using WSL for my develepment, so I changed the ganache settings to accept request from WSL and it worked. My suggestion for your problem will be check your ganache server settings.Hope this solution work for you guys!!.

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

79362313

Date: 2025-01-16 16:14:50
Score: 1
Natty:
Report link
  1. Ensure Class Loader Consistency: Verify that the class loaders used in both Eclipse and Maven-built clients are the same.

  2. Optimize Resource Packaging: Make sure resources are correctly bundled and accessed in the same way in both environments.

  3. Improve File System Access: Check for any discrepancies in file system access patterns and optimize for consistency.

  4. Adjust JVM Settings: Ensure that the JVM settings are identical in both environments to avoid performance differences.

  5. Enable Resource Caching: Implement caching mechanisms for frequently accessed resources to reduce load times.

  6. Detailed Profiling: Use advanced profiling tools to identify and address any underlying performance bottlenecks.

By addressing these areas, you can achieve more consistent performance between your Eclipse and Maven-built clients.

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

79362297

Date: 2025-01-16 16:10:50
Score: 1
Natty:
Report link

I was able to get g++ -pg -g with -02 optimizations to work by removing the -l from gprof command. So first compile and run the program. Then move gmon.out and the binary compiled with debug options into the same directory. Then run sudo gprof binary_name gmon.out binary_name > output.txt

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

79362292

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

It’s possible that this is an intended cold start behavior. Websockets usually have challenges when synchronizing data to Cloud Run because instances are stateless while websockets are stateful.

When it comes to choosing between first and second generation of Cloud Run, both will still discard in-memory data once an instance is terminated or scaled down. But in terms of cold start times, the first generation has faster cold start times than the second generation.

You can also try setting a minimum number of instances to reduce the cold start time.

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

79362290

Date: 2025-01-16 16:08:49
Score: 1.5
Natty:
Report link

The issue was target_compile_options(project1 PRIVATE /Zp).

I assume intellisense was expecting the next item to be passed to be the argument. As /Zp is the same as /Zp1 I had left it empty. Adding the argument of 1 has made the intellisense errors dissappear.

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

79362287

Date: 2025-01-16 16:07:49
Score: 2.5
Natty:
Report link

You can checkout the flutter package Securepass which uses google mlkit package and others. Use their flutter package or implement yourself following their idea of implementation.

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

79362285

Date: 2025-01-16 16:06:48
Score: 3.5
Natty:
Report link

Issue resolved by retrograding to version 2.9.3.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kevin.c

79362280

Date: 2025-01-16 16:04:47
Score: 4.5
Natty:
Report link

Store Kit Pro uses Transaction from StoreKit which means you're okay

See more here: https://stackoverflow.com/a/79357207/4514671

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

79362276

Date: 2025-01-16 16:03:47
Score: 2.5
Natty:
Report link

Have you set up a payment method? When you send out a message (template), your webhook will be called with the status of that message. It might contain an error indicating the issue with sending the message.

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

79362254

Date: 2025-01-16 15:59:45
Score: 1
Natty:
Report link

To help you better understand my problem, here is an excerpt of the messages generated by the compiler after compiling with the command mingw32-make:

[ 1%] Building C object CMakeFiles/gen_test_char.dir/tools/gen_test_char.c.obj
[ 2%] Linking C executable gen_test_char.exe
[ 2%] Built target gen_test_char
[ 3%] Generating character tables, apr_escape_test_char.h, for current locale
[ 3%] Built target test_char_header
[ 3%] Building C object CMakeFiles/libapr-1.dir/atomic/win32/apr_atomic.c.obj
In file included from x:/mingw64/x86_64-w64-mingw32/include/objbase.h:66,
from x:/mingw64/x86_64-w64-mingw32/include/ole2.h:17,
from x:/mingw64/x86_64-w64-mingw32/include/wtypes.h:13,
from x:/mingw64/x86_64-w64-mingw32/include/accctrl.h:10,
from x:/apr-1.7.5/include/arch/win32/apr_private.h:62,
from x:/apr-1.7.5/include/arch/unix/apr_arch_atomic.h:22,
from x:\apr-1.7.5\atomic\win32\apr_atomic.x:17:
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9954:9: error: unknown type name 'HMETAFILEPICT'; did you mean 'METAFILEPICT'?
9954 | HMETAFILEPICT hMetaFilePict;
| ^~~~~~~~~~~~~
| METAFILEPICT
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9967:9: error: unknown type name 'wireHBITMAP'; did you mean 'HBITMAP'?
9967 | wireHBITMAP hBitmap;
| ^~~~~~~~~~~
| HBITMAP
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9968:9: error: unknown type name 'wireHPALETTE'; did you mean 'HPALETTE'?
9968 | wireHPALETTE hPalette;
| ^~~~~~~~~~~~
| HPALETTE
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9969:9: error: unknown type name 'wireHGLOBAL'; did you mean 'HGLOBAL'?
9969 | wireHGLOBAL hGeneric;
| ^~~~~~~~~~~
| HGLOBAL
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9976:13: error: unknown type name 'wireHMETAFILEPICT'; did you mean 'LPMETAFILEPICT'?
9976 | wireHMETAFILEPICT hMetaFilePict;
| ^~~~~~~~~~~~~~~~~
| LPMETAFILEPICT
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9977:13: error: unknown type name 'wireHENHMETAFILE'; did you mean 'HENHMETAFILE'?
9977 | wireHENHMETAFILE hHEnhMetaFile;
| ^~~~~~~~~~~~~~~~
| HENHMETAFILE
x:/mingw64/x86_64-w64-mingw32/include/objidl.h:9979:13: error: unknown type name 'wireHGLOBAL'; did you mean 'HGLOBAL'?
9979 | wireHGLOBAL hGlobal;
| ^~~~~~~~~~~
| HGLOBAL
x:/mingw64/x86_64-w64-mingw32/include/objbase.h:159:52: error: unknown type name 'uCLSSPEC'
159 | WINOLEAPI CoInstall (IBindCtx *pbc, DWORD dwFlags, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, LPWSTR pszCodeBase);
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/objbase.h:159:74: error: unknown type name 'QUERYCONTEXT'; did you mean 'PUMS_CONTEXT'?
159 | WINOLEAPI CoInstall (IBindCtx *pbc, DWORD dwFlags, uCLSSPEC *pClassSpec, QUERYCONTEXT *pQuery, LPWSTR pszCodeBase);
| ^~~~~~~~~~~~
| PUMS_CONTEXT
In file included from x:/mingw64/x86_64-w64-mingw32/include/urlmon.h:456,
from x:/mingw64/x86_64-w64-mingw32/include/objbase.h:163:
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:1328:9: error: unknown type name 'LPMSG'
1328 | LPMSG lpmsg,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2198:9: error: unknown type name 'LPMSG'
2198 | LPMSG lpmsg);
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2299:5: error: unknown type name 'LPMSG'
2299 | LPMSG lpmsg);
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oleidl.h:2441:9: error: unknown type name 'LPMSG'
2441 | LPMSG lpmsg,
| ^~~~~
In file included from x:/mingw64/x86_64-w64-mingw32/include/msxml.h:311,
from x:/mingw64/x86_64-w64-mingw32/include/urlmon.h:458:
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:366:9: error: unknown type name 'CY'
366 | typedef CY CURRENCY;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:378:5: error: unknown type name 'wireBSTR'
378 | wireBSTR *aBstr;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:408:16: error: 'VT_ERROR' undeclared here (not in a function); did you mean 'IS_ERROR'?
408 | SF_ERROR = VT_ERROR,
| ^~~~~~~~
| IS_ERROR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:409:13: error: 'VT_I1' undeclared here (not in a function)
409 | SF_I1 = VT_I1,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:410:13: error: 'VT_I2' undeclared here (not in a function)
410 | SF_I2 = VT_I2,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:411:13: error: 'VT_I4' undeclared here (not in a function)
411 | SF_I4 = VT_I4,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:412:13: error: 'VT_I8' undeclared here (not in a function)
412 | SF_I8 = VT_I8,
| ^~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:413:15: error: 'VT_BSTR' undeclared here (not in a function); did you mean 'PTSTR'?
413 | SF_BSTR = VT_BSTR,
| ^~~~~~~
| PTSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:414:18: error: 'VT_UNKNOWN' undeclared here (not in a function); did you mean 'VFT_UNKNOWN'?
414 | SF_UNKNOWN = VT_UNKNOWN,
| ^~~~~~~~~~
| VFT_UNKNOWN
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:415:19: error: 'VT_DISPATCH' undeclared here (not in a function); did you mean 'VIF_MISMATCH'?
415 | SF_DISPATCH = VT_DISPATCH,
| ^~~~~~~~~~~
| VIF_MISMATCH
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:416:18: error: 'VT_VARIANT' undeclared here (not in a function)
416 | SF_VARIANT = VT_VARIANT,
| ^~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:417:17: error: 'VT_RECORD' undeclared here (not in a function); did you mean 'METARECORD'?
417 | SF_RECORD = VT_RECORD,
| ^~~~~~~~~
| METARECORD
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:418:31: error: 'VT_RESERVED' undeclared here (not in a function); did you mean 'TC_RESERVED'?
418 | SF_HAVEIID = VT_UNKNOWN | VT_RESERVED
| ^~~~~~~~~~~
| TC_RESERVED
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:508:13: error: unknown type name 'VARTYPE'; did you mean 'CALTYPE'?
508 | VARTYPE vt;
| ^~~~~~~
| CALTYPE
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:519:17: error: unknown type name 'VARIANT_BOOL'
519 | VARIANT_BOOL boolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:521:17: error: unknown type name 'CY'
521 | CY cyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:522:17: error: unknown type name 'DATE'
522 | DATE date;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:523:17: error: unknown type name 'BSTR'; did you mean 'HSTR'?
523 | BSTR bstrVal;
| ^~~~
| HSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:533:17: error: unknown type name 'VARIANT_BOOL'
533 | VARIANT_BOOL *pboolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:535:17: error: unknown type name 'CY'
535 | CY *pcyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:536:17: error: unknown type name 'DATE'
536 | DATE *pdate;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:537:17: error: unknown type name 'BSTR'; did you mean 'HSTR'?
537 | BSTR *pbstrVal;
| ^~~~
| HSTR
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:549:17: error: unknown type name 'DECIMAL'
549 | DECIMAL *pdecVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:562:9: error: unknown type name 'DECIMAL'
562 | DECIMAL decVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:604:9: error: unknown type name 'VARIANT_BOOL'
604 | VARIANT_BOOL boolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:606:9: error: unknown type name 'CY'
606 | CY cyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:607:9: error: unknown type name 'DATE'
607 | DATE date;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:608:9: error: unknown type name 'wireBSTR'
608 | wireBSTR bstrVal;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:619:9: error: unknown type name 'VARIANT_BOOL'
619 | VARIANT_BOOL *pboolVal;
| ^~~~~~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:621:9: error: unknown type name 'CY'
621 | CY *pcyVal;
| ^~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:622:9: error: unknown type name 'DATE'
622 | DATE *pdate;
| ^~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:623:9: error: unknown type name 'wireBSTR'
623 | wireBSTR *pbstrVal;
| ^~~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:634:9: error: unknown type name 'DECIMAL'
634 | DECIMAL decVal;
| ^~~~~~~
x:/mingw64/x86_64-w64-mingw32/include/oaidl.h:635:9: error: unknown type name 'DECIMAL'
635 | DECIMAL *pdecVal;
| ^~~~~~~
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Filler text (0.5): ~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~
  • Filler text (0): ~~~~~~~~
  • Filler text (0): ~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Filler text (0): ~~~~~~~~~~~
  • Low reputation (1):
Posted by: user29212188

79362252

Date: 2025-01-16 15:59:45
Score: 1.5
Natty:
Report link

I suggest you use : pymysql. It works exactly the same as mysql.connector

import pymysql

connection=pymysql.connect(user="root",password="mysql")
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abderrahmane ELYADINI

79362250

Date: 2025-01-16 15:57:45
Score: 2
Natty:
Report link

Here is how i found 'PROFESSIONAL HACKER' when i noticed changes in my husband's behaviour and i needed to Hack into his cell phone without physical contact, when he would always being with his phone at odd hours, i suspected infidelity but i know i needed cheating proof to be able to confront the situation before its too late.... i talked to colleague at work who introduced me to a Hacking Guru' and SPYWARE DIRECTORY PROGRAMMER his direct contact for call or texts is +,1. 77894 60028 and his e-mail addrr is 'UNTRACEABLELOOPSHACKING247 AT G. MAIL DOT C OM' he only need the Target phone number[s] and the phone model [iphone, samsung etc'] to program your spyware directory app, he will help you gain access in-to your cheating partner's phone without physical contact, with his software and spyware tools i was able to read all his texts messages 'both deleted and recent' and also had access to his whatsapp chats [new and deleted] facebook chats, instagram,viber mesaages etc...recovered and retrieved deleted text messages, files,conversations and emails of at least 3 years and above, with the spylink directory you can always know and view Target phone live location at anytime , view his banks and credit cards statements, record or listen to phone calls, view call logs and many more, you can as well 've access to his icloud information remotely without his passwords, any apps[ dating sites, bank apps, or any social media apps] on the target phone would be remotely accessible for you on the directory with many more functions and features, he's a Guru in spyware programming and he will show the Demo of how to navigate and use the directory, his service charges is very affordable considering the multiple features of the spyapp.....So, if you need cheating proof or any hacking and tracking related service just follow your gut instincts, contact him via his email addrr 'untraceableloopshacking AT G. MAIL DOT CO M and tell him Sharon fisher refer you..

Reasons:
  • Blacklisted phrase (0.5): i need
  • Long answer (-1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sharon Fisher

79362245

Date: 2025-01-16 15:54:44
Score: 0.5
Natty:
Report link

Late to the party maybe, but for anyone interested in this day and age: I'm using Pandoc for conversions like this. It also supports converting docbook format to other formats, like HTML.

For example: pandoc -s -t docbook example.xml -o example.html

You can try it online here: https://pandoc.org/try/

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

79362243

Date: 2025-01-16 15:54:44
Score: 1
Natty:
Report link

you can try this too:

python -m fastapi dev .\main.py
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: scorcism

79362239

Date: 2025-01-16 15:52:43
Score: 2
Natty:
Report link

-check your logs file -check if there is any weird place that you have made a database query like in my case I called User::all() in my routes file which resulted in the error uncomment that part and check if everything works

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

79362217

Date: 2025-01-16 15:48:42
Score: 10.5
Natty: 7.5
Report link

Were you able to resolve this?

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve this?
  • RegEx Blacklisted phrase (3): Were you able
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Yves De Meersman

79362215

Date: 2025-01-16 15:48:42
Score: 1.5
Natty:
Report link

I'm not able to truly disable the security certificate check, even with the two last proposed solutions.

I use the pyowm module and at some point, it calls one of its library where request is used and where it forces the verification. See below the get_json function of the HttpClient object with verify=self.config['connection']['verify_ssl_certs']

The only solution I found was to replace that line by verify = false but I would prefer to set a global variable in my original code instead of changing the code directly in one of the pyowm script.

Any ideas ? (safety warning : I'm not a developer, I just know the minimum to play with python to make my job easier)

Thanks.

class HttpClient:

"""
An HTTP client encapsulating some config data and abstarcting away data raw retrieval

:param api_key: the OWM API key
:type api_key: str
:param config: the configuration dictionary (if not provided, a default one will be used)
:type config: dict
:param root_uri: the root URI of the API endpoint
:type root_uri: str
:param admits_subdomains: if the root URI of the API endpoint admits subdomains based on the subcription type (default: True)
:type admits_subdomains: bool
"""

def __init__(self, api_key, config, root_uri, admits_subdomains=True):
    assert isinstance(api_key, str)
    self.api_key = api_key
    assert isinstance(config, dict)
    self.config = config
    assert isinstance(root_uri, str)
    self.root_uri = root_uri
    assert isinstance(admits_subdomains, bool)
    self.admits_subdomains = admits_subdomains

    if self.config['connection']['max_retries'] is not None:
        # this adapter tells how to perform retries
        self.session_adapter = HTTPAdapter(
            max_retries=Retry(
                total=self.config['connection']['max_retries'],
                status_forcelist=[429, 500, 502, 503, 504],
                method_whitelist=["HEAD", "GET", "PUT", "DELETE", "OPTIONS", "TRACE"]
            )
        )
        # this is the adapted requests client
        self.http = requests.Session()
        self.http.mount("https://", self.session_adapter)
        self.http.mount("http://", self.session_adapter)
    else:
        self.http = requests

def get_json(self, path, params=None, headers=None):
    builder = HttpRequestBuilder(self.root_uri, self.api_key, self.config, has_subdomains=self.admits_subdomains)\
        .with_path(path)\
        .with_api_key()\
        .with_language()\
        .with_query_params(params if params is not None else dict())\
        .with_headers(headers if headers is not None else dict())
    url, params, headers, proxies = builder.build()
    try:
        resp = self.http.get(url, params=params, headers=headers, proxies=proxies,
                            timeout=self.config['connection']['timeout_secs'],
                            verify=self.config['connection']['verify_ssl_certs']
                            #Added by Alex
                            #verify = False
                             )
    except requests.exceptions.SSLError as e:
        raise exceptions.InvalidSSLCertificateError(str(e))
    except requests.exceptions.ConnectionError as e:
        raise exceptions.InvalidSSLCertificateError(str(e))
    except requests.exceptions.Timeout:
        raise exceptions.TimeoutError('API call timeouted')
    HttpClient.check_status_code(resp.status_code, resp.text)
    try:
        return resp.status_code, resp.json()
    except:
        raise exceptions.ParseAPIResponseError('Impossible to parse API response data')
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Any ideas
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: xla99

79362214

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

On Mac M3, it turned out it didn't have anything to do with path, but rather the way that psycopg2 was installed. I had to do conda install psycopg2 instead of using pip as I was before. Thanks to this contributor for the solution.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jowen

79362212

Date: 2025-01-16 15:47:42
Score: 3
Natty:
Report link

Link ere's a link! And a reference-style link to a panda. References don't have to be numbers.

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

79362205

Date: 2025-01-16 15:45:41
Score: 3.5
Natty:
Report link

when creating the driver object, are you passing the parameter password="your_password" on purpose because you've already set the password in the method definition

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when
  • Low reputation (1):
Posted by: Kobina Folson

79362202

Date: 2025-01-16 15:45:41
Score: 4
Natty: 4.5
Report link

Hey hello i put the archives in drive for you, i think it's that what you are lookin for

https://drive.google.com/drive/folders/1XNoU7Jaxchh31tCV8KSD92XYvOCRvOva?usp=sharing

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

79362190

Date: 2025-01-16 15:41:40
Score: 1.5
Natty:
Report link

The previous answers are useful, but I'll add some more for those who find this later.

The correct way to solve the problem is exactly what the question poster did. The only other thing I would do is changing the name of the function from addPassenger to addPassengerToBus (or boardBus).

Adding a passenger to the bus should change the fullness of the bus. You would never want to have someone added to the bus without calculating the change in bus fullness. From the "business" perspective (the business of busses) it is one thing.

What is not one thing, is the exact numerical tipping points, which should be calculated via it's own function and called whenever a passenger is added.

Had adding people to the bus truly been independent of calculating the fullness of the bus, then the thing to do would be to split the functions and have the method which calls addPassenger now call both methods directly.

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

79362180

Date: 2025-01-16 15:36:38
Score: 2
Natty:
Report link

My apologies, the issue was with my code: I was passing the method instance to an unrelated visitor. Once I corrected this, everything works as advertised.

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

79362173

Date: 2025-01-16 15:34:38
Score: 2
Natty:
Report link

This takes 2 extra steps and is technically not an answer to the question, but should do the job in no time + it's easy. All you need is a terminal in your repo:

  1. checkout the commit by its hash in your terminal
  2. git log -> this should show the commit message
  3. ctrl + c the message and search in gitlab by the message
Reasons:
  • Blacklisted phrase (1): not an answer
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Clemens Dinkel

79362168

Date: 2025-01-16 15:33:38
Score: 1.5
Natty:
Report link

https://platform.freemusicd-----BEGIN CERTIFICATE----- MIIDrDCCA1KgAwIBAgIQeKyL508y8dEOEs2mQfCufjAKBggqhkjOPQQDAjA7MQsw CQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZpY2VzMQwwCgYD VQQDEwNXRTEwHhcNMjQxMTI4MTUzMjQwWhcNMjUwMjI2MTUzMjM5WjAiMSAwHgYD VQQDExdiYWNrc3RhZ2UuZGlzdHJvZmx5LmNvbTBZMBMGByqGSM49AgEGCCqGSM49 AwEHA0IABLOu7msDHA4FMSyrZCCPt9BFhYNH4xuhhz25lk7sckvA8cnstrIGD9N/ SbS9NF12QtwU4CKrLGcwc3j5PdTTtMCjggJPMIICSzAOBgNVHQ8BAf8EBAMCB4Aw EwYDVR0lBAwwCgYIKwYBBQUHAwEwDAYDVR0TAQH/BAIwADAdBgNVHQ4EFgQUNCac LcdXjZZkiOHK4nyyZ2LoiKQwHwYDVR0jBBgwFoAUkHeSNWfE/6jMqeZ72YB5e8yT +TgwXgYIKwYBBQUHAQEEUjBQMCcGCCsGAQUFBzABhhtodHRwOi8vby5wa2kuZ29v Zy9zL3dlMS9lS3cwJQYIKwYBBQUHMAKGGWh0dHA6Ly9pLnBraS5nb29nL3dlMS5j cnQwIgYDVR0RBBswGYIXYmFja3N0YWdlLmRpc3Ryb2ZseS5jb20wEwYDVR0gBAww CjAIBgZngQwBAgEwNgYDVR0fBC8wLTAroCmgJ4YlaHR0cDovL2MucGtpLmdvb2cv d2UxL3Jkb1phUC1DRTRZLmNybDCCAQMGCisGAQQB1nkCBAIEgfQEgfEA7wB1AE51 oydcmhDDOFts1N8/Uusd8OCOG41pwLH6ZLFimjnfAAABk3OeFdsAAAQDAEYwRAIg LxCtkXjtO7RedovnTCm5XeC7YdazR5NxJKt5xbtu870CIAjaboIYPkAAAdav4kiy J/cQv8klMzWOStT/udOMMiRtAHYAfVkeEuF4KnscYWd8Xv340IdcFKBOlZ65Ay/Z DowuebgAAAGTc54WAgAABAMARzBFAiEAlYVcn3vXPICZedaSAkh2ipnRoRTgIKYS lqWfiIdy5v8CIH98JcUc0nP92zmSX2UUaNuJTX3FhajipEA+dNiq2v/qMAoGCCqG SM49BAMCA0gAMEUCIBIFN5wKonsdh9K/F9iLTwqetz2So/3YN5wbetRi4qahAiEA qy6VVopQ7x9mN9ZG84HMTGpsCVNBp91fH13S+lsHHgA= -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIICnzCCAiWgAwIBAgIQf/MZd5csIkp2FV0TttaF4zAKBggqhkjOPQQDAzBHMQsw CQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEU MBIGA1UEAxMLR1RTIFJvb3QgUjQwHhcNMjMxMjEzMDkwMDAwWhcNMjkwMjIwMTQw MDAwWjA7MQswCQYDVQQGEwJVUzEeMBwGA1UEChMVR29vZ2xlIFRydXN0IFNlcnZp Y2VzMQwwCgYDVQQDEwNXRTEwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARvzTr+ Z1dHTCEDhUDCR127WEcPQMFcF4XGGTfn1XzthkubgdnXGhOlCgP4mMTG6J7/EFmP LCaY9eYmJbsPAvpWo4H+MIH7MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggr BgEFBQcDAQYIKwYBBQUHAwIwEgYDVR0TAQH/BAgwBgEB/wIBADAdBgNVHQ4EFgQU kHeSNWfE/6jMqeZ72YB5e8yT+TgwHwYDVR0jBBgwFoAUgEzW63T/STaj1dj8tT7F avCUHYwwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzAChhhodHRwOi8vaS5wa2ku Z29vZy9yNC5jcnQwKwYDVR0fBCQwIjAgoB6gHIYaaHR0cDovL2MucGtpLmdvb2cv ci9yNC5jcmwwEwYDVR0gBAwwCjAIBgZngQwBAgEwCgYIKoZIzj0EAwMDaAAwZQIx AOcCq1HW90OVznX+0RGU1cxAQXomvtgM8zItPZCuFQ8jSBJSjz5keROv9aYsAm5V sQIwJonMaAFi54mrfhfoFNZEfuNMSQ6/bIBiNLiyoX46FohQvKeIoJ99cx7sUkFN 7uJW -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- MIICCTCCAY6gAwIBAgINAgPlwGjvYxqccpBQUjAKBggqhkjOPQQDAzBHMQswCQYD VQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2VzIExMQzEUMBIG A1UEAxMLR1RTIFJvb3QgUjQwHhcNMTYwNjIyMDAwMDAwWhcNMzYwNjIyMDAwMDAw WjBHMQswCQYDVQQGEwJVUzEiMCAGA1UEChMZR29vZ2xlIFRydXN0IFNlcnZpY2Vz IExMQzEUMBIGA1UEAxMLR1RTIFJvb3QgUjQwdjAQBgcqhkjOPQIBBgUrgQQAIgNi AATzdHOnaItgrkO4NcWBMHtLSZ37wWHO5t5GvWvVYRg1rkDdc/eJkTBa6zzuhXyi QHY7qca4R9gq55KRanPpsXI5nymfopjTX15YhmUPoYRlBtHci8nHc8iMai/lxKvR HYqjQjBAMA4GA1UdDwEB/wQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQW BBSATNbrdP9JNqPV2Py1PsVq8JQdjDAKBggqhkjOPQQDAwNpADBmAjEA6ED/g94D 9J+uHXqnLrmvT/aDHQ4thQEd0dlq7A/Cr8deVl5c1RxYIigL9zC2L7F8AjEA8GE8 p/SgguMh1YQdc4acLa/KNJvxn7kjNuK8YAOdgLOaVsjh4rsUecrNIdSUtUlD -----END CERTIFICATE-----istrib.com/?next=%2Falbums

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

79362163

Date: 2025-01-16 15:32:37
Score: 1
Natty:
Report link

Due to the quarkus.smallrye-openapi.servers is a runtime property you may directly in application.properties file set it to any runtime env variable like

quarkus.smallrye-openapi.servers=${HOSTNAME:localhost}

where localhost is just a fallback value in case HOSTNAME env missing.

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

79362161

Date: 2025-01-16 15:32:37
Score: 3.5
Natty:
Report link

how can i get that data from the woocommerce to my application regarding abandoned carts list what is the api endpoint for this like to get orders i use(wp-json/wc/v3/orders) then what will be for abandoned carts

Reasons:
  • Blacklisted phrase (0.5): how can i
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): how can i
  • Low reputation (1):
Posted by: Bilal shahid

79362156

Date: 2025-01-16 15:27:36
Score: 3.5
Natty:
Report link

You can create a Converter to make the direct convertion between POJO/Record -> Record. See more : https://modelmapper.org/user-manual/converters/.

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

79362151

Date: 2025-01-16 15:25:36
Score: 2
Natty:
Report link

The issue was related to payment. Upgrading your OpenAI account doesn’t automatically include an API key subscription. You’ll need to purchase a subscription separately based on the pricing available on this page: OpenAI API Pricing.

Once I subscribed, the problem was resolved.

Thank you, everyone!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: Ahmed Amin Shahin

79362145

Date: 2025-01-16 15:23:35
Score: 2.5
Natty:
Report link

I tried to find a solution 2 or 3 days, and missed out this thread.

In my case, Build Settings - Packaging - Product Name was not English. Changed to English and worked.

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

79362141

Date: 2025-01-16 15:23:35
Score: 1.5
Natty:
Report link

Im asking a question on this thread since you all seems pretty aware on the subject.

Im getting too some difficulty to place orders with REST API, even if I manage perfectly to get the endpoints. No matter what I try, included the example from the official doc: https://ibkrcampus.com/ibkr-api-page/cpapi-v1/#place-order, I get an error 500: internal server error

Here is my code:

>>> data
  {'orders': [{'conid': 136155102, 'orderType': 'MKT', 'quantity': 1, 'side': 'BUY'}]}
>>> url 
    'https://localhost:5005/v1/api/iserver/account/XXXXXX/orders' 
>>> response = requests.post(url, data=data, verify=False)
>>> response.raise_for_status()
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://localhost:5005/v1/api/iserver/account/XXXXXX/orders

I tried also to specify the acctID in the body but I get the same result. I will keep testing in the coming days, in case this is an issue coming directly from the server -- what I doubt.

Please note that Im currently trying with a paper account.

@Voy, you did a great job on your lib ibind.

Thanks for your help

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-0.5): Thanks for your help
  • RegEx Blacklisted phrase (1): I get an error
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Voy
  • Low reputation (1):
Posted by: Roms

79362139

Date: 2025-01-16 15:22:34
Score: 1
Natty:
Report link

Solved:

When storing these external users, exchange will replace the "@" symbol in the User Principle Name with an "_", leaving the emails to look like this: exampleemail_outlook.com#EXT#@company.com. This issue was resolved by changing Select-Object -ExpandProperty UserPrincipalName to Select-Object -ExpandProperty Mail.

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

79362111

Date: 2025-01-16 15:16:33
Score: 3.5
Natty:
Report link

I'm working on a Chinese-English dictionary app in Swift and need advice on the best way to store simple data (Chinese word, pronunciation, definitions). I tried SwiftData but felt overwhelmed—any tips to simplify this would be sizzling!

Reasons:
  • Blacklisted phrase (1): any tips
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Sam Links

79362104

Date: 2025-01-16 15:14:32
Score: 1
Natty:
Report link

The expected value 3030, in hex translates to "00" which is an approval. The actual value you received 3936 translates to "96", which is one of many possible decline codes.

8A is the tag identifier for (Authorisation Response Code). 02 is the length of the data in bytes, 3936 is the value (2 bytes is 4 hex digits). There is not enough information to tell if it is a host problem, issuer problem, or perhaps a problem with the transaction data that was sent to the host.

Your payment processor / host should be able to tell you what decline code 96 means.

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

79362098

Date: 2025-01-16 15:12:31
Score: 5
Natty:
Report link

If you are facing the same issue, Check your build.gradle file and remove this line: implementation("androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-apha03")

now re-run the project.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: Dev.Joshua

79362096

Date: 2025-01-16 15:12:31
Score: 3.5
Natty:
Report link

You can do a query in your own space https://github.com/notifications?query=reason%3Ainvitation

reason:invitation When you're invited to a team, organization, or repository.

as explained here: https://docs.github.com/en/account-and-profile/managing-subscriptions-and-notifications-on-github/viewing-and-triaging-notifications/managing-notifications-from-your-inbox

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

79362093

Date: 2025-01-16 15:11:30
Score: 2
Natty:
Report link

It seems that in version: 2024.4 /2695759 the issue was fixed.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: morecore

79362080

Date: 2025-01-16 15:07:29
Score: 3.5
Natty:
Report link

I answer to myself: the issue was caused by a special character in the password.

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

79362070

Date: 2025-01-16 15:04:29
Score: 2
Natty:
Report link

Try change your type to params: Promise<{ uuid: string }>;

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

79362048

Date: 2025-01-16 15:00:27
Score: 2
Natty:
Report link

Put recordSetStructure = root,*

Put row.endSeparator = 'nl' in place of row.fieldSeparator.

Refer below blog for simple conversions from XML to plain files: https://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

Also, imo, chatgpt and others AI tools are still evolving and do not provide reliable solutions where SAP PI/CPI is concerned. So try to follow SAP documentations and blogs.

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

79362047

Date: 2025-01-16 14:59:27
Score: 1.5
Natty:
Report link

So, in codegen.ts documents destinations should be in the same folder as generate output.

documents: ['lib/**/*.ts'],
ignoreNoDocuments: true,
generates: {
   './graphql/': {
      preset: 'client',
      config: {
          documentMode: 'string'
      }
   },
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: nutipa

79362039

Date: 2025-01-16 14:57:27
Score: 2.5
Natty:
Report link
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Doan Chung

79362038

Date: 2025-01-16 14:57:27
Score: 2
Natty:
Report link

Two Screenshots showing the app-files on azure belonging to this function. It is not running (Assuming Error during import). Only If I remove #import zsbiconfig. I do not see any fault here

Function app Files

enter image description here

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

79362031

Date: 2025-01-16 14:55:26
Score: 1
Natty:
Report link

Other applications may also be taking over the shortcuts in addition to the AMD Radeon background processes. In my case (I do not have AMD), the culprit was Zoom. Deleting the shortcut from Zoom App - Profile - Settings - Keyboard shortcuts - Clips - "Record new clip" removes the conflict and restores RStudio comment/uncomment functionality.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
Posted by: sparrow

79362022

Date: 2025-01-16 14:52:25
Score: 4
Natty: 4.5
Report link

which data format i can use with the octproz? how i can make a convertion to octproz format

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): which
  • Low reputation (1):
Posted by: אופירה דבח

79362019

Date: 2025-01-16 14:51:24
Score: 1.5
Natty:
Report link

In my specific case, the issue came down to network routing.

I investigated the azure app configuration again more in-depth after I posted this question and some of the network configuration. It turns out that I had some network restrictions in place on my identity provider and needed to add this app to the vnet. After doing this the app is now able to successfully go through the authentication flow!

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