79671635

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

do you know how to properly override a Java varargs method in Scala so that it's still callable with variable arguments from both Scala and Java? I figured out that in Scala, you have to override the method using an Array (since that's how varargs work under the hood in Java), and then if you still want to call it using varargs from Scala, you can add a separate method that takes a String* and just forwards to the array version. That way both sides work properly.

Reasons:
  • Whitelisted phrase (-2): I figured out
  • RegEx Blacklisted phrase (2.5): do you know how
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Adithya R

79671629

Date: 2025-06-19 06:46:03
Score: 3
Natty:
Report link

"Django Rest Framework - Build powerful API with Python & Django" on Udemy by Jose Salvatierra :>> best beginner-friendly course to deeply understand DRF with practical projects.

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

79671618

Date: 2025-06-19 06:36:01
Score: 2.5
Natty:
Report link

It may work for you?

library(dplyr)
df2 <- df |> group_by(x) |>
  summarise(y = max(y))

ggplot(df,aes(x,y), col = x) + 
  geom_point() +
  geom_point(data = df2,
             pch = 21, fill = "red", color = "black") +
  geom_line(data = specials, aes(x = positions, y = maxes))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: MetehanGungor

79671616

Date: 2025-06-19 06:34:00
Score: 2
Natty:
Report link

I opted to write a work-around by calling a RestClient (or net/http) post to an internal route (so that it goes to web proc and not worker proc), and this action will call the ActionCable broadcast. It's a known issue that's been around for so long, but I don't think there's actual "real solution". Might be wrong, but would be happy if anyone can provide a different solution.

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

79671613

Date: 2025-06-19 06:32:00
Score: 3.5
Natty:
Report link

You can look at this one. Change proxy pass settings, especially if you're using Octane.

https://github.com/filamentphp/filament/discussions/9243#discussioncomment-7351604

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

79671606

Date: 2025-06-19 06:15:56
Score: 1
Natty:
Report link
  1. Open the file .vscode/launch.json
    (VS Code creates this automatically when you first run your C++ code with the debugger.)

  2. Find the line that says: "console": "internalConsole"

  3. Change it to: "console": "integratedTerminal"

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

79671605

Date: 2025-06-19 06:14:56
Score: 1.5
Natty:
Report link

Consider this: Why should it be a redefinition? One must be able to define types that can be processed by functions in multiple translation units (e.g. .c files), true? typedef is a means to do just that. Don't fight it. :-) ...

By your same logic, then why isn't your function prototype a redefinition? Because it not a definition of an instance, it's a description. The typedef is also a description and not a definition.

For example, the move function itself (not the prototype) is a definition, and the compiler will generate a code block in the code segment for it. But the compiler won't generate any data in a data segment or (for local declaration) create a data block on the stack for a typedef alone.

If you duplicate the typedef or the prototype in the same translation unit (e.g. dup in the same .h or in the .h and .c as you tested for the typedef) that's a name/symbol redefinition error but not a redefinition of a data block or code block (i.e. instance).

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

79671604

Date: 2025-06-19 06:13:55
Score: 3
Natty:
Report link

Compile the code on terminal and run the executable.

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

79671603

Date: 2025-06-19 06:11:54
Score: 2
Natty:
Report link

As people have already pointed out, the program may enter erroneous state if the printf fails and returns a negative value not equal to EOF.

In your code, printf is not failing so, you aren't able to notice the difference.

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

79671602

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

Use std::print instead of DebugOutput

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

79671601

Date: 2025-06-19 06:10:54
Score: 2
Natty:
Report link

PS

The problem was in the nginx config at the end, after adding instruction all resolved

try_files $uri /index.html;
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user30835942

79671600

Date: 2025-06-19 06:09:54
Score: 3
Natty:
Report link

FYI, I fount it is much easier, if you install a linux vm when you find wsl didn't have s

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

79671596

Date: 2025-06-19 06:05:53
Score: 2.5
Natty:
Report link

Have a look at PasteMarkdown, it's a Word macro that does paste the markdown contents of the clipboard in word by formatting it to render properly. It has limitations, but overall covers most needs.

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

79671594

Date: 2025-06-19 06:02:52
Score: 3
Natty:
Report link

I came across a helpful article that explains how to configure a static external IP for Cloud Build using a proxy server: Configuring Cloud Build Static External IP Addresses. Hope this helps! Cheers.

Reasons:
  • Blacklisted phrase (1): Cheers
  • Whitelisted phrase (-1): Hope this helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: abeciaj

79671590

Date: 2025-06-19 05:58:51
Score: 3.5
Natty:
Report link

I encountered a similar issue lately. The reverse proxy caused it.

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

79671588

Date: 2025-06-19 05:57:51
Score: 2
Natty:
Report link

This is a bug which was fixed with QZ Tray 2.2.5.

https://github.com/qzind/tray/issues/1305

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

79671586

Date: 2025-06-19 05:54:50
Score: 0.5
Natty:
Report link

This is a common issue when using hierarchical iterations in Azure DevOps, particularly in SAFe-style setups. By default, Azure DevOps Boards and Sprints views treat each iteration as a valid candidate for the current sprint — including parent nodes like your "PI 5", even if they are not meant to be directly used as sprints.

