79639707

Date: 2025-05-27 01:11:18
Score: 10 đźš©
Natty: 6.5
Report link

@Robin Gertenbach

This works beautifully. however, since I am adding some text to the concatenate, that text comes up also in the empty row.
Can you help me out please?
I am using this:

=ARRAYFORMULA($B$2:B &"mytext" &" " & $D$2:D)

so here, mytext appears on rows which are blank.

thanks

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you help me
  • RegEx Blacklisted phrase (2): help me out
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: TasJam

79639701

Date: 2025-05-27 00:59:16
Score: 2
Natty:
Report link

Prolog people are some minds―of―the―ages, I love the fact that no matter how fluent I thought I was getting in JavaDoc, there is yet still a language like Veritable―Prolog/SWI―Prolog that makes my head gears REALLY crumble under the pressure. These slashed―number predicate showcases…are but only the beginning, I’m afraid, my―friend.

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

79639693

Date: 2025-05-27 00:39:12
Score: 3
Natty:
Report link

Now Gmsh can use OpenMP parallelism. Gmsh can also be compiled by CMake, then you can switch on openmp.

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

79639691

Date: 2025-05-27 00:33:11
Score: 2
Natty:
Report link

This is now fixed in the new versions of Swift:
https://github.com/swiftlang/swift/pull/80220/files

If you are using older versions of the compiler, see rob mayoff's excellent workaround.

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

79639690

Date: 2025-05-27 00:32:10
Score: 2.5
Natty:
Report link

(runs-on: ubuntu-latest to runs-on: windows-latest) try to run windows-latest hopefully it will work. Linux doesn't automatically add the ".exe" ending to files, because ".exe" is a Windows thing thats why.

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

79639688

Date: 2025-05-27 00:26:09
Score: 2.5
Natty:
Report link

Couple of years late for this question, but I got Gemini to write a spanner-orm for bun. It should work with node as well, but I haven't tested out w/out typescript native support that exists in bun & not in node yet.

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

79639687

Date: 2025-05-27 00:26:09
Score: 2.5
Natty:
Report link

The article explains how to use DevContainers with JetBrains IDEs. Official documentation is also available: https://www.jetbrains.com/help/idea/connect-to-devcontainer.html. If you have any questions, please contact us at https://youtrack.jetbrains.com—we’ll do our best to help.

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

79639686

Date: 2025-05-27 00:24:09
Score: 0.5
Natty:
Report link

I''m not sure if this answer works in 2013 when you wrote this question, but in 2025, and for many years previously, you can restart conky by editing ~/.conkyrc. Then add a space somewhere and save the file. Conky automatically restarts.

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

79639685

Date: 2025-05-27 00:20:08
Score: 3.5
Natty:
Report link

Expo-bardcode-camera is deprecated from expo>51, considering moving to expo-camera

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

79639682

Date: 2025-05-27 00:15:06
Score: 11 đźš©
Natty: 6.5
Report link

did you found any answer to this? have the same issue

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): did you found any answer to this
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: Tiby Dinu

79639669

Date: 2025-05-26 23:45:59
Score: 0.5
Natty:
Report link

#include <iostream>

#include <string>

int main() {

std::string name;

int num1, num2;

// Ask for the user's name

std::cout \<\< "Enter your name: ";

std::getline(std::cin, name);

// Greet the user

std::cout \<\< "Hello, " \<\< name \<\< "!" \<\< std::endl;

// Ask for two numbers

std::cout \<\< "Enter the first number: ";

std::cin \>\> num1;

std::cout \<\< "Enter the second number: ";

std::cin \>\> num2;

// Add and display result

int sum = num1 + num2;

std::cout \<\< "The sum of the two numbers is: " \<\< sum \<\< std::endl;

return 0;

}

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

79639668

Date: 2025-05-26 23:44:59
Score: 3
Natty:
Report link

you were able to solve this problem, I am currently working with the FRP and it happened the same but I can't find what is missing.

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

79639667

Date: 2025-05-26 23:44:59
Score: 1
Natty:
Report link

it would be great if anyone can help me to achieve this or maybe know a simpler way to load data from different views in one table parallel (at the same time)

Since you asked it this way, what I'm suggesting is a simpler way to load data from multiple views concurrently than the method you are trying to use. That's what you asked, that's what I'm suggesting. First in a comment, and now in an answer in order to better demonstrate.

insert /*+ enable_parallel_dml parallel(8) */ into mytable
select * from view_1
union all
select * from view_2
union all
select * from view_3
union all
select * from view_4
union all
select * from view_5
union all
select * from view_6
union all
select * from view_7

The above is one statement, submitted as a unit. Mission accomplished: it loads the table from the various views all at once. A lot simpler than using a PL/SQL engine to achieve parallelism.

Explanation: whatever "degree of parallelism" (DOP) you request (here 8), assuming the instance allows it and you have the CPU resources available, it will allocate twice that many parallel slave processes (two teams of the specified DOP each) which will divide up the work load at the block range level of the underling tables - a lot more granular, and therefore a lot more powerful, than dividing it up by the high-level individual view. It also parallelizes the joins and sort operations they might involve as well.

Further, this also enables "pdml" (parallel DML) which means not only the view queries are parallelized, but the block formatting of the segment being written to (the insert step itself). Space will be allocated above the "high water mark" (HWM), thereby bypassing freespace bitmap lookups and vastly reducing undo writes, as well as postponing index maintenance to the end so indexes don't impact the load step. This is the fastest, most efficient and simplest method of inserting data from multiple sources into a single table all at once.

