79661415

Date: 2025-06-11 05:11:14
Score: 1.5
Natty:
Report link

I think I could reproduce your 403 exception. Try to add @ResponseBody annotation on the POST method in the controller.

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

79661414

Date: 2025-06-11 05:09:13
Score: 2
Natty:
Report link

Looks like 9.0.2 version of Elasticsearch is not compatible with ElasticsearchSinkConnector.

Once I switched to 8.x version (8.12.0) everything started to worked.

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

79661411

Date: 2025-06-11 05:08:12
Score: 2.5
Natty:
Report link

In fact you would just need to install aardvark-dns via the package manager of your distribution (thanks to podman issue tracker issue 15848):

ArchLinux/Manjaro: sudo pacman -S aardvark-dns

Debian/Ubuntu: sudo apt install aardvark-dns

And the warning goes away.

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

79661409

Date: 2025-06-11 05:03:11
Score: 0.5
Natty:
Report link

Try using:

Select::make('relationship')
    ->hidden()
    ->saveRelationshipsWhenHidden()

It's nowhere in the documentation but it does exactly it says. Also available is:

Select::make('relationship')
    ->disabled()
    ->saveRelationshipsWhenDisabled()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: salmanhijazi

79661407

Date: 2025-06-11 04:55:10
Score: 3
Natty:
Report link

Adding below code to program.cs resolved my issue:

builder.Services.AddHttpClient();

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

79661406

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

Good read. I also use a step in my task sequence that does the import - module and oddly it works amazingly in all models except recently not on the Lenovo M920s. When the step runs, the screen goes blank and then nothing. Not sure why, but this only happens when I image that model. I ended up creating a second TS that does not use that step. I use this so I can do a auto computer name generator that pulls the last five of the serial number, then adds the device to AD in a specific OU based on the device type. The process also checks of the device already exists in AD and prompts if this is reimage to check a box. Anyone experienced this blank screen issue? I am going to try rebuilding the package with new nuget and see if that helps.

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

79661401

Date: 2025-06-11 04:49:08
Score: 0.5
Natty:
Report link

For me this was occurring due to the way WSL handles files, it seems to conflict with the way pnpm uses symlinks. To fix this, I set the node linker to be hoisted.

In .npmrc file in the root of your project add the line

node-linker=hoisted
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Josh

79661398

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

Bigtable now supports Continuous Materialized Views for write-time, incrementally processed pre-aggregations and SQL GROUP BYs for read-time aggregations which make these kind of operations much easier.

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

79661397

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

I tried my code in another laptop, it worked flawlesly. There must be something wrong with my work-laptop

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Petri Lahtinen

79661396

Date: 2025-06-11 04:40:06
Score: 0.5
Natty:
Report link

This answer is written in Jun ,2025.

solution for me was to upgrade both compileSdkVersion and targetSdkVersion in build.gradle app level.
to 33

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: صلي علي محمد - Atef Farouk

79661390

Date: 2025-06-11 04:30:03
Score: 5
Natty: 4
Report link

Any luck on this? It seems like a silly thing to be missing if there really is no full screen option

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ryan M

79661387

Date: 2025-06-11 04:28:02
Score: 3
Natty:
Report link

There is no free api for DL and Vehicle Details. For prod we can give details at low cost. if needed let me know.

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

79661382

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

I've just opened their properties and made them 'Hidden' so I don't see them. :)

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

79661378

Date: 2025-06-11 04:15:59
Score: 0.5
Natty:
Report link
loginUsername = input("Cunso: ")
loginPassword = input(" JanganDibuka#08")

data=open('database.txt', 'r')
accounts = data.readlines()

for line in data:
    accounts = line.split(",")
    if (loginUsername == accounts[0] and loginPassword == accounts[1]):
        print("LOGGED IN")
    else:
        print("Login SUCCES")

print(accounts)

How to check the username in text file or not and then ask for the password?
Asked 2 years, 7 months ago
Modified 2 years, 7 months ago
Viewed 3k times
2

loginUsername = input("Enter Username: ")
loginPassword = input("Enter PASSWORD: ")

data=open('database.txt', 'r')
accounts = data.readlines()

for line in data:
    accounts = line.split(",")
    if (loginUsername == accounts[0] and loginPassword == accounts[1]):
        print("LOGGED IN")
    else:
        print("Login FAILED")

print(accounts)
I want to make a text login system, which will ask for the username first. After checking the text file which stored username and password, the system will ask for password. But I don't know how to read the first column (which is username, the structure of the text file is "username, password"). If i use readlines() and split(","). But there is "n" at the end of the password.

pythonjupyter-notebook
Share
Improve this question
Follow
asked Nov 8, 2022 at 12:56
Mike's user avatar
Mike
2111 silver badge22 bronze badges
What is: accounts = data.readlines()? Surely this exhausts the file. – 
quamrana
 CommentedNov 8, 2022 at 13:09
Welcome to stackoverflow Mike. If the answer you received solved your issue, you can mark it as "correct", by clicking on the check mark beside the answer, to toggle it from greyed out to filled in. – 
Andreas Violaris
 CommentedNov 8, 2022 at 21:04 
Add a comment

Report this ad
2 Answers
Sorted by:

Highest score (default)
3

# You should always use CamelCase for class names and snake_case
# for everything else in Python as recommended in PEP8.
username = input("Cunso: ")
password = input("JanganDibuka#08: ")

# You can use a list to store the database's credentials.
credentials = []

# You can use context manager that will automatically
# close the file for you, when you are done with it.
with open("database.txt") as data:
    for line in data:
        line = line.strip("\n")
        credentials.append(line.split(","))

authorized = False

for credential in credentials:
    db_username = credential[0]
    db_password = credential[1]
    if username == db_username and password == db_password:
        authorized = True

if authorized:
    print("Login Succeeded.")
else:
    print("Login Failed.")

mystring = "password\n"
print(mystring.rstrip())

>>> 'password'
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Cunso

79661377

Date: 2025-06-11 04:15:59
Score: 1.5
Natty:
Report link

I had a similar issue but mine DB column definition is int2, so I had to use ::smallint to cast the type.

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

79661373

Date: 2025-06-11 04:11:58
Score: 3.5
Natty:
Report link

enter image description hereI have created a username with a password and still left 3 other "root" users, I really do not want

someone login from outside to my database, so with "root I can delete or modify privileges (how so) to

accomplish this?

I attached a picture.

Get back....

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Gennady G.

79661370

Date: 2025-06-11 04:08:57
Score: 1
Natty:
Report link

Okay, if you want to split a set of N features (F) into two complementary subsets (S1, S2), and you have a complementarity score C(f_i, f_j) between any two features f_i and f_j:

Goal is to Maximize the total complementarity between S1 and S2.
say, Total_Complementarity(S1, S2) = sum(C(f_i, f_j) for f_i in S1 for f_j in S2)

Greedy Algorithm:

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

79661368

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

Your looking at documentation for Basic Display API. Graph API does not allow refresh of long lived tokens, instead you need to create a permanent token via a System User in Business Manager, assigned to your Meta App with the appropriate assets and permissions, and generate a System User access token using an App ID, App Secret, and the system user’s generated token

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ganja-Dalf

79661358

Date: 2025-06-11 03:49:52
Score: 4.5
Natty:
Report link

Solution provided by @Phil in the comment section. Update base config as well as router's basename with my app name, then update Tomcat config as mentioned in this post

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @Phil
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: EcmaScriptIsMyNativeLanguage

79661351

Date: 2025-06-11 03:40:49
Score: 2.5
Natty:
Report link

Just type { ...localStorage } in the devtools to see all values. Its the same to sessionStorage.

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

79661347

Date: 2025-06-11 03:32:47
Score: 1.5
Natty:
Report link

Note that with autoconf+automake, CFLAGS belongs to the end-user, not the package developer or the package system. Your changes belong in AM_CFLAGS, AM_CXXFLAGS, AM_CPPFLAGS, AM_LDFLAGS where the end-user can override them with the non-AM_ variables on the configure command line or in the environment when configure is run. For details, see:

https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html

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

79661337

Date: 2025-06-11 03:19:44
Score: 16
Natty: 7.5
Report link

I have the same problem, do you know how to solve it?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (1.5): how to solve it?
  • RegEx Blacklisted phrase (2.5): do you know how
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Trí Đào Minh

79661334

Date: 2025-06-11 03:17:43
Score: 3
Natty:
Report link

<!DOCTYPE.HTML>

<Html.lang="En">

<head>

<meta charcet="utf.8">

<meta name>

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

79661330

Date: 2025-06-11 03:13:42
Score: 3
Natty:
Report link

In my case, it's because my Avast anti virus. I needed to disable it temporary to make the composer command to work

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Va1iant

79661329

Date: 2025-06-11 03:12:42
Score: 2.5
Natty:
Report link

Problem is solved is remove entire node directory with tailwind.config.js and postcss.config.js and resetup tailwind css from start and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Aniket Ninama

79661321

Date: 2025-06-11 02:58:39
Score: 1.5
Natty:
Report link

I just had this problem using v2.5.0 of the plugin. I believe the cause is actually a JDK bug, see https://bugs.openjdk.org/browse/JDK-8285966 which was resolved by the DUP https://bugs.openjdk.org/browse/JDK-8285445.

I updated to a JDK version with this issue fixed and the plugin file path problem did not happen anymore.

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

79661314

Date: 2025-06-11 02:41:35
Score: 1.5
Natty:
Report link

It's easily done in the XAML...

<TextBox x:Name="textBox" ToolTip="Show some help after one second of hovering" ToolTipService.InitialShowDelay="1000" />

The parameter ToolTipService.InitialShowDelay is in milliseconds. The ToolTipService.ShowDuration specifies how many milliseconds it stays up.

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

79661308

Date: 2025-06-11 02:31:32
Score: 3
Natty:
Report link

Unfortunately, Canva does not currently provide a public API that allows you to open a local image directly into the Canva Editor via code

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

79661304

Date: 2025-06-11 02:27:30
Score: 3
Natty:
Report link

Pint is opinionated and thus don't have a tab option because they don't want people to use tabs instead of spaces.

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

79661300

Date: 2025-06-11 02:20:28
Score: 2.5
Natty:
Report link