Azure DevOps highlights PI 5 instead of IT 5.4 in the Sprint view. This is because Azure DevOps treats any iteration with dates as a valid sprint, and does not automatically prefer leaf-level (child) iterations.

To fix this behavior, you can stop assigning date ranges to parent iterations (like PI 5). Azure DevOps assumes any iteration with a date range is a sprint. If you remove dates from parent iterations, Azure DevOps will skip them when determining the current sprint.

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

79671585

Date: 2025-06-19 05:52:50
Score: 3
Natty:
Report link

To reveal a view with horizontal animation, animate its position from left to right using a slide or transform effect—start off-screen (left) and move into view.

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

79671580

Date: 2025-06-19 05:48:48
Score: 1
Natty:
Report link

This Behavior is cuased by Vaadin's heartbeat mechanism. By default Vaddin periodically send heartbeat requests from the client to the server to keep the session alive. When ou are using spring Session JDBC with a very short timeout 60 seconds and the heartbeat interval is longer than the session timeout, the session expire before the next heartbeat, causing the client to reload.

UI.getCurrent().setPollInterval(10000);

this sets the polling interval, not the heartbeat interval. Heartbeat is a separate mechanism.

Option 1: Increase Session Timeout

Set a longer session timeout (e.g., 5 or 10 minutes):

@EnableJdbcHttpSession(maxInactiveIntervalInSeconds = 300) // 5 minutes

server.servlet.session.timeout=5m

This gives Vaadin enough time to send heartbeats or user activity to extend the session

or other option in application.properties

vaadin.heartbeatInterval=30

or another option

handle expired sessions gracefully, you can add @WebMvcConfigurer to redirect to a login page or any error page when the session expires instead of allowing Vaadin to loop.

Also in application.properties

server.error.whitelabel.enabled=false

server.error.path=/login

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • User mentioned (1): @WebMvcConfigurer
  • Low reputation (0.5):
Posted by: Muhammad Maroof

79671574

Date: 2025-06-19 05:41:46
Score: 0.5
Natty:
Report link

For type definition, you must consider each ".c" file as autonomous :

  1. (structs.c + structs.h) -> has only one definition of Point. It produces structs.o
  2. (main.c + structs.h) -> has only one definition of Point. It produces main.o

If you manually add a definition of Point directly in main.c, you'll have 2 definition of Point in step 2, which leads to the expected error.

Type definition are not kept in ".o" files, so there's no problem of duplicate definition at linking stage.

Reasons:
  • No code block (0.5):
Posted by: Joël Hecht

79671567

Date: 2025-06-19 05:34:44
Score: 1
Natty:
Report link

I had this issue as well, even if your app complies to the requirement, the error may still be visible because of previous versions.

You should contact Google Support to make sure your app complies to targetSDK 33.

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

79671564

Date: 2025-06-19 05:32:44
Score: 1.5
Natty:
Report link

For starter, make sure the port number that (process.env.PORT) is returning, is an integer not a string. So, you can try Value as in this format:

parseInt(process.env.PORT, 10); 
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Raihan Raphy

79671556

Date: 2025-06-19 05:27:42
Score: 4
Natty:
Report link

Don't know why, but leaving FootPage blank and moving any information to "Rodapé do Relatório" (Don't know how it is in english version). That solve the problem.

Like this:
enter image description here

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

79671554

Date: 2025-06-19 05:24:41
Score: 0.5
Natty:
Report link

The problem in my case was that i deleted the registry key HKEY_CURRENT_USER\SOFTWARE\Embarcadero\BDS\23.0\Library\Win32\Search Path . When i restored it with the original value $(BDSLIB)\$(Platform)\release;$(BDSUSERDIR)\Imports;$(BDS)\Imports;$(BDSCOMMONDIR)\Dcp;$(BDS)\include the project compiled fine again.

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

79671551

Date: 2025-06-19 05:19:40
Score: 0.5
Natty:
Report link

I ran into this using variable fonts with @fontsource in combination with react-router v7 (framework) / /Vite

For me it worked to import the fonts in the root.tsx like this:

import '@fontsource-variable/lora/index';
Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @fontsource
  • Low reputation (0.5):
Posted by: wenzf

79671543

Date: 2025-06-19 05:05:37
Score: 0.5
Natty:
Report link

For anyone who lands here, a quick note:
I struggled with this issue too, and the fix turned out to be very simple:

Upgrade your Node.js version.
Starting in Node.js v17, localhost is resolved over IPv6 by default.
which causes this problem in all early v17–v23 releases.

In the latest Node.js releases, they’ve added logic to fall back to IPv4 if an IPv6 request fails. Installing the newest Node.js version resolves the issue.

I verified it on these versions:

17.2: issue occurred → upgraded to 17.9, issue resolved
18.11: issue occurred → upgraded to 18.20, issue resolved
23.12: issue occurred → upgraded to 23.16, issue resolved

If you can’t install every Node.js version, you can also work around it by:

1. Using the IPv4 address (127.0.0.1) instead of 'localhost'.

2. Adding this flag to your npm script:

--dns-result-order=ipv4first

2.1 For example, in my Next.js project’s package.json:

{
"scripts": {
"dev": "cross-env NODE_OPTIONS=\"--dns-result-order=ipv4first\" next dev --port 8000",
"start": "next start --port 8000"
},
"dependencies": {
"cross-env": "^7.0.3",

}
}

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