Furthermore, since 12c, Oracle can run the blocks of a UNION ALL set concurrently, allocating separate parallel slaves to each so that each executes at the same time, rather than one after the other. Initially that required a special hint (pq_concurrent_union) but later versions make this the default - but only when it is beneficial to do so, which is mainly when your set involves distributed queries (to a remote database over a dblink). For most local operations, concurrent union is still possible but not really advantageous, as the point is to move the data the quickest, and that's already being achieved by the low-level parallelism of Oracle PQ/PX out of the box.

Simpler + faster = better.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): anyone can help me
  • RegEx Blacklisted phrase (0.5): anyone can help
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-2):
Posted by: Paul W

79639657

Date: 2025-05-26 23:23:54
Score: 0.5
Natty:
Report link

If for some reason there is jersey-client in your Eureka Client application's classpath, try setting eureka.client.jersey.enabled to false in application.properties of that Eureka Client application.
This works for spring-boot version 3.4.6 and spring-cloud version 2024.0.1

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

79639652

Date: 2025-05-26 23:14:51
Score: 2
Natty:
Report link

Myroslavs answer is the correct one! Just pass the Generated keyholder and it will be populated. As the last argument you can also pass an array with column names and get back multiple columns!

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

79639651

Date: 2025-05-26 23:13:51
Score: 0.5
Natty:
Report link

You are computing

    past_kv = outputs.past_key_values

but using past_key_values in your subsequent call.

    outputs = model.generate(
        input_ids=outputs.sequences,
        attention_mask=torch.ones((1, outputs.sequences.shape[1]), dtype=torch.int).to(device),
        past_key_values=past_key_values, # change this to past_kv
        temperature=0.7,
        max_new_tokens=1,
        use_cache=True,
        return_dict_in_generate=True
    )

Maybe you are using a previously computed past_key_values? With this change I'm getting

print(t2-t1) # 4.438955783843994
print(t3-t2) # 0.06613826751708984

as expected.

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

79639647

Date: 2025-05-26 23:12:51
Score: 3
Natty:
Report link

I was downloading an MPEG4 from the Internet Archive Digital Library and it played in Chrome. No download to be found. I paused the movie and found a 3 dot menu in the lower right. Top of the list "Download". Download of MP4 commenced immediately.

Regards, Charles

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

79639646

Date: 2025-05-26 23:12:51
Score: 1.5
Natty:
Report link

This location to change default could be the following in the flutter installation directory:

packages/flutter_tools/gradle/src/main/kotlin/FlutterExtension.kt: * Sets the ndkVersion used by default in Flutter app projects.

packages/flutter_tools/gradle/src/main/kotlin/FlutterExtension.kt: val ndkVersion: String = "26.3.11579264"

But I agree that there should be a better way to set this

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

79639643

Date: 2025-05-26 23:06:49
Score: 3.5
Natty:
Report link

OK, it was not a issue with the library, nor the compiler. I followed @user4581301's advice and moved it to the compiled source (under the namespace instead of class) and it compiled fine. IDK what it was actually doing, so not much of a "answer", but if you run into a similar problem try putting it in the .cpp instead of the .hpp

Reasons:
  • No code block (0.5):
  • User mentioned (1): @user4581301's
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MacGuffin_

79639642

Date: 2025-05-26 23:05:49
Score: 1
Natty:
Report link

What you have is pretty close to the best you can get, simply swap out each of the type hints for a pandas.core.series.Series to get the correct type hints. Here is an example implementation modeled after your example.

import pandas as pd
import pandas.core.series
import io


class TypedDataFrame(pd.DataFrame):
    day: pd.core.series.Series
    country: pd.core.series.Series
    weather: pd.core.series.Series


def _main():
    df: TypedDataFrame = TypedDataFrame(pd.read_csv(io.StringIO(
        'day,country,weather\n'
        '1,"CAN","sunny"\n'
        '2,"GBR","cloudy"\n'
        '4,"IND","rain"'
    )))

    print(type(df.weather))
    print(df.country[0])


if __name__ == '__main__':
    _main()

And here are what the type hints looks like in Pycharm at least, I would expect VSCode or others to be similar:

Showing type hints in Pycharm for field

Showing type hints in Pycharm for field attributes

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What you have is
  • Low reputation (0.5):
Posted by: BitsAreNumbersToo

79639628

Date: 2025-05-26 22:25:40
Score: 2.5
Natty:
Report link

https://powershellfaqs.com/convert-object-to-array-in-powershell/ has a simpler method.

Use $array = @($object).

I needed to pass the resulting array onto a function, so I changed:

-contents $object

to

-contents @($object)

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Roy Latham

79639617

Date: 2025-05-26 22:16:37
Score: 1.5
Natty:
Report link

If the branch was not squashed and you have it locally: I would checkout to the branch where you have the code you need (branch-1) and there I would just create a branch from that one(branch-1 -> branch-2). I would then develop on top of that and then merge it (branch-2) back to master.

If that is not the case, just rollback to the point where you have your code and develop from that.

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

79639602

Date: 2025-05-26 21:55:32
Score: 5.5
Natty: 4
Report link

I have the same problem - the new cert does not appear under the "my certificates" tab, all the "all items" tab.

I created a Key on the developer website and downloaded it but have no idea how to install it - double click asks me to choose and application, drag&drop doesn't work.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: pat caruthers

79639591

Date: 2025-05-26 21:45:29
Score: 0.5
Natty:
Report link

What you're doing is totally fine, but here's how I might do it:

struct palette {
    u16 *items;
    u8 first_i;
};

void scrollPalette(struct palette *p, bool scroll_dir) 
{
    if (scroll_dir) {
        p->first_i = (p->first_i + 1) % 16;
    } else {
        p->first_i = p->first_i == 0 ? 15 : p->first_i - 1;
    }
}

Then you need to access and display the palette differently, for example:

u16 palleteGet(struct pallete *p, u8 n) {
    return p->items[(p->first_i + n) % 16];
}
Reasons:
  • Has code block (-0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: clarkep

79639587

Date: 2025-05-26 21:38:27
Score: 0.5
Natty:
Report link

The other answer is incorrect you can do this with an Access Policy.

In Zero Trust > Access > Policies create a new access policy, but set the Action as 'Service Auth'. You then also need to set an Include policy (this can be "Everyone"). Doing this will exempt applications using this policy from the default identity requirement (usually email OTP if you haven't hooked up an identity provider).

I would however consider adding some restrictions even if you don't use an identity provider via CloudFlare, such as only including countries you expect to access from or locking down to public IPs.

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

79639586

Date: 2025-05-26 21:37:27
Score: 1
Natty:
Report link

In Linux you need to identify the process ID using the command (pick ipykernel_launcher process):

ps aux | grep ipykernel

Process ID

Then, use these commands to pause and resume the kernel:

kill -SIGSTOP 557
kill -SIGCONT 557
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Charaf Eddine Ragba

79639584

Date: 2025-05-26 21:33:26
Score: 1.5
Natty:
Report link

I got stuck with an edge case; I am running my app from Wordpress, with the SuperPWA plugin installed. This plugin comes with the option to offer 'pull to refresh'. This superseded all code-based solutions I implemented to stop this from working.

Only after a while did I think to look in the SuperPWA settings. Lo!

Reasons:
  • Blacklisted phrase (1): This plugin
  • No code block (0.5):
Posted by: MastaBaba

79639560

Date: 2025-05-26 21:04:18
Score: 2
Natty:
Report link

If someone is having this same problem and tried all suggested solutions in this post, I had that same problem, in the end it resulted to be that I was compiling Python libraries in my Macbook Pro with M1 Pro chip, that chip is ARM Arquitecture, and in AWS Lambda configuration I picked the x86 option, that was causing all problems, once I changed my AWS Configuration for arm64 it worked like a charm.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Eddy23

79639556

Date: 2025-05-26 21:01:17
Score: 2.5
Natty:
Report link

If you still want to use an Octree in your Swift project, you may check out Jaap Wijnen's implementation for the Swift Algorithm Club: https://github.com/kodecocodes/swift-algorithm-club/tree/master/Octree

For me, this solved the problem!

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

79639554

Date: 2025-05-26 21:01:17
Score: 3.5
Natty:
Report link

Restart the Powershell, to see updated python version.

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

79639553

Date: 2025-05-26 21:01:17
Score: 1
Natty:
Report link

This is expected behavior in React 18 when using Strict Mode in development.

React intentionally runs effects twice (setup → cleanup → setup) to help catch bugs with side effects and cleanup logic. In production, the effect runs only once.

You can read the official explanation here: My Effect runs twice when the component mounts.

If this causes issues, make sure your effect has a proper cleanup function.

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

79639551

Date: 2025-05-26 21:00:16
Score: 4
Natty:
Report link

oh, agree with you, thats right

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

79639546

Date: 2025-05-26 20:46:13
Score: 0.5
Natty:
Report link

try to use

const renderer = new THREE.WebGLRenderer();
...
renderer.setClearAlpha( 0 )

and define correct far plane for your camera, then background will be transparent and you will see html page parts under canvas

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

79639542

Date: 2025-05-26 20:36:10
Score: 2
Natty:
Report link

I tried you program on my machine and it run perfectly.

For compile the C program I used:
gcc main.c -o main.exe

when i run the file python i see:
Hello World!CompletedProcess(args='./main.exe', returncode=0)

The compiler that I use is:
gcc (MinGW.org GCC-6.3.0-1) 6.3.0

And the python version is 3.12.4

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

79639540

Date: 2025-05-26 20:36:10
Score: 4
Natty:
Report link

do the production and test tables have the same data mass? Have the environment statistics been updated? Could you provide the production and test execution plan with the ddl of the created index and the number of rows in the table?

To make your work easier, you can use Devart tools such as dbForge Studio.
Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): Could you provide
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: César Carvalho

79639539

Date: 2025-05-26 20:34:09
Score: 5
Natty: 5
Report link

was this ever answered? imageDate specifies the year and month in which the imagery in this panorama was acquired but is there an API to request past street view imagery and not the latest available?

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): was this
  • Low reputation (1):
Posted by: Alessandra

79639532

Date: 2025-05-26 20:30:08
Score: 1
Natty:
Report link

I just ran into this issue using a pyenv installation on Mac. It seems like numpy.distutils is trying to import distutils.msvccompiler regardless of the OS. A quick fix is to go to the file:

your-python-installation/site-packages/numpy/distutils/mingw32ccompiler.py

and comment out this line:

 distutils.msvccompiler import get_build_version as get_build_msvc_version
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Carlos MM

79639530

Date: 2025-05-26 20:25:06
Score: 3
Natty:
Report link

Maybe Adaptive Authentication can help you. You can take a look at this slides.

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

79639529

Date: 2025-05-26 20:24:06
Score: 0.5
Natty:
Report link

SOLVED: in my ReviewCard component, I was returning one of two pieces of JSX, the second one was a fragment with no key. adding the key removed the recurrent error.

      return (
        <>
          {word}
          {!isLastWord && ' '}
        </>
      );

to

return (
        <React.Fragment key={index}>
          {word}
          {!isLastWord && ' '}
        </React.Fragment>
      );
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Cjmaret

79639516

Date: 2025-05-26 20:14:02
Score: 4
Natty:
Report link

Just create a security rule to deny all requests to "/". enter image description here enter image description here

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

79639508

Date: 2025-05-26 20:08:00
Score: 1.5
Natty:
Report link