I've tried you case with gcc-9.4.0 and gcc-4.8.5 for 100 times, nothing happened. Maybe it's related to you gcc and tool-chains version.

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

79661297

Date: 2025-06-11 02:04:25
Score: 1.5
Natty:
Report link

I know this problem, you can fix it as follows:

  1. Check if there are really 1,000 connections on MySQL, and exclude whether the connection is leaked
  2. Because changing any connection pool parameters will create a new connection pool, it is likely that it has nothing to do with the number of connections.
  3. In summary, it is likely to be timeout. Increase the timeout time and observe it. https://doris.apache.org/docs/lakehouse/database/jdbc
Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Young

79661292

Date: 2025-06-11 01:54:22
Score: 4.5
Natty: 5
Report link

On https://jsonformatter.tech/#oncode has several example to print tree

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

79661289

Date: 2025-06-11 01:53:21
Score: 1.5
Natty:
Report link

I looked into this recently too and found there are a few solid alternatives besides IdentityServer. Keycloak is a strong open-source option from Red Hat that supports SSO, LDAP, and social logins. OpenIddict is another good one if you're staying within the ASP.NET Core ecosystem. For more enterprise-heavy needs, WSO2 Identity Server and ForgeRock are worth a look, though they come with a learning curve. IdentityServer might dominate search results, but it’s not the only game in town.

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

79661286

Date: 2025-06-11 01:46:20
Score: 4.5
Natty:
Report link

I got it to work by installing tomcat-native 1.3.1 instead of 2.0.9:
enter image description here

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

79661267

Date: 2025-06-11 01:02:10
Score: 0.5
Natty:
Report link

Thanks to @Ethan for introducing me to a new way of depicting the AUC.

I have figured out what was wrong in my code and fixed it. I am adding this as an answer for the sake of completion.

The issue was in the following line,


plot Intgrl=0 FILE u 1:(Intgrl+f(x),f(x)) w table

The function should be supplied with actual values $1 and not just the variablex. It should be as,

plot Intgrl=0 FILE u 1:(Intgrl+f($1), f($1)) w table

Following is the generated plot.

enter image description here

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • User mentioned (1): @Ethan
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: Bussller

79661258

Date: 2025-06-11 00:27:03
Score: 3
Natty:
Report link

Since it seems you are not updating a column on the database records to mark them as processed, your reader should have the "saveState" property set to "true".

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

79661253

Date: 2025-06-11 00:16:00
Score: 1
Natty:
Report link

One thing that no one mentioned was the Automatic Variables. Commands like $env or $executioncontext will be automatically (and the fact that they are variables, hence the name) recognized by the terminal

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

79661251

Date: 2025-06-11 00:10:59
Score: 1.5
Natty:
Report link

Run php artisan storage:link in your project root to create the storage link. Make sure your folder and URL use the same case (PlantHealthy). Check that your image file actually exists in storage/app/public/PlantHealthy. Then your image link will work.

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

79661250

Date: 2025-06-11 00:10:59
Score: 0.5
Natty:
Report link

I think this is an undocumented bug on keycloak side and affects developers using flutter app auth and keycloak. Someone needs to log it in github and add it to their backlog which consists of nearly 2000 bug tickets lol.

We have gotten around this by first initiating the delete action, then ignore all responses from keycloak and try to refresh user's token:

Reasons:
  • No code block (0.5):
Posted by: Baz Guvenkaya

79661245

Date: 2025-06-11 00:06:57
Score: 0.5
Natty:
Report link

If you get this error while running ios, you probably didn't rebuild ios.

Documentation of expo-localization states:

Run npx pod-install after installing the npm package.

Or you can run `npm run ios`. This should resolve the issue

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

79661235

Date: 2025-06-10 23:46:52
Score: 5.5
Natty:
Report link

Update, I have beemn able to install the plugin, seems to be that my OBS app was not installed properly since it was not located in applications folder, now that I have successfully installed, I don't see the plugin available in trhe "tools" menu, can somebody point me in the right direction since I dont have a clue about what can be happening.

Thanks in advance.

O.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (3): Thanks in advance
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Oscar Silva

79661232

Date: 2025-06-10 23:40:51
Score: 1
Natty:
Report link

I finally found that I can achieve that with disableUnderline like this:

    slotProps={{
        textField: {
            InputProps: { disableUnderline: true },
        },
    }}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: TurboAza

79661229

Date: 2025-06-10 23:33:49
Score: 1
Natty:
Report link

As far as I can tell, the linked page is inaccurate and Visual Studio does not actually query the compiler set by CMake for anything. When setting the intellisenseMode as described in the docs, that tells VS to use a proto-compiler built into Intellisense as the compiler for showing intellisense info.

Some evidence for this is when changing the intellisense mode to other values magically shows values for compilers that exist nowhere on my machine.

"intelliSenseMode": "linux-gcc-x64" shows this: linux-gcc-x64 showing VERSION as 5.4.1 20160413

"intelliSenseMode": "linux-gcc-x86" shows this: linux-gcc-x86 showing VERSION as "4.2.1 Compatible Clang 6.0"

So in conclusion, this is just not possible. Microsoft, please stop lying about what your products actually do.

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

79661228

Date: 2025-06-10 23:32:49
Score: 3.5
Natty:
Report link