79671540

Date: 2025-06-19 04:57:36
Score: 2.5
Natty:
Report link

for any1 else, i also encountered this in one ui 7, but im already putting the BottomNavigationBar into BottomNavigationBar of the scaffold, the issue is i defined the height. just delete the height and solved

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

79671534

Date: 2025-06-19 04:48:34
Score: 3.5
Natty:
Report link

Just a friendly reminder:
tcp_keepalives_idle and tcp_keepalives_interval params are measured in seconds, not ms!
Quick ref: https://www.postgresql.org/docs/current/runtime-config-connection.html

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

79671533

Date: 2025-06-19 04:46:33
Score: 2
Natty:
Report link

The error occurred when creating STS Client and S3 client is not yet in the picture. So the first thing you need to do is allow "test" user to assume role. So please try to attach the policy to the user itself.

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

79671530

Date: 2025-06-19 04:43:32
Score: 0.5
Natty:
Report link

I too would like a better solution as sometimes setting custom folding doesnt work in my workflow.
My work-around is to whack a comment before the whitespace that I don't want folded:

a topic
. a note
 ? a question regarding the note
  - a to do item
 . some more details
. another note
 . more details
#END a topic

another topic
...

->

+a topic
#END a topic

another topic

In Practical use: I add that trailing comment to all my class-def snippets (etc) so they automatically preserve the whitespace after that definition without needing custom folding regions
:-(

If someone knows how to tell VSCode to simply never cull empty lines, my problem would be solved without needing my work-around.

Reasons:
  • Blacklisted phrase (1): doesnt work
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hicsy

79671529

Date: 2025-06-19 04:43:32
Score: 6
Natty: 7.5
Report link

I was able to resolve the issue by referring to this article: https://zenn.dev/aki05162525/articles/aa42783f085956

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: jone

79671521

Date: 2025-06-19 04:34:29
Score: 2
Natty:
Report link

The ▀ character doesn’t fully cover the top half of the cell in some terminals because of how fonts render it. The small gap you see is the background showing through unused space in the glyph. This isn’t a bug in your code—just a font or terminal rendering issue. Try a different monospace font or terminal to see if it fills better.

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

79671519

Date: 2025-06-19 04:33:29
Score: 1
Natty:
Report link

One workaround is to fork the CodeSandbox demo (login required) and update both the react and react-dom dependencies in the package.json file.

Version 17.0.2 for both react and react-dom works well with Material-UI v4.

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

79671518

Date: 2025-06-19 04:33:29
Score: 5
Natty:
Report link

Got solution for QR Code generation

https://suiteanswers.custhelp.com/app/answers/detail/a_id/38499/loc/en_US

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

79671512

Date: 2025-06-19 04:20:26
Score: 1.5
Natty:
Report link

A relatively new development in this space, and one that is worth watching, is Bootsharp.

It is fairly well documented, and the developer is responsive to issues on the GitHub repo. It currently provides options to use the NativeAOT-LLVM as an option, and to use binaryen for optimization.

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

79671508

Date: 2025-06-19 04:17:25
Score: 4.5
Natty:
Report link

ddd

header 1 header 2
cell 1 cell 2
cell 3 cell 4
Reasons:
  • Contains signature (1):
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ddd

79671488

Date: 2025-06-19 03:41:17
Score: 3
Natty:
Report link

An easier way to undo the changes is to ssh to the broken machines IP and log in. You can then run the commands to undo the changes back to the python version you want.

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

79671487

Date: 2025-06-19 03:31:15
Score: 1
Natty:
Report link
// SQL Server
var sql = builder.AddSqlServer("sqlserver", password: sqlPassword)
    .WithHostPort(1433)
    .WithContainerName("sqlserver")
    .WithLifetime(ContainerLifetime.Persistent);

// Redis
var redis = builder.AddRedis("redis")
    .WithHostPort(6379)
    .WithContainerName("redis");
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lucas Fernando Padilha Stertz

79671486

Date: 2025-06-19 03:23:13
Score: 1.5
Natty:
Report link

I also found this issue on iOS 16. I implemented CXCallManagerDelegate.didAudioDeviceChange() and its fired with correctly got audio session. but UI needs double-tap to be highlight/unhighlight view.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: LordGift

79671483

Date: 2025-06-19 03:20:12
Score: 3
Natty:
Report link

looking at your portal screenshot, it is set to private mode. Only people who have been given access to the portal site can access the site. That's why you are getting the M365 login. Check with your power platform administrator / portal administrator to give you access to the portal.

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

79671479

Date: 2025-06-19 03:10:10
Score: 1.5
Natty:
Report link

Try copy/paste your macro into Notepad. Then copy your code from Notepad and paste it into a clean, new workbook - not previously used for anything. Now run that version of the macro and see what occurs.

For what it is worth, I ran your macro here without any issues. Runs fine.

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

79671469

Date: 2025-06-19 02:50:06
Score: 2.5
Natty:
Report link

Check out this alternative for integrating .proto files into C# projects: protobuf-net.BuildTools. It offers automatic compilation and consistent naming:

https://github.com/protocolbuffers/protobuf/issues/22278#issuecomment-2986326116

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

79671466

Date: 2025-06-19 02:35:03
Score: 3.5
Natty:
Report link

unlink ~/.python_history
ncat -l -U ~/.python_history
(ctrl+c)
chmod 0 ~/.python_history

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

79671461

Date: 2025-06-19 02:20:55
Score: 7.5 🚩
Natty:
Report link

In my case, I removed the path from environment variables. After that I restarted my windows system.

It's not working for me. Same JAVA_HOME path had showed me. If I uninstalled the Java also.

In this case what should I do

Reasons:
  • Blacklisted phrase (2): what should I do
  • RegEx Blacklisted phrase (3): not working for me
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Naveen

79671457

Date: 2025-06-19 02:06:52
Score: 2.5
Natty:
Report link

Check out this alternative for integrating .proto files into C# projects: protobuf-net.BuildTools. It offers automatic compilation and consistent naming:

https://github.com/protocolbuffers/protobuf/issues/22278#issuecomment-2986326116

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

79671451

Date: 2025-06-19 01:50:50
Score: 0.5
Natty:
Report link

I just realized the combiner in the example I referenced is actually thread-safe.

StringBuilder is not thread-safe, but it's different from the combine itself

The combiner 's arguments are two StringBuilder but they're just local variables and have nothing to do with concurrency:

(a, b) -> a.append(",").append(b)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Name Null

79671449

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

I am guessing for integrating the MCP server locally you might have run some form of the code :

claude mcp add sequential-thinking -s user -- npx -y @modelcontextprotocol/server-sequential-thinking

The npx command is what runs the node process. You can try adding the --use-system-ca just after npx and if certs are setup correctly it should work.

If this is not the command please share the command that you are using to add the mcp to claude code?

Reasons:
  • RegEx Blacklisted phrase (2.5): please share
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Bharat Geleda

79671448

Date: 2025-06-19 01:49:49
Score: 0.5
Natty:
Report link
import { Construct } from 'constructs';
import { Dashboard } from 'aws-cdk-lib/aws-cloudwatch';
import { buildAuroraCpuUtilizationWidget } from '../widgets/aurora_widgets';

export interface AuroraDatabaseDashboardConstructProps {
  readonly stage: string;
  readonly clusterIdentifier: string;
}

export class AuroraDatabaseDashboardConstruct extends Construct {
  constructor(scope: Construct, id: string, props: AuroraDatabaseDashboardConstructProps) {
    super(scope, id);

    const dashboard = new Dashboard(this, `${props.stage}-AuroraDashboard`, {
      dashboardName: `${props.stage}-Aurora-DB-Dashboard`,
    });

    // Add widgets via builder function
    dashboard.addWidgets(
      buildAuroraCpuUtilizationWidget(props.stage, props.clusterIdentifier)
    );
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30839329

79671445

Date: 2025-06-19 01:46:49
Score: 1.5
Natty:
Report link

Sadly, Flutter is a mess of trial and error, till you get to work.

My answer matched, that by @berkb .

The reason seems to be there is no clear standards you can safely follow. I get the language is moving quickly, and I love it most of the time. AI is clueless due to the consistancy issues, so you are left with trial and error. I tried 2 other solutions before this one worked for me.

Just to be clear, the code was displaying just fine when it was causing the error in debug, but I like my code to be clear of stack traces. Anyway thanks to all the solutions and my version of pain, thanks to @berkb

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): worked for me
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @berkb
  • User mentioned (0): @berkb
  • Low reputation (1):
Posted by: Nigel Bond

79671441

Date: 2025-06-19 01:37:47
Score: 1
Natty:
Report link

It simply is not possible or better not a good idea to return anything else than some kind of size_t ¹.
That is how C / C++ is working. C (and I let CPP off, because it is just C with a better Compiler), so C as Language is the fastest Language, because it is (Compiler dependent) the closest way to assembler, we do not want to program anymore.
If you call a function in C, you can put as many arguments to the function as you want (as the stack² size allows)
And you only can return data of fixed size. (as the stack² size allows)
Typically, one register. And if you want more, there is again some place in stack reserved.
But only some space.
What I try to say is, that whereas the number of input is somehow unlimited, the return value is.

¹size_t is am approach to get the best size for the CPU. Once this was "BYTE" (on pdp-11 a Byte had 11 bits.) Since BYTE is more or less normed to 8 8bit, it was "int", but also "int" is not was it was before. And size_t will get the same problem.

²the stack is a memory, that is shared for functions, and interrupts and limited.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): get the same problem
  • High reputation (-1):
Posted by: halfbit

79671439

Date: 2025-06-19 01:29:44
Score: 3.5
Natty:
Report link

Just put it into js-syntax to check which newer syntax in your code.

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

79671431

Date: 2025-06-19 01:03:39
Score: 1
Natty:
Report link

MCP servers can be used with a valid MCP client - Cursor, Claude code, etc. The part that you have shown goes into the client side.

Eg. in cursor, you can install MCP tools at Settings > Cursor Settings > New MCP server : Cursor MCP Client

MCP servers need a MCP clients to run!

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

79671428

Date: 2025-06-19 00:46:36
Score: 3
Natty:
Report link

I think you might install wrong version of CUDA. You can try installing CUDA12.8. or higher.

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

79671427

Date: 2025-06-19 00:44:35
Score: 2
Natty:
Report link

Turns out Boomi Flow requires the use of the latest default player for use with the DataGrid. While you can override some settings using JS and CSS many are not exposed including setting column widths.

Bottom line use the latest default player and modify as you can.

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

79671426

Date: 2025-06-19 00:38:34
Score: 1
Natty:
Report link

1 . Paypal only allows you to login with sandbox credentials in sandbox mode. Find your credentials in your sandbox app page under "Sandbox account info". It will look like <&some uuid>@business.example.com and a password.

2.1 For invalid redirect uri: You need to add your redirect uri to your Paypal app. Check "Login with Paypal" and go to "advanced settings". IMPORTANT You don't actually need login with Paypal to authenticate or use the payouts api. I wasted a long time waiting for approval for it before realizing I didn't need it, it's just the Paypal equivalent of "Login with Google" which you probably don't need.

2.2 For unauthorized scopes: You may be missing a lower level scope. For me, I needed the payouts scope but I was missing the "openid" scope (which seems to just be the auth scope). Obviously also check that you have the scopes enabled in your app dashboard.

2.3 For invalid scopes: AI sometimes guesses scopes wrong because there isn't an official list anywhere. Here's an unofficial list though: Find list of available scopes for PayPal API

3 . You have to add www to the front of the url. https://www.sandbox.paypal.com or https://www.paypal.com

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

79671420

Date: 2025-06-19 00:30:32
Score: 2
Natty:
Report link

Remember getters and setters, concept always mentioned on learning OOP, the methods from classes that either return and modify an attribute of an object?

Accessor = getter but for model attribute
Mutator = setter but for model attribute

So in summary an accessor is a function to get a value from a model attribute with some modification, and another for setting with some modification. Pretty simple, but the docs really make it somewhat difficult to understand by the name at first sight.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: augusto-dmh

79671419

Date: 2025-06-19 00:28:32
Score: 2.5
Natty:
Report link

Most likely, only version 8.0 for 20.04 lts can be installed using the deb builds below.

amd64 build of php8.0 1:8.0.30-13+ubuntu20.04.1+deb.sury.org+1 in ubuntu focal RELEASE

https://launchpad.net/\~ondrej/+archive/ubuntu/php/+build/30419479/

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

79671415

Date: 2025-06-19 00:15:24
Score: 7.5 🚩
Natty:
Report link

♡ (ˊᗜˋ)و(ˊᗜˋ) ♡

♡ (ˊᗜˋ)و(ˊᗜˋ) ♡

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

79671407

Date: 2025-06-19 00:02:20
Score: 4
Natty: 4.5
Report link

How do I specify the port in my Linux container?

App Service has no control about which port your container listens on. What it does need is to know which port to forward requests to. If your container listens to port 80 or 8080, App Service is able to automatically detect it. If it listens to any other port, you need to set the WEBSITES_PORT app setting to the port number, and App Service forwards requests to that port in the container.

Source: https://learn.microsoft.com/en-us/troubleshoot/azure/app-service/faqs-app-service-linux#how-do-i-specify-port-in-my-linux-container-

Reasons:
  • Blacklisted phrase (1): How do I
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): How do I
  • Low reputation (1):