It really looks like what happens to me when I set up a custom path server and forget where I put it. I've found that

[CODE]tmux -S /path/to/socket/socket session attach [/CODE]

works pretty well. I run Linux, so it might still work for you.

[CODE]ps -aux [/CODE] should tell you the command that created the tmux session in the first place.

Also look to see if the command uses -S or -L... Use which ever flag that created the season, plus the path to your socket. Add session name, separated with a space at the end for good luck.

I have shell scripts set up my tmux sessions and it can be easy to forget the specifics. Tmux won't know to look somewhere other than the default without the -S or the -L switch on.

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

79639506

Date: 2025-05-26 20:07:00
Score: 1
Natty:
Report link

It isn't possible to reply to a modal with another modal, which is why the ModalInteraction type doesn't have a .showModal method.

Instead, your best option is probably to display an error message (which can be ephemeral), and add a try again button to that message, which then opens a new modal in response to the button.

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

79639504

Date: 2025-05-26 20:04:59
Score: 2.5
Natty:
Report link

jsec .4+>5 = no

//J+kravia (IMOA) decentralised text network through notepad

() c.py

Run execute.node.py. Run py //track

Receive call id

=5

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

79639503

Date: 2025-05-26 20:03:59
Score: 2.5
Natty:
Report link

I think the problem is in how we train networks. Each new piece of data would need to be incorporated in a larger batch of training data to be incorporated into the neural network and that takes time. It's not as simple as just adding a new piece of data

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

79639499

Date: 2025-05-26 19:59:58
Score: 1
Natty:
Report link

I think these logs are generated by some custom Request Filter/Interceptor. You should give a try to Tomcat access logs if you are using Tomcat Server, there are flexible and easy to parse.

For ref check: https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Access_Logging

Furthermore you can check this repo for tomcat access log parsing: https://github.com/YasinVighio/Tomcat-Log-Analyzer

If you are sticking with custom logging then I suggest you to identify pattern of logs

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

79639498

Date: 2025-05-26 19:57:57
Score: 1
Natty:
Report link

My previous solution (memory access) was bad. I checked: the mystery of fast JIT sorting is solved.

It's not about memory access — C++ handles that very well.

The key is function inlining. C++ does inline functions, but not recursive ones. JIT inlines recursive functions for specific cases — e.g., for 5 million elements.

As an example: Java code where the warm-up calls sort(), but for a much smaller number than 5 million, and the 5-million-element sort happens only once.

The result: worse 20%-25% than C++. Exactly the same as when I copied the class DualPivotQuicksort.java into my project for testing and wondered why it was no longer that fast.

To prove it: test Java code: call many times sort for small array length (for example 100) and once call sort for 5 millions.

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

79639497

Date: 2025-05-26 19:57:57
Score: 1
Natty:
Report link

I think you are missing an equal sign for the .FormulaR1C1 here is one Sub that should work:

Sub Macro12()
'
' Macro12 Macro
'
Dim i As Integer

For i = 1 To 64
    Cells(i, 1).FormulaR1C1 = "=<Element Index=""[" & (i + 1) &"]"" Value=""0""/>"
Next i

End Sub

As @VBasic2008 pointed out, this should give you <Element Index="[2]" Value="0"/> in A1.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @VBasic2008
  • Low reputation (0.5):
Posted by: Leyth

79639494

Date: 2025-05-26 19:54:56
Score: 1.5
Natty:
Report link

Sayulita Mexico all-inclusive resorts offer the perfect blend of luxury, relaxation, and adventure on the sun-drenched Riviera Nayarit. These resorts provide a hassle-free vacation experience with gourmet dining, premium drinks, beachside pools, spa treatments, and ocean-view suites—all included. Whether you're planning a romantic getaway, a wellness retreat, or a surf-inspired escape, all-inclusive resorts in Sayulita cater to every travel style. With personalized service and laid-back coastal charm, Sayulita’s resort options make it easy to unwind and soak in the vibrant culture of this bohemian beach town.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: intikhab alam

79639484

Date: 2025-05-26 19:40:52
Score: 2
Natty:
Report link

Here is my poor answer. I hope to help you by this.

This is a common scenario in Single Page Applications (SPAs) that use client-side routing (e.g., React Router):

Since Vite’s default dev server handles SPA fallback correctly, the issue only appears after you deploy your app to your own server or a production environment.

You need to configure your server to fallback all unknown routes to your index.html so React Router can handle routing.

For example, if you use Nginx (common in production): You can add a configuration like this:

location / {
    try_files $uri /index.html;
}

If you use Docker, please let me know, I will help you.

Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pavlo Hushuliak

79639483

Date: 2025-05-26 19:38:51
Score: 0.5
Natty:
Report link

I have faced a similar issue building Qt 6.9.0 for Beaglebone Black, following the official tutorial for the RPI.

When configuring with CMake, add this flag -DFEATURE_neon=ON. All the Neon related problems should be disappear.

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

79639479

Date: 2025-05-26 19:27:47
Score: 12.5
Natty: 7.5
Report link

im also facing the same issue. how did you solve?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve
  • RegEx Blacklisted phrase (1.5): solve?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): also facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: pranav 8267

79639478

Date: 2025-05-26 19:26:46
Score: 6 đźš©
Natty:
Report link

Thank you for answering @dbc,

I know my code wasn't really nice, I just needed to simplify it to explain my problem. I created some nested loops and bit of logic and it seems I am now able to convert that JSON to my own classes :)

Really thanks for your explainations, I was already able to learn something new again. As I mentioned before I am pretty new in JSON and .NET.

Thank you!

Regards blueshift

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): Regards
  • Contains signature (1):
  • No code block (0.5):
  • User mentioned (1): @dbc
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: blueshift

79639476