([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\.([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])$

You need to allow 206 to 209 ...

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

79661221

Date: 2025-06-10 23:26:47
Score: 0.5
Natty:
Report link

Since the default order is Integer.MAX_VALUE / 2 (see org.junit.jupiter.api.Order and org.junit.jupiter.api.MethodOrderer.OrderAnnotation.getOrder(MethodDescriptor)).

We can then simply do something like @Order(Integer.MAX_VALUE), @Order(Integer.MAX_VALUE - 1), ... for the methods we want to execute last.

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

79661218

Date: 2025-06-10 23:23:46
Score: 1
Natty:
Report link
SELECT
  id,
  key,
  TO_JSON_STRING(json_obj[key]) AS value
FROM source,
UNNEST(JSON_KEYS(PARSE_JSON(data))) AS key,
UNNEST([PARSE_JSON(data)]) AS json_obj

Data being a stringified json object

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

79661217

Date: 2025-06-10 23:16:45
Score: 1
Natty:
Report link

It is now June 2025 and this problem persists. The Polly section of the AWS PHP SDK appears to have been last updated in June 2016. The PHP SDK is broken for the DescribeVoices command (it does not include the SupportedEngines field in the result) and the SynthesizeSpeech command (it drops or ignores the Engine parameter).

I had to fall back to invoking the AWSCLI using Exec(), which does work as expected.

I am using PHP v8.2 and installed the AWS PHP SDK yesterday. (June 9 2025).

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

79661216

Date: 2025-06-10 23:16:45
Score: 2.5
Natty:
Report link

django-enum has this on their roadmap: https://django-enum.readthedocs.io/en/stable/#:~:text=(TODO)%20Support%20native%20database%20enumeration%20column%20types%20when%20available.

https://github.com/django-commons/django-enum/issues/19

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

79661215

Date: 2025-06-10 23:12:44
Score: 1.5
Natty:
Report link

Django does not natively support db pooling, you can look into tools like: https://github.com/jneight/django-db-geventpool

On the other hand, what Django support Persistent connections with CONN_MAX_AGE attribute.

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

79661201

Date: 2025-06-10 22:53:38
Score: 1
Natty:
Report link

I solved it after I corrected the name of the color in the AssetCatalog. There was slight different on the spelling of the color name.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Manal Mohamed

79661197

Date: 2025-06-10 22:46:37
Score: 3.5
Natty:
Report link

you can check the NuGet package DependencyInjectionToolkit out if you need to use factory easily

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

79661181

Date: 2025-06-10 22:23:32
Score: 0.5
Natty:
Report link
NGINX closes long-lived HTTP/2 streams as your 4:30-5:10 minute failure window is slightly above the default 3-minute [http2\_idle\_timeout](https://nginx.org/en/docs/http/ngx_http_v2_module.html#http2_idle_timeout). This directive is also obsolete since version 1.19.7, so ensure you are using [keepalive\_timeout](https://nginx.org/en/docs/http/ngx_http_core_module.html#keepalive_timeout) directive instead. Try increasing the values set for your `proxy\_read\_timeout`, `proxy\_send\_timeout,` and `keepalive\_timeout` to keep your HTTP/2 connections alive and idle longer.

Forcing curl to use HTTP/1.1 works because HTTP/1.1 handles long-lived streaming connections better in NGINX, than HTTP/2. So another workaround you can try is disabling HTTP/2 proxying upstream, and use HTTP/1.1 instead, while keeping HTTP/2 only at the client side. See related post.

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

79661176

Date: 2025-06-10 22:13:29
Score: 2
Natty:
Report link

The accepted answer was correct, but that method of adding access is now deprecated.

You should now change the "Authentication Mode" to "EKS API and ConfigMap", then follow this page.

The link in the accepted answer is also broken, this page (deprecated) now describes that workflow.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: feeds-snails

79661175

Date: 2025-06-10 22:13:28
Score: 4.5
Natty: 4.5
Report link

You can find a copy here:
https://seclists.org/tcpdump/2013/q2/127
(or on archive.org)

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

79661174

Date: 2025-06-10 22:12:28
Score: 1.5
Natty:
Report link

Wow see if you can spot the typo here.
I am able to pass data between these pipelines with intersink/src but my intersink was missing it's closing quote so they weren't ever linked.
Just fixed the typo and have data flowing - seeing a lot of latency but that's a different issue. Will leave this up in case anyone else has a similar stack trace and it might help them.

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

79661163

Date: 2025-06-10 21:57:24
Score: 1
Natty:
Report link

the best choice is to use awaitjs/express

import { addAsync } from "@awaitjs/express"

const app = addAsync(express())

app.postAsync("", async (req, res) => {
    // rest of your code

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

79661153

Date: 2025-06-10 21:48:21
Score: 3.5
Natty:
Report link

Found solution! All I had to do run "gulp trust-dev-cert" from command prompt ! Everything worked after that!

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

79661151

Date: 2025-06-10 21:46:20
Score: 4
Natty: 4
Report link

I need some help on this one too. Trying to work on large file issues seems to hit the same problem: how to manage the internal buffering. Thanks for your references to UnmanagedMemoryStream; but MSFT still doesn't let you easily solve that core issue.

FileStream's loading options will reveal this problem very fast. When loading a large file, you'll be forced into MemoryMappedFile, or you won't have a solution at all (!!!)

Reading a 90MB text file loads approx 300MB of (managed) memory; and locks my rendering thread while I have a background worker trying to read these 90MB sequentially. It would otherwise be that you don't need to do that pre-loading. You may just be able to read each line with some native call. MSFT doesn't like this because they've tried too hard to manage everything on their backend - now with Task (TPL) thread support. So, there's "too much overhead"; but maybe not in each situation if we already know how to manage our access to large files, or handle threading. We can space out native calls, even, if you'd let us have access to the native file stream.

My current implementation uses and UnmanagedMemoryStream - which wants a SafeBuffer, or native pointer. However, there is no (native) call that I've found to ask for a portion of the file - nor is there a simple call to get data from a SafeFileHandle. So, I'm stuck parsing MSFT's FileStream code trying to figure out when it's safe to do.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I need some help
  • RegEx Blacklisted phrase (1.5): I'm stuck
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ryan Chicago

79661145

Date: 2025-06-10 21:43:19
Score: 1
Natty:
Report link

This also works:

cat hostFileName | crictl exec -i CONTAINER_ID bash -c "cat<&0 > /somewhere/containerFileName"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: EdwardFB

79661138

Date: 2025-06-10 21:28:16
Score: 3
Natty:
Report link

You need use the access

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

79661134

Date: 2025-06-10 21:23:14
Score: 1
Natty:
Report link

I am adding content previously remove from ProfDFrancis' post which is useful for context of the question:


Update: Summary from answers

There are excellent answers below. The key is to realize that when you write a Cypress test like this:

it("...",()=>{
   callFunctionA()
   b += 1;
   cy.log("Hello from line C")
   d = 10;
   cy.get("#input-box-e")
   console.log("f")
})

... what actually happens is:

   callFunctionA()
   b += 1;
   Add to list to do LATER: cy.log("Hello from line C")
   d = 10;
   Add to list to do LATER: cy.get("#input-box-e")
   console.log("f")

Why? I think it is because Cypress was designed specifically to interact with web pages. The overwhelming priority is therefore to queue up the cy.get() commands, and retry them until they time-out, etc. That is so important that the makers of Cypress are willing (and indeed forced) to subvert our naive expectations of what an apparently synchronous list of code statements mean.

Only by pushing the cy.get commands into a queue where they can be tried and retried, can the web page engagement work so well.

I assume cy.log was added into the set of things that get added to that queue, simply because it is part of cy..

Explanation of the behaviour I saw

I think what was happening in my cases above is that the expect is, effectively, plain Javascript (not a thing dangling off cy.), and so it was executed first, while the cy.log was pushed into a queue to do later.

When the expect was successful, the cy.log eventually printed.

When the expect failed, that aborted the queue of cy. commands for that test, so the cy.log never printed.

Solution

So yes, if we want to log output immediately and not conditionally on the test passing, we should use console.log not cy.log.

Or we can delay the testing to occur inside the cy. queue, using cy.then(), as shown by @Fody.

Reasons:
  • Blacklisted phrase (0.5): Why?
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Fody
  • Low reputation (0.5):
Posted by: Nichola Walker

79661133

Date: 2025-06-10 21:20:13
Score: 5.5
Natty: 6.5
Report link

Does add_SMD cause an error when N in the 2 comparison groups is very different, e.g. group1 (N = 332), group2 (N = 24188)??

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Russia

79661126

Date: 2025-06-10 21:16:12
Score: 0.5
Natty:
Report link

OK! I believe this error means "The leaderboard API has an unspecified problem with your app's signing certificate, and is going to ignore your request".

If you've been vague or disorganised with your Android signing keys and confused by this error, now is the time to fix it :)

I had *three* different signing keys in place: the Google Store key, my debug key and one other key that I clearly lost track of. Only one of them was present under the credentials in the Google Play Console.

I added the missing two keys under Grow Users → Play Games services → Setup and Management → Configuration → Credentials, one for each key:

Screenshot of the Google Play Console as described above

If you've not created each key in your corresponding Google Cloud project, you'll need to find the Create OAuth Client from the Add Credential screen, and add a new OAuth client with the SHA1 key for each missing key.

Once I'd fixed this server-side, the game started recording scores correctly.

I don't yet understand why it was OK with one account posting scores and not another. But making sure the Play Games services credentials reference the right OAuth client fixed it.

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

79661125

Date: 2025-06-10 21:16:12
Score: 3.5
Natty:
Report link

<video width="720" height="720" controls autoplay loop muted> <source src="https://storage.googleapis.com/generative-ai-assets/382be57c-f9e4-4fe1-96fc-94aa0f9c21b2/Op%C3%A7%C3%A3o%203%20-%20Foco.mp4" type="video/mp4"> Seu navegador não suporta a tag de vídeo. </video>

Reasons:
  • Blacklisted phrase (1): não
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miguel Freitas

79661097

Date: 2025-06-10 20:31:01
Score: 3
Natty:
Report link

The answer was simple in the end. The data folder cannot be under Program Files on a windows server. This folder is protected with extra security that blocks access.

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

79661095

Date: 2025-06-10 20:30:01
Score: 4
Natty: 3.5
Report link

Having this same issue 6 years later.

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

79661082

Date: 2025-06-10 20:17:57
Score: 3
Natty:
Report link

SOLVED: Solution is provided here.

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

79661073

Date: 2025-06-10 20:09:54
Score: 4
Natty:
Report link

Microsoft fixed the VB6 Ctrl+Break bug on KB5060842 update (patch tuesday - june 2025).

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cléber Oliveira

79661070

Date: 2025-06-10 20:07:54
Score: 3
Natty:
Report link

It seems that a workaround for this issue is to make everything else on the page grayscale. I don't know why this is connected to image encoding on the page but it is.

To do grayscale conversion, follow this UniPDF example
https://github.com/unidoc/unipdf-examples/blob/29a15f10d20fa0fbdc256d6382e42812a265494b/advanced/pdf_grayscale_transform.go#L122

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

79661062

Date: 2025-06-10 20:00:51
Score: 2
Natty:
Report link

I set the user as email verified. I assigned a password in the credentials section and set it as temporary off. When I realized it wasn't working, I filled in the email, firstname and lastname sections and it was fixed.

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

79661051

Date: 2025-06-10 19:44:48
Score: 2.5
Natty:
Report link

When defining a potential function, try to make it proportional to the number of small cost operations that come before each large cost operation. For example, if you are finding the amortized cost of a dynamic array, your small operation is adding an element to the array. Thus, the potential function will be some constant times the number of elements in the array. You can figure out the constant later. Keep in mind that the potential function must capture some state of your data structure.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: emerald

79661042

Date: 2025-06-10 19:37:46
Score: 2.5
Natty:
Report link

I know it's been a bit since you've asked this question, and it'll likely change again in time, but there's now a color picker when you click the swatch next to a color in the inspector. And if you hold the shift key while you click, it'll cycle between formats for the color (RGB, hex, etc.).

Reasons:
  • Blacklisted phrase (1): I know it's been
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: Justin Russell

79661036

Date: 2025-06-10 19:30:39
Score: 6.5 🚩
Natty:
Report link

I know this is an old post but did you ever resolve this issue? I'm encountering the same issue with a specific endpoint when a get request is made. I was able to determine the request is never being sent so I think it's related to the UnityWebRequest class specifically. Here's my post in case anyone is interested:

https://discussions.unity.com/t/webgl-unitywebrequest-returns-500-unknown-error-when-calling-internal-api-editor-works-fine/1639714

Reasons:
  • RegEx Blacklisted phrase (3): did you ever resolve this
  • RegEx Blacklisted phrase (1.5): resolve this issue?
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Joshua Salcido

79661024

Date: 2025-06-10 19:18:36
Score: 0.5
Natty:
Report link

Azure Backup gives you a simple, reliable, and cost-effective way to protect your VMs and recover quickly if something goes wrong or corrupted, a solid DR solution to keep you covered until you're ready to move to Azure Functions.

To enable Azure Backup for an Azure virtual machine, open the Azure virtual machine, then navigate to the 'Backups' section and select it.

enter image description here

You can select an existing Recovery Services vault or create a new Recovery Services vault. enter image description here

You can also create the policy based on your requirements, such as backup schedule, instant restore, and retention of daily backup points. In the backup policy, there are two types of policies the Enhanced policy, which allows you to take up to 4 backups per day and the Standard policy which supports only one backup per day based on snapshot frequency. Once selected, click on Enable Policy.

enter image description here

Reference: About Azure VM backup - Azure Backup | Microsoft Learn

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

79661023

Date: 2025-06-10 19:17:35
Score: 3
Natty:
Report link

The problem disappeared since then. I suspect the "solution" was to install the newer version of Rider and clean up the residuals from the older version. I cannot guarantee this, obviously.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Developer

79661019

Date: 2025-06-10 19:12:34
Score: 1
Natty:
Report link

If I understood correctly, you only need this function that communicates with the server not to block the rest of the code? If so, using aiohttp (async requests) will solve this.

BYW asyncio is meant to replace multithreading, as it allows running io-bound tasks without blocking the system, which is exactly what you need.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Yuval Mantin

79661014

Date: 2025-06-10 19:07:32
Score: 2.5
Natty:
Report link

I've got a problem with input type="number".

"00" is not a number for me and I would like prevent this with pattern.

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

79661007

Date: 2025-06-10 19:01:31
Score: 3
Natty:
Report link

Try to use fly io, it's a little bit more friendly than vercel for it.

https://fly.io/

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

79661003

Date: 2025-06-10 19:00:31
Score: 1
Natty:
Report link

Maybe it is the grib engine problem? When I open like this, it has data

ds = xr.open_dataset('gfs.t18z.pgrb2.0p25.f005', engine='cfgrib', filter_by_keys={'typeOfLevel': 'surface'})
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: kakk11

79661000

Date: 2025-06-10 18:58:30
Score: 3.5
Natty:
Report link

I have encountered an issue I don't understand how to solve. When i change instance domain to HTTP:, coolify doesn't open: no sever available, 404, etc. I'm not sure what's wrong as in the CF tunnel I added *.domain.com HTTP:80 and coolify.domain.com:8000

Reasons:
  • Blacklisted phrase (1): how to solve
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nibelur

79660995

Date: 2025-06-10 18:55:29
Score: 2
Natty:
Report link

@ThomasKläger I'm answering here to answer with a screenshot.

It is indeed strange! Your screenshots clearly show that the option is present in the 2025.1.2. I'm quite non-convinced to believe that I don't see this option in my setting (screenshot below) just because it is 2025.1.1. (Doesn't make sense a minor version upgrade would add this feature which was there for decades!)

enter image description here

Reasons:
  • No code block (0.5):
  • User mentioned (1): @ThomasKläger
  • Low reputation (0.5):
Posted by: MaduKan

79660987

Date: 2025-06-10 18:44:27
Score: 3
Natty:
Report link

Besides the Azure WebApp, there are other interesting things like Lucky Jet. You can read more about the game on the website https://lucky-jety.com/

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

79660981

Date: 2025-06-10 18:34:24
Score: 2
Natty:
Report link

You could set up a shared mailbox under an alternate email address. This would need to a proper inbox rather than just adding an alias to your existing inbox. Alternatively, if you want to send calendar invites from an alias for official announcements without having to set up a new inbox you can send emails with ics files through smtp from your preferred alternate email address or use Salepager which lets you send Outlook invites from an alias or alternate email address.

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

79660976

Date: 2025-06-10 18:30:22
Score: 1.5
Natty:
Report link

If I understand correctly, you'd probably get what you want (a titleBar-less window) by changing the BaseWindowConstructorOptions preferences to this:

mainWindow = new BrowserWindow({
  height: 600,
  width: 1000,
  titleBarStyle: "hidden", // this hides the title bar
  webPreferences: {
    preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
  },
});

There's more options here if you'd like to check them out under "titleBarStyle": https://www.electronjs.org/docs/latest/api/structures/base-window-options

Best, Peter.

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

79660963

Date: 2025-06-10 18:18:19
Score: 4.5
Natty: 4
Report link

file => reset layout, your welcome

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

79660962

Date: 2025-06-10 18:17:18
Score: 4.5
Natty: 4
Report link

Hoy 10 de junio de 2025 me aparecio ese error sin haber cambiado algo del proyecto, lo que hice fue actualizar la versión la springboot de la 3.4.5 a la 3.5.0 y se solucionó.

El error era:
org.hibernate.bytecode.internal.bytebuddy.BytecodeProviderImpl Unable to get public no-arg constructor

Reasons:
  • Blacklisted phrase (2.5): solucion
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Polar

79660961

Date: 2025-06-10 18:17:18
Score: 2.5
Natty:
Report link

Just a small suggestion. Would you like to try writing it like this? It might help.

export const useRoomStore = defineStore('roomStore', () => {
  const body = ref<IRoomBody>(ROOM_BODY_DEFAULT)

  const { data, execute } = useFetch('/api/rooms', {
    key: 'rooms',
    method: 'post',
    body,
    immediate: false,
    onRequest ({ options }) {
      let bearer = 'Bearer '
      const token = localStorage.getItem('access_token')

      if (!token) {
        console.log('token ERROR GO TO LOGIN', token)
      } else {
        bearer = bearer + token
      }

      const headers = new Headers(options.headers)
      headers.set('Content-Type', 'application/json')
      headers.set('Authorization', bearer)

      options.headers = headers
    },
  })

  const fetch = () => execute()

  return {
    body,
    data,
    fetch,
  }
})

And if you’re interested in learning more about how to use $fetch, useFetch, and useAsyncData, this video might be helpful.

https://www.youtube.com/watch?v=njsGVmcWviY

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Alex Liu

79660960

Date: 2025-06-10 18:15:17
Score: 3.5
Natty:
Report link

Yes, you would use a SELECT INTO statement with the BULK COLLECT clause.

https://www.ibm.com/docs/en/db2/11.5.x?topic=plsql-bulk-collect-into-clause

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

79660947

Date: 2025-06-10 18:06:15
Score: 3
Natty:
Report link

For everyone that didnt find a solution the quickest is to uninstall an re-install docker desktop

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

79660936

Date: 2025-06-10 18:02:13
Score: 1
Natty:
Report link

Remove if below line is existing in manifest.xml file

 <uses-permission android:name="com.android.vending.BILLING" />
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jayesh Dankhara

79660921

Date: 2025-06-10 17:50:09
Score: 1.5
Natty:
Report link

As of June 2025, the latest gdb version provided by Homebrew is 16.3, running macOS Sonoma 14.7.5. When I try to debug an executable I still see the same behavior (just hangs after the new thread message), and when I kill the process I get the warning:

warning: unhandled dyld version (17)

The source code for 16.3 (solib-darwin.c) still has a max DYLD version of 15.

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

79660912

Date: 2025-06-10 17:41:02
Score: 8.5 🚩
Natty:
Report link

I have the same problem when importing HuggingFaceEmmbeddings as well as OllamaEmbeddings:

ImportError: cannot import name 'convert_to_openai_image_block' from 'langchain_core.messages' (E:\U-DEVTOOLS\Python-3.11.9\Lib\site-packages\langchain_core\messages\__init__.py)

Which is rised in:

File E:\U-DEVTOOLS\Python-3.11.9\Lib\site-packages\langchain_core\language_models\chat_models.py:50
---> 50 from langchain_core.messages import (
     51     AIMessage,
     52     AnyMessage,
     53     BaseMessage,
     54     BaseMessageChunk,
     55     HumanMessage,
     56     convert_to_messages,
     57     convert_to_openai_image_block,
     58     is_data_content_block,
     59     message_chunk_to_message,
     60 )

Looking at the source code of this class (https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/language_models/chat_models.py:50), it imports convert_to_openai_image_block from the langchain_core.Messages class:

from langchain_core.messages import (
    [...]
    convert_to_messages,
    convert_to_openai_image_block,
    is_data_content_block,
    message_chunk_to_message,
)

And https://github.com/langchain-ai/langchain/blob/master/libs/core/langchain_core/messages/\__init_\_.py (:35) import convert_to_openai_image_block from content_blocks subclass and export it again :

    from langchain_core.messages.content_blocks import (
        convert_to_openai_data_block,
        convert_to_openai_image_block,
        is_data_content_block,
    )

I also discovered another Messages.py in \Python-3.11.9\Lib\site-packages\langchain\schema, also defining the same class, but exporting only a part of the methods. This looks like an interface.

When I try to load the OllamaEmbeddings interactively in my notebook, I have the same error. And when I remove the convert_to_openai_image_block function from the import statement:

from langchain_core.messages import AIMessage, BaseMessage, convert_to_messages
print(convert_to_messages)
from langchain_core import messages
print(messages)

<function convert_to_messages at 0x00000169A8185620>
<module 'langchain_core.messages' from 'E:\\U-DEVTOOLS\\Python-3.11.9\\Lib\\site-packages\\langchain_core\\messages\\__init__.py'>

Can someone explain what's going on ?

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): Can someone explain what
  • RegEx Blacklisted phrase (1): I have the same error
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have the same problem
  • Me too answer (0): I have the same error
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: pmo78

79660909

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

I just read a bit of the Gesture article and came across hitSlop all I did was add control from above and it happened by itself

const panGesture = Gesture.Pan()
        .hitSlop({ top: 0, bottom: -height + 50 })
        ...
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cheescakesss3

79660903

Date: 2025-06-10 17:34:00
Score: 3.5
Natty:
Report link

https://xkcd.com/979/
What did you see...... I'm running into the same issue...

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Starts with a question (0.5): What did you
  • Low reputation (1):
Posted by: Saul Torres

79660898

Date: 2025-06-10 17:31:59
Score: 3
Natty:
Report link

Thank you for bringing this issue to our attention.

The most effective way to resolve it is by contacting our support team directly.

For the quickest assistance, please click the link below to access our dedicated support line:

Live Support ▶️

Note: Click the live chat icon in the bottom corner of the page to start a conversation.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): the link below
  • No code block (0.5):
  • Low reputation (1):
Posted by: Steven

79660893

Date: 2025-06-10 17:28:59
Score: 3
Natty:
Report link

That is because vercel issues a certificate for your deployment and you are now running on https and you are probably no longer working on http://localhost:4000 so you needto add to your cors policy

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

79660888

Date: 2025-06-10 17:22:57
Score: 0.5
Natty:
Report link
  1. On the left pane create Dynamic Action On Page Load to disable your Save Button:
    On Page Load - create Dynamic Action

  2. Set Action properties on the right pane:
    Set Action properties

  3. On your Interactive Grid's CHECKBOX column create another dynamic action to enable previously disabled Save button when CHECKBOX column is changed:
    enter image description here

Dynamic Action properties:
Dynamic Action properties

True Action properties:
Action -> Enable True Action properties

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: d r

79660884

Date: 2025-06-10 17:19:55
Score: 1
Natty:
Report link
SELECT REGEXP_REPLACE(
    LOWER(TRIM('Isabelle Cándido de Paula')), '(\b\w)(\w''*)', x -> upper(x[1]) || lower(x[2]))

Results in:
Isabelle cándido De Paula

Must be:
Isabelle Cándido De Paula
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jorge Felix

79660882

Date: 2025-06-10 17:17:55
Score: 1
Natty:
Report link
[
  {
    "operation": "shift",
    "spec": {
      "operation": {
        "deleted": {
          "#true": "&1"
        }
      }
    }
  },
  {
    "operation": "default",
    "spec": {}
  }
]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shashank Nadikatla

79660869

Date: 2025-06-10 17:08:52
Score: 2
Natty:
Report link

I just published a Swift package for developers who need to create CMS (Cryptographic Message Syntax) signatures in iOS/macOS apps using OpenSSL under the hood.
CMS signing is widely used in secure email (S/MIME), digital document signing (PDF), and many enterprise-level protocols — and yet it’s rarely supported out of the box in Swift.
With SwiftCMSSigner, you can now generate detached, base64-encoded CMS signatures using a simple, modular Swift API. No external tools. No hacks. Just clean integration via Swift Package Manager.

Check it out on GitHub:
https://github.com/smsdm4/SwiftCMSSigner

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mojtaba Mirzadeh