Posted by: Andre

79671406

Date: 2025-06-19 00:00:19
Score: 1.5
Natty:
Report link

Would you please tag laravel-ide-helper to this question?
This issue is persisting still, for me, and I haven't found the answer yet.

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

79671398

Date: 2025-06-18 23:38:14
Score: 3.5
Natty:
Report link
As a workaround, I can I run mysql from the command line and redirect the output, like:

    mysql -h host1 -D db1 -u user1 -p password1 -e "SELECT * FROM table" > test123.csv

This appears to output with the equivalent of:

    FIELDS TERMINATED BY '\t'

    LINES TERMINATED BY '\n'

The problem is my users need the CSV files in Comma Separated format.

I experimented with SED to see if I could convert any CSV file from TAB separated fields to COMMA separated fields.

This command line would seem to do it:

    sed -i -e 's/\t/","/g' -e 's/^/"/' -e 's/$/"/' test123.csv

First command replaces \t (tab) with "," (quote, comma, quote)
Second command inserts " (quote) at the beginning of each line
Third command inserts " (quote) at the end of each line

Given the restrictions I have, any thoughts as to whether this is the best approach to output MySQL data into a Comma Separated CSV?
Reasons:
  • Blacklisted phrase (1.5): any thoughts
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: PhoenixTech