Date: 2025-05-26 19:25:46
Score: 5
Natty:
Report link

Okay so I put your css inline with the html so I can see better from the editor and I don't see the problem can you explain the issue exactly screenshot of code in action

screenshot of code inline

Reasons:
  • RegEx Blacklisted phrase (2.5): can you explain
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Kelvins

79639475

Date: 2025-05-26 19:24:45
Score: 0.5
Natty:
Report link

There are two things wrong with your code:

  1. Most importantly, in your innermost loop, the while loop, you are setting k to 0 and then saving the current letter into index k of word, that is, in index 0. So you are always overwriting the same array element. With the letters e, v, o and l in order. So the final value is l.
  2. When printing the result you are using the length of the array, so 25 regardless of the length of the word you have found. Since an char array is initialized to hold \0 chracters, 24 of these are printed before the l.
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Tapuarii Horvat

79639462

Date: 2025-05-26 19:13:42
Score: 1
Natty:
Report link

C++23 added several fixed width floating-point type aliases defined in <stdfloat> including float32_t. Note that float32_t is only guaranteed to exist in an implementation if the pre-preprocessor macro __STDCPP_FLOAT32_T__ is defined as 1.

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

79639456

Date: 2025-05-26 19:07:41
Score: 1.5
Natty:
Report link

I know this is an old question, but I stumbled upon this looking for how to do this myself and it took some effort to finally figure it out.

It depends on the amount of nesting you have, but here is how you do it for a top-level page (say, section header):

{% macro list_pages_l1(page_title, navigation) -%}
    {% for nav1 in navigation %}
        {% if nav1.title == page_title %}
            {% for child in nav1.children %}
                {% if child.title != page_title %}
- [{{ child.title }}]( {{ child.canonical_url }} )
                {% endif %}
            {% endfor %}
        {% endif %}
    {% endfor %}
{%- endmacro %}

You can save this in a file (say macros.md) and then call this function from any page, like so:

{% from 'macros.md' import list_pages_l1 %}
{{ list_pages_l1('Plugins', navigation) }}

If interested, you can find my full implementation on GitHub. (permalink). I have also built a L2 implementation which is useful for nested pages.

P.S. Special thanks to @fralau for providing the initial guidance and actually building this amazing library.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @fralau
  • Low reputation (0.5):
Posted by: Yashovardhan99

79639455

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

Best easy just drop column "id" then:

add column at beginning "id" with A.I check-mark

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

79639446

Date: 2025-05-26 18:53:37
Score: 2.5
Natty:
Report link

For future references: you are setting the IMMUTABLE flag on the intent; it should be set on the pending intent. It really is that simple, and there is no underlying bug here, just a small logic error.

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

79639438

Date: 2025-05-26 18:46:35
Score: 2
Natty:
Report link

I have an Ubuntu server 20.04 LTS and I can´t rebuild R-3.4.1 with tcltk support .

I tried using ./configure --prefix=/opt/R --with-tcltk , but it stills showing the message:

error: Tcl/Tk support is not available on this system

Also I have installed tcl8.6 tcl8.6-dev tk8.6 and tk8.6 dev

Any sugestions

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

79639417

Date: 2025-05-26 18:25:28
Score: 1.5
Natty:
Report link
    `if 'add'in user_action:
    todo = user_action[4:]
    todo = todo + "\n"
    with open('todos.txt', 'r') as file:
        todos = file.readlines()

    todos.append(todo)


    with open('todos.txt', 'w') as file :
        file.writelines(todos)`

this will solve the issue

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

79639403

Date: 2025-05-26 18:08:23
Score: 4
Natty:
Report link

Cover The headers with a panel.

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

79639402

Date: 2025-05-26 18:07:22
Score: 1
Natty:
Report link

Working with Windows 11, with MariaDB Server 10.6, in the terminal (GitBash p.e.):

$ net start mariaDB

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

79639392

Date: 2025-05-26 17:54:19
Score: 2
Natty:
Report link

So ... this is embarrassing but I found the error and it was on my side. For whatever reason creating an empty web application with composer generates Bootstrap.php which reads services.neon, but cloning our repo generates a Bootstrap.php where all config files have singular names, meaning service.neon . For some reason. In other words I was writing my configuration in a file which Bootstrap did NOT load. After renaming it properly, everything suddenly works as expected, what a surprise. Thanks for everybody's time, I'm going to silently rethink my life :)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: pittrek

79639382

Date: 2025-05-26 17:49:17
Score: 3
Natty:
Report link

you can separate the Redis connections and queue initialization for the worker thread and the main thread.

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

79639376

Date: 2025-05-26 17:46:16
Score: 1
Natty:
Report link

try this xpath: //option[@value='IND']/text()

assuming this is a dropdown with multiple options, it would give you dynamic text() for that item whose option value is 'IND'.

India So, for this, it will give you India.
Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Narendra Bhagwat

79639367

Date: 2025-05-26 17:36:14
Score: 0.5
Natty:
Report link

I want to forward fill the NaN in "A" column until all 3 columns are equals.

Using Windows and Python 3.13.3.

Use .ffill() for DataFrame

Do iterate for DataFrame to check 2 columns are equals.

Snippet:

tydf['A'] = df['A'].ffill()

for i in range(len(df)):
    if pd.isna(df.at[df.index[i], 'A']):
        # Check if B and C are equal
        if df.at[df.index[i], 'B'] == df.at[df.index[i], 'C']:
            df.at[df.index[i], 'A'] = df.at[df.index[i], 'B']pe here

Output:

2025-05-22 00:00:00  sell   buy  sell
2025-05-22 00:15:00  sell   buy  sell
2025-05-22 00:30:00  sell  sell  sell
2025-05-22 00:45:00  sell   buy  sell
2025-05-22 01:00:00  sell   buy   buy
2025-05-22 01:15:00   buy   NaN  sell
2025-05-22 01:30:00   buy   buy  sell
2025-05-22 01:45:00   buy   buy   buy
2025-05-22 02:00:00   buy   buy   buy
2025-05-22 02:15:00   buy   NaN   NaN
Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Adios Gringo

79639357

Date: 2025-05-26 17:27:11
Score: 2.5
Natty:
Report link

two files need to use font icons in local and solve square boxes : one:css that boxicons.css or boxicons.min.css two:font that boxicons.woff2 or boxicons.woff

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

79639353

Date: 2025-05-26 17:25:10
Score: 1.5
Natty:
Report link

This is clearly broken in Visual Studio 2022, in Text Editor > C# > Code Style > Formatting > General I disabled "Automatically Format" when "Typing", on "Return", on "Paste", and Visual Studio still reformats my code and removes the white space. This is the most time-wasting "feature" Microsoft could ever added to Visual Studio. I always have to reformat the reformatted code on paste. I wish I could charge them the hours of time I have literally wasted on this project over the last year undoing what Microsoft thinks is best for my code. It's also amazing to me to see how many developers complain about stuff like this and yet Microsoft ignores it.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kirk Stowell

79639347

Date: 2025-05-26 17:19:08
Score: 1
Natty:
Report link

Add CERT_STORE_READONLY_FLAG flag

store, err := syscall.CertOpenStore(
       windows.CERT_STORE_PROV_SYSTEM,
       0,
       0,
       windows.CERT_SYSTEM_STORE_LOCAL_MACHINE || CERT_STORE_READONLY_FLAG, 
       uintptr(unsafe.Pointer(syscall.StringToUTF16Ptr("MY"))))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zaher Dirkey

79639341

Date: 2025-05-26 17:14:07
Score: 1
Natty:
Report link

@Aemyl is correct. Your problem is orphaned instances of Tk.

EDIT: I'm just using tk.Tk() here but the solution should be the same. Just use the ctk equivalents.

  1. First you instantiate Tk here: self.window = tk.Tk()
  2. Then you do this in submit:
self.window.withdraw()  # hides the window
self.window.quit()  # exits the mainloop, but the instance is still live
print(self.entrypassword.get())  # add this line and you can see that the widgets are still accessible
  1. Then in show_main_window you start another instance of Tk: window = tk.Tk()
  2. In logout, you correctly kill the new instance: self.master.destory
  3. Then you create a new instance of LoginWindow, which starts another instance of Tk. But the old instance is still there, orphaned, because you never killed it. You just exited the mainloop.

Solution 1 - You actually want new instances

Easy fix. Just replace

self.window.withdraw()
self.window.quit()

with

self.window.destroy()  # no more orphaned instance

Solution 2 - You want to reuse the first instance

  1. Replace
self.window.withdraw()
self.window.quit()

with

self.window.withdraw()
self.user_input.set('')  # clear the Entry
  1. Use Toplevel in show_main_window:
  1. In logout, replace
login = LoginWindow()
login.run()

with