79671395

Date: 2025-06-18 23:32:13
Score: 1
Natty:
Report link

You need to set a TextStyle and specify the font size that the cursor will assume a similar size.

BasicTextField(
    ...
    textStyle = TextStyle(
        color = Color.Black,
        fontSize = 10.sp, // Cursor should be the similar size.
        textAlign = textAlign,
    ),
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Junior Oliveira

79671389

Date: 2025-06-18 23:23:11
Score: 1
Natty:
Report link

Use File, Page Setup... to investigate the page setup and printer assigned to this report.

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

79671376

Date: 2025-06-18 23:05:06
Score: 3
Natty:
Report link

.heart-bullet { animation:shootStraight is linear forwards position :fixed ; z-index:10; } .heart-bullet svg { filter: drop-shadow (0 0 10px #ff1744); }

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Maggi Nikcol Martínez Mejía

79671359

Date: 2025-06-18 22:45:01
Score: 3
Natty:
Report link
implementation("androidx.compose.material:material-icons-extended")
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Secondary Work

79671356

Date: 2025-06-18 22:42:00
Score: 5.5
Natty: 5.5
Report link

But my img tag SRC is not following the base path I set?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Co-legend

79671355

Date: 2025-06-18 22:40:00
Score: 1
Natty:
Report link

Add Button.qml in the CMakeLists.txt :

qt_add_qml_module(bbb
    URI bbb
    VERSION 1.0
    QML_FILES main.qml
              Button.qml
)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Autechre

79671351

Date: 2025-06-18 22:37:59
Score: 1
Natty:
Report link

On my Dell XPS laptop, which does not have a break key, Ctrl + Fn + B stopped the running program in Powershell.

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

79671350

Date: 2025-06-18 22:34:58
Score: 2
Natty:
Report link

If you push from local master that upstream is remote origin/master

git push origin master:newRemoteBranch

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

79671338

Date: 2025-06-18 22:12:54
Score: 1
Natty:
Report link

You most likely need to configure the domain or subfolder structure you desire in the mutlisite management screens

  1. Click the site name in the top left

  2. Manage sites

  3. Edit the properties of the site you are having issues with

  4. Make sure the domain is correct or you are using a subfolder: mysitedomain.com or my.sitedomain.com or sitedomain.com/mysite

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jon R.

79671334

Date: 2025-06-18 22:06:52
Score: 2.5
Natty:
Report link

Request-Hadler (qt) /update Document type XML XML Document(s) id: "123456" And again in Document

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

79671332

Date: 2025-06-18 22:05:52
Score: 2.5
Natty:
Report link

Holy **** I'm such an idiot. My problem was that I had two parts of my application - one Azure Function App which received the messages webhook and published it to an Azure Service Bus, and another Function App which processed the queued messages. The queuer application had an issue with it which was stripping the interactive object.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andy M

79671331

Date: 2025-06-18 22:05:52
Score: 2
Natty:
Report link

You will need to ensure those elements exist in the config you want first. So put in some values that don't matter via the backend of Sitefinity and then have transforms for environments where needed.

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

79671328

Date: 2025-06-18 22:02:51
Score: 4
Natty:
Report link

Compatibility Matrix/Chart
https://stackoverflow.com/a/79671322/738895

you'll need pgAdmin IV or higher for postgreSQL 9.6+

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

79671327

Date: 2025-06-18 22:01:50
Score: 4
Natty:
Report link

Compatibility Matrix/Chart
https://stackoverflow.com/a/79671322/738895

you'll need pgAdmin IV or higher for postgreSQL 10+

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

79671326

Date: 2025-06-18 22:00:50
Score: 0.5
Natty:
Report link

The language just allows this situation per the commentors. You can get in trouble multiply including headers. If you don't want to a header to include twice, put this pseudocode in the header:

myheader.h:

check if myheader_included is defined using #ifndef
   define myheader_included
   rest of your header in the #ifndef

More info:

Why are #ifndef and #define used in C++ header files?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: FastAl

79671321

Date: 2025-06-18 21:51:44
Score: 8.5 🚩
Natty:
Report link

I tried opening a support ticket on Amazon about this question, and it seems they couldn't help me get their own tutorial code to work! I don't know how to solve this issue, but I've moved on for now.

Reasons:
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (1): how to solve
  • RegEx Blacklisted phrase (2): I don't know how to solve
  • RegEx Blacklisted phrase (2): know how to solve
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: kevin29

79671320

Date: 2025-06-18 21:51:43
Score: 4
Natty:
Report link

Above solution fixed my same problem

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

79671319

Date: 2025-06-18 21:51:43
Score: 3
Natty:
Report link

https://github.com/ds300/patch-package/issues/49#issuecomment-1081850871
This will work with the latest patch-package

$ yarn patch-package react  --exclude '^$'
Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Edward

79671307

Date: 2025-06-18 21:31:37
Score: 3
Natty:
Report link

The Sequence function is now available in Libreoffice Calc version 25.2.4.x
SEQUENCE(Rows, Colums, Start. Stop)

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

79671292

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

I understand now that I was reading code that was from before .NET 6 that included a Startup.cs file. It seems that program initialization is now commonly done in Program.cs with top-level statements, so there is no longer a Startup.cs file to reference, causing the error. I ended up following a different tutorial that had what I needed, which was this one: https://learn.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-9.0&tabs=visual-studio-code

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

79671279

Date: 2025-06-18 20:53:28
Score: 2
Natty:
Report link

I wasn't able to do it directly, but i took a different approach for it.

1. I created a tmux session, not attached to a terminal.

2. Instead of calling mpv directly, i sent the command to that tmux session, with tmux send-keys to run mpv there, and it worked.

Thanks to @chrslg for the help!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @chrslg
  • Self-answer (0.5):
Posted by: Ghost

79671277

Date: 2025-06-18 20:51:27
Score: 1
Natty:
Report link
def minumumSwap(num: int) -> int:
    n = num
    num = list(str(num))
    rightmost = [-1]*10
    for i in range(len(num)):
        rightmost[ord(num[i]) - ord('0')] = i
    for i in range(len(num)):
        for j in range(0, int(num[i])):
            if rightmost[j] > i:
                if i == 0 and j == 0:
                   continue
                num[i], num[rightmost[j]] = num[rightmost[j]], num[i]
                return int("".join(num))
    return n
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Mah

79671272

Date: 2025-06-18 20:47:26
Score: 1
Natty:
Report link

Thanks @alicia-sykes, you put me on the right path.

The final GitHub step became:

      - name: Setup Chrome sandbox for diagram rendering
        run: |
          sudo sysctl -w kernel.unprivileged_userns_clone=1
          sudo apt-get update
          sudo apt-get install -y google-chrome-stable

          CHROME_SANDBOX=$(dirname "$(which google-chrome-stable)")/chrome-sandbox

          # Additional fallback paths because Chrome is not necessarily installed 
          # in the default location, but there are known alternatives.
          if [ ! -f "$CHROME_SANDBOX" ]; then
            echo "Attempting fallback paths for chrome-sandbox..."
            if [ -f "/opt/google/chrome/chrome-sandbox" ]; then
              CHROME_SANDBOX="/opt/google/chrome/chrome-sandbox"
            elif [ -f "/usr/lib/chromium-browser/chrome-sandbox" ]; then
              CHROME_SANDBOX="/usr/lib/chromium-browser/chrome-sandbox"
            else
              echo "Error: chrome-sandbox could not be found in any known locations."
              exit 1
            fi
          fi

          sudo chown root:root "$CHROME_SANDBOX"
          sudo chmod 4755 "$CHROME_SANDBOX"

          echo 'Exporting CHROME_DEVEL_SANDBOX environment variable...'
          echo "CHROME_DEVEL_SANDBOX=$CHROME_SANDBOX" >> $GITHUB_ENV

Once I added this step to the workflow, the generation of the mermaid diagrams in the AsciiDoctor file succeeded.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @alicia-sykes
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Arc-E-Tect

79671271

Date: 2025-06-18 20:46:26
Score: 1
Natty:
Report link

Expo projects can use this approach.

import { useNavigationContainerRef, usePathname } from 'expo-router'
...
useNavigationContainerRef().getCurrentOptions()

Bare React Native projects can use this approach.

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

79671266

Date: 2025-06-18 20:39:24
Score: 1.5
Natty:
Report link

Ok I have had to change you CSS, hope you dont mind, I have adjusted you JS too, you main issue was that #solutions was covering the whole viewport. TheZIndex is also fixed


(() => {
  const problems = document.getElementById('problems');
  const solutions = document.getElementById('solutions');
  const body = document.body;
  const html = document.documentElement;

  const getScrollY = () => window.pageYOffset || html.scrollTop || body.scrollTop || 0;

  let viewportHeight = window.innerHeight;
  let topOfSolutions = problems.offsetTop + problems.offsetHeight;
  let startReveal = topOfSolutions - viewportHeight;
  let endReveal = topOfSolutions;
  let revealRatio = 0;

  const maxRadius = () => Math.hypot(window.innerWidth / 2, window.innerHeight / 2);

  const setRadius = (r) => {
    const clip = `circle(${r}px at 50% 50%)`;
    solutions.style.clipPath = clip;
    solutions.style.webkitClipPath = clip;

    // **Ensure Problem 5 is visible when scrolling up**
    solutions.style.visibility = r > 0 ? 'visible' : 'hidden';
  };

  window.addEventListener('scroll', () => {
    const currentY = getScrollY();

    if (currentY < startReveal) {
      revealRatio = 0;
      setRadius(0);
      solutions.style.visibility = 'hidden'; // **Problem 5 should be visible**
      return;
    }

    if (currentY > endReveal) {
      revealRatio = 1;
      setRadius(maxRadius());
      solutions.style.visibility = 'visible';
      return;
    }

    revealRatio = (currentY - startReveal) / (endReveal - startReveal);
    setRadius(revealRatio * maxRadius());
  }, { passive: true });

  window.addEventListener('resize', () => {
    viewportHeight = window.innerHeight;
    topOfSolutions = problems.offsetTop + problems.offsetHeight;
    startReveal = topOfSolutions - viewportHeight;
    endReveal = topOfSolutions;
    setRadius(revealRatio * maxRadius());
  });
})();
html, body {
  height: 100%;
  margin: 0;
  font-family: sans-serif;
}

/* Problems */
#problems {
  scroll-snap-type: y mandatory;
  position: relative;
}

#problems h1 {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 1rem;
  text-align: center;
  z-index: 1;
}

/* Updated class names for each card */
.card1 {
  background: #90caf9;
}

.card2 {
  background: #a5d6a7;
}

.card3 {
  background: #ce93d8;
}

.card4 {
  background: #ffcc80;
}

.card5 {
  background: #ff8a80; /* Adjusted for visibility */
  color: #000; /* Ensuring readable text */
}

/* Common styles for all problem cards */
.card1, .card2, .card3, .card4, .card5 {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #fff;
}
<section id="problems">
  <h1>Do you know these problems?</h1>
  <article class="card1">Problem 1</article>
  <article class="card2">Problem 2</article>
  <article class="card3">Problem 3</article>
  <article class="card4">Problem 4</article>
  <article class="card5">Problem 5</article>
</section>

<!-- fixed layer revealed by the circle -->
<section id="solutions">
  <h2>Solution</h2>
</section>

Reasons:
  • RegEx Blacklisted phrase (2.5): Do you know the
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JulesUK

79671264

Date: 2025-06-18 20:35:22
Score: 6.5 🚩
Natty: 5.5
Report link

não entendo este povo. em interpretar um texto, eu estou como o mesmo problema e uma vez consegui resolver mas eu não tenho mais a reposta, a questa do colega é simples veja meu caso. eu criei um script no bloco de nota e salvei em html, qnd vc clica nele não se encontra o cod e sim o resultado , vc ira ver um acaixa de texto botõrd dr direcionamento ec, uma vz hospedando no drive ele perde isto e ao baixar eu recebo só um doc com a tela da pagina sem interações, os botões e caixa somem, assim o script parece qu efoi reformulado. a a pergunta é como baixar o arquivo como o original? alguem sabe responder?

Reasons:
  • Blacklisted phrase (1): não
  • RegEx Blacklisted phrase (2): encontra
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Excluido

79671262

Date: 2025-06-18 20:34:22
Score: 3.5
Natty:
Report link

to get random images for your website, use https://picsum.photos/ :)

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

79671258

Date: 2025-06-18 20:33:21
Score: 6.5 🚩
Natty: 5.5
Report link

buenas estoy probando con codigo python, poner una posición y cerrarla, pero si la crea, pero en la lengueta sale posiciones abiertas en 0, y al cerrar esta el por codigo no la encuentra! Ayuda. es posible que alguien me ayude con el codigo me envie un ejemplo de poner ordenes y cerrarla para evaluar el mio? [email protected] mi correo.

Reasons:
  • Blacklisted phrase (2): Ayuda
  • Blacklisted phrase (2): estoy
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Julio Andrés Burboa Schlegel

79671257

Date: 2025-06-18 20:31:20
Score: 1
Natty:
Report link

You can also use

std.mem.splitAny()

Or

std.mem.splitSequence()


const std = @import("std");
pub fn main() !void{
const input = "Hello World";
//this is to split by spaces
var iter = std.mem.splitAny(u8, input, " ");
while  (iter.next()) |word| {
 std.debug.print("{s}\n", .{word});
 }
 }
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ph4mished

79671239

Date: 2025-06-18 20:09:14
Score: 4
Natty:
Report link

I have the IntelliJ IDEA 2025.1 (Ultimate Edition), and I see the option on "Tools".

enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sudhakar

79671235

Date: 2025-06-18 20:05:13
Score: 2
Natty:
Report link

Like it is mentioned in earlier answers there is no specific -force flag available with "terraform destroy" command perhaps because terraform deals with multiple resource dependences either while creating or destroying. In case if it failed in destroying the resources then you need to address their dependency issue. It is good because you should not end up with messed up uncleaned resources in Cloud.

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

79671223

Date: 2025-06-18 19:53:09
Score: 3.5
Natty:
Report link

Nevermind. I imported, somehow (vs did), a file from api in admin.

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

79671214

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

I ended up using BeautifulSoup instead

    get_partyid = requests.post('%s' % nwsap_host, data=get_partyid)
    gpid = BeautifulSoup(get_partyid.content, 'xml')
    gpstatus = gpid.find('api:PlexViewResponse')
    print("Status:", gpstatus.attrs['Status'])
    PartyID = gpid.find('PartyId').get_text()
    print("PartyID:", PartyID)

Much easier to digest for me as a newbie.
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kelso

79671204

Date: 2025-06-18 19:18:01
Score: 2
Natty:
Report link

There is extenstion which increase the curosr caret height without chaning line height. You can find this in VS Code Extension or Marketplace

"Extra Cursor Caret Height"

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

79671203

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

I also tried to find something like that in VS Code, but I didn't find any extension like this. Finally, I have created an extension for this. You can try this extension

"Extra Cursor Caret Height"

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Shibbir Ahmed

79671197

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

My mistake. Try this then, though, this will conceal all the scrollbars on the page:

*::-webkit-scrollbar {
    display: none;
}
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tachaeus

79671193

Date: 2025-06-18 19:01:57
Score: 1.5
Natty:
Report link

You can just conver the argument which you are passing in the PyPDFLoader into string like

loader = PyPDFLoader(file_path=str(pdf_path))
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pragyan Prakhar

79671190

Date: 2025-06-18 19:00:57
Score: 1.5
Natty:
Report link

There is no dedicated icon in draw.io to represent a "Lambda function with its layers". But you can do this to complete your architecture if it floats your boat :-

  1. Stack small rectangles or boxes under or beside the Lambda icon.

  2. Label them Layer 1, Layer 2, etc., or with more meaningful names (e.g., "Shared Utils", "Logging", "DB Client").

  3. and then connect them to the Lambda icon with arrows (or brackets) to indicate that they are part of the Lambda execution environment.

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

79671185

Date: 2025-06-18 18:57:56
Score: 2.5
Natty:
Report link

hash maps take O(1) to get elements in it (for the most part). This is because elements in the hash map are stored in a more mathematical way by hashing. I recommend reading up on it, it uses cool computer science concepts and when used correctly is a lot efficient.

Here is one reference: https://medium.com/@dineshmatrix2/why-hashmap-lookup-is-constant-time-o-1-7fa6b7a4cae2

Reasons:
  • Blacklisted phrase (0.5): medium.com
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Calamity