self.master.master.deiconify()
  1. You'll need to handle closing the second window without invoking logout, though, or you'll still have that hidden window hanging around if you close with the [X] button. Add this line just after creating the Toplevel window (in show_main_window:
window.protocol('WM_DELETE_WINDOW', self.exit)
Reasons:
  • Contains signature (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Aemyl
  • Low reputation (0.5):
Posted by: Sam

79639335

Date: 2025-05-26 17:08:05
Score: 3
Natty:
Report link

Yesterday Deal time 09:00 pm but last time in xmaphere chenge to location so without prosses in deirek costomer in of line to vis

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

79639334

Date: 2025-05-26 17:07:05
Score: 0.5
Natty:
Report link

In a typical multi-layered application, the Model usually refers to the database entity (a class that is directly mapped to a table in the database). On the other hand, a DTO (Data Transfer Object) is used to transfer data between layers of the application, particularly when you want to decouple internal models from external representations.

However, some companies may not strictly follow this naming convention. For example, they might suffix their database entities with "DTO" or refer to DTOs as "models." While this isn't necessarily a bad practice, it can lead to confusion, especially for junior developers who are trying to understand the architecture.

Typical Flow in a Multi-Layered Application:

  1. View (Frontend):
    Sends user input and requests to the backend.

  2. Controller:
    Receives data from the frontend and forwards it to the service layer. It may also handle some light aggregation or orchestration logic.

  3. Service Layer:
    Fetches entities from the DAO, performs business logic, and maps entities to DTOs (if needed).

  4. DAO (Data Access Object):
    Handles CRUD operations and returns entities from the database.

  5. Backflow:

    • DAO returns entities to the Service layer.

    • Service processes data, applies business logic, and returns a DTO to the Controller.

    • Controller sends the processed data back to the View (frontend).

In some projects, DTO mapping may also occur at the controller level. This depends on the architectural design and project requirements. However, directly exposing database entities to the frontend is generally discouraged. Instead, entities should be converted to DTOs that only include the required fields. This ensures encapsulation, enhances security, and prevents unnecessary data exposure from the database schema.

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

79639333

Date: 2025-05-26 17:06:05
Score: 2.5
Natty:
Report link

I struggled a lot with this, but for me it was something very simple. Just go to the Ultimate Member tab in the Dashboard, then go to User Profiles, and then make sure the target user profile has "yes" ticked for access to the WP admin panel. That did the trick for me.

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

79639331

Date: 2025-05-26 17:05:04
Score: 3
Natty:
Report link

EXIST HANDLER cannot be part of the procedural code logic. It must be the last item DECLAREd within a BEGIN and END block before any procedural logic code starts.

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

79639317

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

Change your PUMP_MODE to CIMTManagerAPI.EnPumpModes.PUMP_MODE_FULL

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

79639316

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

PostgreSQL treats all unquoted identifiers—such as table names, column names, and other object names as lowercase by default. This means that if you create a table or column using uppercase letters without double quotes, PostgreSQL will automatically convert the name to lowercase.

A similar question on the following link

Reasons:
  • No code block (0.5):
Posted by: Mitko Keckaroski

79639313

Date: 2025-05-26 16:54:00
Score: 1.5
Natty:
Report link

For info i get an issue to be able to use a MSI or a user inside a entra group.

In order to solve the issue i need to add the default schema dbo when i add a external Entra Group in SQL.

$defaultSchema = "dbo"
CREATE USER [$userName] FROM EXTERNAL PROVIDER WITH DEFAULT_SCHEMA = $defaultSchema"
Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: didaskein

79639297

Date: 2025-05-26 16:36:49
Score: 1
Natty:
Report link

I used:

builder.Services.AddHangfireServer();

I am using WebApplicationBuilder in .NET 9.0.

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

79639296

Date: 2025-05-26 16:36:49
Score: 1
Natty:
Report link

It is possible that JAR does not include the dependencies. Provide pom.xml and screenshot of artifact settings.
File >> Project Structure >> Artifacts

You should check console when opening JAR using following command:

java -jar your-jar.jar

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

79639294

Date: 2025-05-26 16:34:49
Score: 5
Natty:
Report link

Can you provide the code because in my project i'm using the <SafeAreaView> from react-native-safe-area-context and it works correctly

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide the code
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Filippo Rizzolo

79639291

Date: 2025-05-26 16:32:48
Score: 3.5
Natty:
Report link

Take a look to this solution. It is a good approch to solve your problem

https://github.com/FranckFreiburger/vue3-sfc-loader

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

79639283

Date: 2025-05-26 16:25:46
Score: 1.5
Natty:
Report link

In production, Next.js doesn't detect new files added to the public/ folder after the server starts. That's why your uploaded images return a 400 until you restart.

Fix: Serve uploads from a separate /uploads folder using a custom server (e.g. Express) or Nginx. Don’t rely on the public/ folder for dynamic content.

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

79639267

Date: 2025-05-26 16:17:44
Score: 1
Natty:
Report link

I wonder why you won't used \n in python. Here's answer to your question:

banner = '*********************************************************************\n hello\n*********************************************************************'; print(banner)

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

79639237

Date: 2025-05-26 15:46:34
Score: 2
Natty:
Report link

You can convert it to binary.

y_pred_binary = (y_pred_continuous >= 0.7).astype(int)

Source: https://www.geeksforgeeks.org/fixing-accuracy-score-valueerror-cant-handle-mix-of-binary-and-continuous-target/

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

79639228

Date: 2025-05-26 15:40:32
Score: 3
Natty:
Report link

Did you check if you are using flag "HttpOnly" at Set-Cookie header?

If your Laravel try to get the "XSRF-TOKEN" using JavaScript, the browser will not allow it with flag "HttpOnly", so try remove this flag.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Thiago Cruz

79639216

Date: 2025-05-26 15:34:31
Score: 1
Natty:
Report link

Delete Podfile.lock

run pod install in iOS directory

if pod install doesn't work, try:

pod repo update or with pod install --repo-update.

Then:

flutter clean && flutter run

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

79639215

Date: 2025-05-26 15:33:30
Score: 4
Natty:
Report link

Any news on this, also interested

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

79639211

Date: 2025-05-26 15:32:30
Score: 3
Natty:
Report link

This usually happens in Pydantic v2, where .model_dump() is a method available on Pydantic model instances, not plain dictionaries.

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

79639210

Date: 2025-05-26 15:31:29
Score: 0.5
Natty:
Report link

I just want to add an important explanation concerning the response of @MattSenter.

The Servlet's dispatcher mechanism in Spring frameworks does the following behind the scenes :

When you add HttpServletResponse as an argument in your controller method as follows :

@RequestMapping
public String myController(@PathVariable someId, ModelMap map, HttpServletResponse response) {
    // whatever the code here
    return "myViewName";
  
}

It returns response (which is of type HttpServletResponse) without needing to write inside your method something like "return response". All is done behind the scenes! I know it's something that can be confusing for beginners !

If you are curious and you wonder how, please read the following :

  1. When your controller method is called, Spring:

    • Injects the HttpServletResponse object automatically.

    • Lets you modify the response (e.g., set cookies, headers).

  2. Spring takes your method's return value (if you have one) (e.g., ResponseEntity<TypeOfResponse>) and combines it with anything you've added to the HttpServletResponse.

  3. Spring then writes the final response to the client automatically. You don't have to call response.send() or return response.

All of these mechanisms are called Inversion of Control (IoC) for Spring MVC and Spring Dispatcher Servlet's.

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

79639197

Date: 2025-05-26 15:23:26
Score: 3.5
Natty:
Report link

There has been work to make gcc use multiple cores, see this link: https://gcc.gnu.org/wiki/ParallelGcc, but it seems to be in internal stages, so not yet able to be used and also seems to not have moved in a few years.

But at least it has been tried, so your flag may exist at some point in the future ;-)

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): see this link
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Florian Heigl

79639196

Date: 2025-05-26 15:23:26
Score: 1.5
Natty:
Report link

it is strange, but I created empty file go.mod with nano, deleted it and after that go also did it successfully.

nano go.mod
Ctrl + S, Ctrl + X - save and exit.
rm go. mod
go mod init data/my_porject - successfully created go.mod

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

79639177

Date: 2025-05-26 15:12:23
Score: 1.5
Natty:
Report link

@bartfer
If I go this way with exactly the described problem of “?” (and solved it like described)
I still don't get the values of the matrix.

Eigen::MatrixXd A(3,5);
A<< 1, 2, 3, 4, 5,
    2, 3, 4, 5, 6,
    3, 4, 6, 7, 8;

(lldb) p A
(Eigen::Matrix<double,-1,-1,0,-1,-1>) $6 = [3, 5] (dynamic matrix) {
  Eigen::PlainObjectBase<Eigen::Matrix<double,-1,-1,0,-1,-1> > = {...} {
    m_storage = {m_data=0x00000212c03ec980 {1}, m_rows=3, m_cols=5} {
      m_data = 0x00000212c03ec980 {1}
      m_rows = 3
      m_cols = 5
    }
  }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @bartfer
  • Low reputation (1):
Posted by: Lurch24

79639176

Date: 2025-05-26 15:12:23
Score: 0.5
Natty:
Report link

Finally got it with the following mapping template

#set($inputBody = $util.parseJson($input.body))
#set($headerValue = $input.params().header.get("X-Project-Id"))
#set($messagePayload = '{ "body":'+$input.body+', "projectId":"'+$headerValue+'"}')
Action=SendMessage&MessageBody=$util.urlEncode($messagePayload)
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Federico Crovetto

79639171

Date: 2025-05-26 15:07:22
Score: 1.5
Natty:
Report link

After implementing a new antivirus solution at our company, the same problem occurs.

Analysis revealed that the antivirus program was opening files in Share Mode: Read, Write, Delete. That means every other program can make what it want on the file. BUT: This is only true, if these other programs like iscc.exe opens the file also with ShareMode: Read.

It seams, that iscc.exe opens the file a few times with the correct mode ShareMode: Read, but now and then with ShareMode: None. This will be immediately answered by Windows with "SHARING VIOLATION". This is shown in Process Monitor clearly.

So how can I create a request to Inno Setup to check this issue?

Btw:

It's a bit of a race condition and occurs only if a lot of anti virus modules (of the same anti-virus-business solution) are running. A similar mistake was in mt.exe of Microsoft, but newer versions of Microsoft Visual Studio uses link.exe instead of mt.exe for embedding the manifest in the executables.

So I think it's a problem in the tools and not in the anti-virus-program. Exceptions in the ant-virus configuration are not really an option because it is company-wide managed.

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: OldMan

79639165

Date: 2025-05-26 15:05:21
Score: 0.5
Natty:
Report link

Since I see an answer here for valgrind, I'll mention that lldb provides a --wait-for flag (just as gdb-apple does), for man lldb | grep wait returns:

--wait-for
       Tells the debugger to wait for a process with the given pid or name to launch before attaching.
-w     Alias for --wait-for
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: RokeJulianLockhart

79639153

Date: 2025-05-26 14:59:19
Score: 0.5
Natty:
Report link

Alright bro, here’s the deal—Microsoft.JavaScript.NodeApi.Generator isn’t playing nice when it comes to delegates inside interfaces. Basically, when you try to export an interface with [JSExport], the tool doesn’t automatically generate the marshalling code needed for those delegates. It’s a known issue, so if your code’s throwing errors, it’s not just you—it’s how the code generation works (or doesn’t work) with delegates used as parameters or return types in interface methods. Hope that helps, man! Lemme know if you need more clarity.

Reasons:
  • Whitelisted phrase (-1): Hope that helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: simar singh rayat

79639152

Date: 2025-05-26 14:59:19
Score: 1
Natty:
Report link

If you have month or day in Integer type, you could just do:

string monthStr = $"{monthInt:00}";
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: AecorSoft

79639150

Date: 2025-05-26 14:58:19
Score: 0.5
Natty:
Report link

Maybe removing them from the "internal" test group and adding them to an external test group would solve that, as then you'd have to manually submit the app to external groups once you deem it's ready (which has to be after it's finished processing).

Alternatively, maybe actually embrace the automation? When submitting, already send the changelog that build should have and once it finishes processing, it will be automatically sent to your internal users but this time it will actually be ready :)? Would that work for you?

If you have more complex things that you need to adjust other than just adding a changelog (e.g. changes in your server, update remote config/feature flags, etc), you could leverage a custom webhook (which Apple doesn't provide, so you'd have to rely on services like Statused) and have your server perform those changes automatically when it receives a webhook event that the build finished processing

I'm curious to hear how you solved this!

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Roger Oba

79639145

Date: 2025-05-26 14:54:17
Score: 4.5
Natty:
Report link

@pchaigno

Here's the XDP features output for my interface:

$sudo tools/net/ynl/pyynl/cli.py --spec Documentation/netlink/specs/netdev.yaml --dump dev-get
{
  'ifindex': 5,
  'xdp-features': {'basic', 'ndo-xmit', 'ndo-xmit-sg', 'redirect', 'rx-sg', 'xsk-zerocopy'},
  'xdp-rx-metadata-features': set(),
  'xdp-zc-max-segs': 8,
  'xsk-features': set()
}

After downgrading the i40e driver (from Ubuntu repos), I'm seeing:

Command used:

$sudo ./ethtool_stat.pl --dev ens1f1np1
Ethtool(ens1f1np1) stat:     12466742 (     12,466,742) <= rx_missed_errors /sec
Ethtool(ens1f1np1) stat:      2177173 (      2,177,173) <= rx_packets /sec

Question: How to find Where exactly are these packets being dropped?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @pchaigno
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Amin

79639142

Date: 2025-05-26 14:52:16
Score: 3.5
Natty:
Report link

If GSC cannot provide a links report, do we have other solutions to obtain this report's data? Including external links, anchor text, etc.

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