79299588

Date: 2024-12-21 14:45:53
Score: 0.5
Natty:
Report link

Could someone update these answers for 2024?

In the answer of Paul LeBeau, I take some part of the the response then whole map is one color, and the map does not work normally.

  {
"featureType": "land.land_cover.landsat_vegetation.dry_crops",
"elementType": "geometry.fill",
"stylers": [
    {
        "hue": null,
        "lightness": null,
        "saturation": null,
        "gamma": null,
        "invertLightness": null,
        "visibility": null,
        "color": "#e7f2ca",
        "weight": null,
        "textScale": null,
        "zoom": null
    }
]

},

In the Mike B answer, there is not origRequest.variables.clientStyle anymore. Outside of requestContext, it has a 'variables' field but it only has .parent, and no. clientStyle

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

79299561

Date: 2024-12-21 14:33:49
Score: 0.5
Natty:
Report link

Since I don't know your memory capacity and the batch processing size you've allocated, let's define two variables for flexibility and to balance memory usage:

Create a thread pool for handling CSV file reads: Initialize this with 4 threads and allow it to scale up to a maximum of 8 threads. This will efficiently manage IO operations without overwhelming system resources. Set the size of each CSV chunk: Given that local IO speed is typically fast, you can set the chunk size to 50,000 rows. Even for datasets as large as 1 million rows, this should ensure minimal IO overhead. Local IO operations should take very little time, even for large datasets like 1 million rows. The core bottleneck appears to be in database processing and some custom logic you have implemented. Without knowing the complexity of your logic, here are some suggestions specifically for optimizing database handling:

Establish a database connection pool: This allows you to reuse connections rather than establishing and tearing down connections repeatedly, which can save significant time. Batch queries based on common fields: If your operations primarily involve queries, look for commonalities among the fields you're querying. MySQL can read thousands or even tens of thousands of records very quickly if indexes are properly set up. Batch similar queries together to reduce the number of individual database calls. You can consider these recommendations, although they are quite general since I don’t have specific details about your setup. Optimizing based on these points should help improve performance.

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

79299560

Date: 2024-12-21 14:33:49
Score: 9
Natty: 7
Report link

Sorry to pump an old thread but this issue is still plaguing Xcode users. I believe it's due to using Migration assistant and the user names being the "Same" but not really the same on the new Mac if you get what I mean. did you solve this?

Reasons:
  • RegEx Blacklisted phrase (3): did you solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Gabe Peña

79299556

Date: 2024-12-21 14:32:48
Score: 3.5
Natty:
Report link

in my case the issue was caused by a newer version of setuptools.

It was fixed by simply downgrading:

pip install setuptools==68

also found the answer here: https://kb.databricks.com/libraries/virtualenv-creation-failure-due-to-setuptools-=-7100-

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

79299554

Date: 2024-12-21 14:30:48
Score: 1.5
Natty:
Report link

Sometimes this error is caused by php.ini. The file size is more than 2M, because it's a video file.

go to the C:\xampp\php directory and open php.ini with your editor. find upload_max_filesize and post_max_size, and change to 100M. then restart the Apache server and you are good to go.

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

79299547

Date: 2024-12-21 14:26:47
Score: 1
Natty:
Report link

Very simple

 protected override void OnModelCreating(ModelBuilder modelBuilder)
{    
modelBuilder.Entity<tbl_user_log>().Property(e => e.LOG_TIME).HasConversion(
          v => v.ToUniversalTime(),
          v => v.AddMinutes(_TimezoneInfo.BaseUtcOffset.TotalMinutes)
         );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alptekin AKAT

79299546

Date: 2024-12-21 14:23:47
Score: 3
Natty:
Report link

hi just want to ask what if a hacker get the token you shared what he can do with it

thanks

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

79299538

Date: 2024-12-21 14:14:45
Score: 0.5
Natty:
Report link

I would like to provide some supplementary information to @Ivan's answer.

Hit the Reformat Code ( + + L) action while you are in the editor for that.

Reformat Code

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

79299537

Date: 2024-12-21 14:13:45
Score: 1.5
Natty:
Report link

For Amplify Gen 2:

import { fetchAuthSession } from 'aws-amplify/auth';

const session = await fetchAuthSession();
console.log("id token", session);

There will be an identityId property from the session object returned.

https://docs.amplify.aws/react/build-a-backend/auth/connect-your-frontend/manage-user-sessions/

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

79299535

Date: 2024-12-21 14:09:45
Score: 1.5
Natty:
Report link

We can access using this way. its working for me.

<script>
 let params = new URLSearchParams(window.location.search)
 console.log(params.get('YourParam))
</script>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Tharuka Dananjaya

79299530

Date: 2024-12-21 14:04:43
Score: 5.5
Natty:
Report link

I encountered a problem while reading the Bochs source code, and I could use some help. Specifically, I'm unsure what BOCHSAPI means. I couldn't find any macro definition for BOCHSAPI, and I also noticed that there’s no such syntax in C/C++. Can anyone help me understand what this is?

It might be a custom preprocessor symbol or a special API flag used within Bochs. You could check if it's defined conditionally in a header file or configuration file that Bochs uses. Sometimes, these types of symbols are defined in build scripts or may depend on certain compilation options. If you can't find it in the source directly, you could look into Bochs documentation or try asking in Bochs development forums.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Andrew Tate

79299525

Date: 2024-12-21 14:01:42
Score: 3
Natty:
Report link

note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for pywinpty Failed to build pywinpty ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (pywinpty)

help me how to fix it

Reasons:
  • Blacklisted phrase (1): help me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohit khodwal

79299521

Date: 2024-12-21 13:58:42
Score: 0.5
Natty:
Report link

To effectively manage your template rendering in a simple MVC procedural PHP structure, you can create a basic template engine that handles file paths correctly, regardless of the directory from which templates are included.

Step 1: Create a Basic Template Engine You can create a simple function to include templates automatically adjusting the paths for stylesheets and scripts.

Step 2: Use the Template Function in Your Pages When you want to include a template, use the renderTemplate function instead of a standard include or require. This function will help you manage paths consistently.

Step 3: Update Your Template Files You will need to adjust how you link to styles and scripts in your template files. Instead of using relative paths, use absolute paths based on the base URL you defined in your renderTemplate function.

Step 4: Adjust Your Directory Structure (Optional) If you find that managing paths is still cumbersome, consider organising your project structure to make it more intuitive. For example, you might move your styles folder to a more accessible location or adjust your folder hierarchy.

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

79299518

Date: 2024-12-21 13:57:41
Score: 1
Natty:
Report link

HTMLAudioElement and AudioBuffer are two separate things which do not interact, for each case the correct one should be chosen, both of them can server the same purpose but the choice should be made according to the circumstances.

An HTMLAudioElement object loads a file and has its own controls (play, stop etc..).

An AudioBuffer object will represent a usually short audio clip saved in memory, created by loading a file as well, this one is played by passing it into AudioBufferSourceNode, which is "parallel" to the controls you have in an HTMLAudioElement.

I advise reading the docs for clarity:

https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement

https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer

https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode

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

79299517

Date: 2024-12-21 13:55:40
Score: 7.5 🚩
Natty: 4.5
Report link

@ekuusela, @smdsgn hi, I know this is some years ago, but I just discovered that the two suggestions work on laptops and computers, but on mobile phones there is a restriction or limitation. On mobile phone I cannot enter more than 4 digits in the field. I mean I cannot enter 1234567890 or more. It only allows 4 digits 1234. Is there a way to improve or work around this limitation while using a mobile phone? Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): Is there a way
  • Blacklisted phrase (0.5): I cannot
  • No code block (0.5):
  • Ends in question mark (2):
  • User mentioned (1): @ekuusela
  • User mentioned (0): @smdsgn
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: user3669874

79299516

Date: 2024-12-21 13:55:39
Score: 2
Natty:
Report link

Some time has passed, and I changed the way I manage my themes. I have a global environment variable THEME that can be dark or light depending on the current system theme. In my lazy.lua, I call os.env to get its value and call vim.cmd("colorscheme <a theme matched with $THEME>"). It's not just as good as VSCode but it does what I need.

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

79299493

Date: 2024-12-21 13:41:37
Score: 2
Natty:
Report link

I recently had a case where i had to remove my foreign key constraints. I had to work with transactions and rollback/commits because of many dependencies and the DB did not support dirty reads for the constraint or the DEFER keyword in adding the constraint. Herefor i decided to remove the FK constraints and pay more attention to keep the database integrety programatticaly.

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

79299487

Date: 2024-12-21 13:39:36
Score: 3.5
Natty:
Report link

I feel like since you're subscribing at the program level, logs won't be filtered by a specific liquidity pool unless you manually parse the associated accounts.

I beleive that you should paste a liquidity pool id into logsSubscribe and parse the transaction info from there.

Im curious - why you think its too much to open a subcription for each pool?

Reasons:
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: skDanny

79299481

Date: 2024-12-21 13:35:35
Score: 3
Natty:
Report link

Message Box does not respond by pressing Small enter key. Small enter key means enter key in Numerical Keypad on right side.

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

79299475

Date: 2024-12-21 13:31:34
Score: 0.5
Natty:
Report link

Try this, it helped me

annotations:
    nginx.org/websocket-services: "your_service"
    kubernetes.io/ingress.class: nginx
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Гали John

79299470

Date: 2024-12-21 13:27:33
Score: 3
Natty:
Report link

This is illegal abuse and severe harassment going on still only because I hold documents the shows how you and GitHub work for real and that is sad criminal and violent behavior that became part of you somehow naturally

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

79299466

Date: 2024-12-21 13:27:33
Score: 1.5
Natty:
Report link

I just ran into a similar issue. The JPA program caches the SQL statements translated from JPQL to avoid the overhead of frequent conversions due to repeated queries. When I checked the memory usage with a JVM analysis tool, I found that the cached SQL queries were taking up a whopping 3000MB of memory space!

To fix this, I adjusted the maximum number of SQL statements that can be cached, and that did the trick.

Good luck!

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

79299463

Date: 2024-12-21 13:23:33
Score: 2.5
Natty:
Report link

Reading about how dice games were handled on the Mac App Store is pretty fascinating .it makes groups of categories like casino games. But now apk games are even more popular and enjoyable . we can also earn cash prizes from such games . Daman App Download apk is also a good platform for casino games and earning money .

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

79299459

Date: 2024-12-21 13:20:32
Score: 1
Natty:
Report link

for the helper to work you need to add transformers:

{
  "request": {
    "urlPath": "/templated"
  },
  "response": {
    "body": "{{request.path.[0]}}",
    "transformers": ["response-template"]
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Abad Mohamed

79299449

Date: 2024-12-21 13:10:30
Score: 3
Natty:
Report link

Now, it's solved. It was issue with mongoose version.

Before:

"@typegoose/typegoose": "^12.9.1",
"mongoose": "^8.8.4"

Changed with:

"@typegoose/typegoose": "^11.8.1",
"mongoose": "^7.8.2",

Thanks @Wernfried Domscheit

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Wernfried
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: sugnay patel

79299446

Date: 2024-12-21 13:07:30
Score: 2
Natty:
Report link

Thanks, both - had some interesting results when running through clang, with Peter's suggestions.

;;; 16-byte align "numbers"
.p2align 4, 0x0               ; previously 2
numbers: .long 1, 2, 3, 4     ; previously .word

.global _start
.p2align 2                    ; reset alignment

_start:
    ;;; Back up x29 and x30, and move stack pointer
    sub sp, sp, #32
    stp x29, x30, [sp, #16]
    add x29, sp, #16

    ;;; Load numbers, as Nate has suggested
    adrp     x8, numbers@page

    ;;; Slightly different `ldr` approach, using q0
    ldr q0, [x8, numbers@pageoff]

    ;;; Accumulate vector
    addv.4s s0, v0

    ;;; Move 32-bit result to 32-bit GP register
    fmov w8, s0

    ;;; Store 64-bit register counterpart onto the stack for printing
    str x8, [sp]

    ;;; Prime string for printing
    adrp    x0, format@page
    add x0, x0, format@pageoff

    ;;; Print string
    bl _printf

    ;;; Prepare "return 0" from "int main()"
    mov w0, #0

    ;;; Restore x29, x30, and original stack pointer
    ldp x29, x30, [sp, #16]
    add sp, sp, #32

    ;;; "return 0"
    ret

format:
    .asciz "Answer: %u.\n"

I received the following alignment error from the linker...

ld: 'numbers' from 'assembly.o' at 0x100003F6C not 16-byte aligned, which cannot be encoded as a target of LDR/STR in '_start'+12 from 'assembly.o'
final section layout:
    __PAGEZERO           addr=0x00000000, size=0x100000000, fileOffset=0x00000000
    __TEXT               addr=0x100000000, size=0x00004000, fileOffset=0x00000000
        __text           addr=0x100003f30, size=0x0000005d, fileOffset=0x00003f30
        __stubs          addr=0x100003f90, size=0x0000000c, fileOffset=0x00003f90
        __unwind_info    addr=0x100003f9c, size=0x00000060, fileOffset=0x00003f9c
    __DATA_CONST         addr=0x100004000, size=0x00004000, fileOffset=0x00004000
        __got            addr=0x100004000, size=0x00000008, fileOffset=0x00004000
    __LINKEDIT           addr=0x100008000, size=0x00004000, fileOffset=0x00008000

..., and needed the .p2align 4, 0x0 for numbers, in order to make it work.

Interesting to see the use of ldr q0, ... instead of ld1 { v0.4s }, ... and addv.4s s0, v0 instead of addv s0, v0.4s, from the compiler.

Will need to do some more research into alignment, experimenting with other instructions, and the choice of x8 over, say, x2 or x3 (avoiding argument registers, maybe?).

Thanks again for your help.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: ironman

79299442

Date: 2024-12-21 13:05:29
Score: 1
Natty:
Report link

If you are using RSYNC as your snapshot type, unchanged files are hard-linked from the previous snapshot to the most current snapshot. So when you do an S3 copy, the links point to the same file.

If you copy 3 snapshots, that same unchanged file is copied 3 times.

I actually stumbled upon your question because I was looking to avoid what happened to you and saw that you didn't have an answer.

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

79299438

Date: 2024-12-21 13:01:28
Score: 4
Natty:
Report link

Problem got resolved after I followed @Basil Bourque's suggestion and specified the correct locale to the DateTimeFormatter.

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

79299436

Date: 2024-12-21 12:58:27
Score: 1
Natty:
Report link

The solution for this problem was changing the ownership of the bow object to match the ownership of the client like this:

private void InteractServerRpc(NetworkObjectReference interactedPlayerNetworkObjectReference, ulong clientId)
{   
    NetworkObject.ChangeOwnership(clientId);
    InteractClientRpc(interactedPlayerNetworkObjectReference);
}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alexandre Carneiro da Silva

79299427

Date: 2024-12-21 12:46:25
Score: 0.5
Natty:
Report link

Calculations using the request.security() function are performed based on the data from the requested chart or timeframe before the main script executes. These calculations are independent of local conditions or the placement of calls within logical blocks on the main script and the request is processed regardless, including any log functions and their results.

This answer from TV is correct... and they are going to update the manual where it implies otherwise.

We can see that this is true, by using function, including a log entry.

f()=>
    log.info("this is log")
    close

... and calling it from another context

out = request.security(syminfo.tickerid, "15", f())
plot(out)

... and we see that the log is populated on every realtime tick.

So my search continues for a way to manage my original performance concern (that is to call a veryHeavyFunction from another context .... but only have it run once-per-bar (or similar) ... and not every single tick).

:-(

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

79299414

Date: 2024-12-21 12:38:23
Score: 1
Natty:
Report link

I was having the same problem with python311, and got puzzled by it. Thanks to the link you provided, I understood that it's because of autolinking, I am adding /NODEFAULTLIB: python313_d.lib to supress the autolinking.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Lawrence Kok

79299407

Date: 2024-12-21 12:34:23
Score: 0.5
Natty:
Report link

Solved!

  1. Create custom Dialect:

public class CnmCustomDialect extends AbstractProcessorDialect {

public CnmCustomDialect() {

    super("CNM Tags", "cnmtags", StandardDialect.PROCESSOR_PRECEDENCE);

}

@Override
public Set<IProcessor> getProcessors(String dialectPrefix) {

    Set<IProcessor> processors = new HashSet<>();       
    processors.add(new TableBuilderElementTagProcessor(getPrefix()));
    return processors;

}

}

  1. Register dialect to WebMvcConfigurer

@Bean

public SpringTemplateEngine templateEngine(ITemplateResolver templateResolver, SpringSecurityDialect sec) {

    final SpringTemplateEngine templateEngine = new SpringTemplateEngine();   

    templateEngine.addDialect(new CnmCustomDialect());
    return templateEngine;

}

3.Implement custom AbstractElementTagProcessor

-Use doProcess() method to get inputs from HTML by this tag variable and bind into the handler variable

-String modelType = tag.getAttributeValue("tt");

-Content=”Add html your content as required”

-structureHandler.replaceWith(content, false);

public class TableBuilderElementTagProcessor extends AbstractElementTagProcessor {

private ApplicationContext applicationContext;


public TableBuilderElementTagProcessor(String dialectPrefix) {
    super(TemplateMode.HTML, dialectPrefix, "table", true, null, false, StandardDialect.PROCESSOR_PRECEDENCE);

}

@Override
protected void doProcess(ITemplateContext context, IProcessableElementTag tag,IElementTagStructureHandler structureHandler) {   
        applicationContext = SpringContextUtils.getApplicationContext(context); 

String content=""; structureHandler.replaceWith(content, false);}}

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Bean
  • Low reputation (0.5):
Posted by: Mayen

79299400

Date: 2024-12-21 12:30:21
Score: 6 🚩
Natty:
Report link

i have a same problem. I just buy hbvcam ov2710. Buat i cant change the exposure and gain. I try in Skype. The gain and exposure can adjust but nothing was change

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): i have a same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Agung

79299399

Date: 2024-12-21 12:29:20
Score: 0.5
Natty:
Report link

Solved!

  1. Create custom Dialect:

public class CnmCustomDialect extends AbstractProcessorDialect {

public CnmCustomDialect() {

    super("CNM Tags", "cnmtags", StandardDialect.PROCESSOR_PRECEDENCE);

}

@Override
public Set<IProcessor> getProcessors(String dialectPrefix) {

    Set<IProcessor> processors = new HashSet<>();       
    processors.add(new TableBuilderElementTagProcessor(getPrefix()));
    return processors;

}

}

  1. Register dialect to WebMvcConfigurer

@Bean

public SpringTemplateEngine templateEngine(ITemplateResolver templateResolver, SpringSecurityDialect sec) {

    final SpringTemplateEngine templateEngine = new SpringTemplateEngine();   

    templateEngine.addDialect(new CnmCustomDialect());
    return templateEngine;

}

3.Implement custom AbstractElementTagProcessor

-Use doProcess() method to get inputs from HTML by this tag variable and bind into the handler variable

-String modelType = tag.getAttributeValue("tt");

-Content=”Add html your content as required”

-structureHandler.replaceWith(content, false);

public class TableBuilderElementTagProcessor extends AbstractElementTagProcessor {

private ApplicationContext applicationContext;


public TableBuilderElementTagProcessor(String dialectPrefix) {
    super(TemplateMode.HTML, dialectPrefix, "table", true, null, false, StandardDialect.PROCESSOR_PRECEDENCE);

}

@Override
protected void doProcess(ITemplateContext context, IProcessableElementTag tag,IElementTagStructureHandler structureHandler) {   
        applicationContext = SpringContextUtils.getApplicationContext(context); 

String content=""; structureHandler.replaceWith(content, false);}}

Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Bean
  • Low reputation (0.5):
Posted by: Mayen

79299397

Date: 2024-12-21 12:23:19
Score: 3
Natty:
Report link

So it turned out that the issue was actually external, after I uninstalled my Avira antivirus, (which was quite annoying!) everything worked like before. So please uninstall your antiviruses like avast, mcafee or Avira, you'll do just fine with Windows defender if you are running Windows.

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

79299391

Date: 2024-12-21 12:21:19
Score: 1.5
Natty:
Report link

TL;DR:

In YAML don't use colons like this: words: other words

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

79299387

Date: 2024-12-21 12:18:18
Score: 3
Natty:
Report link

I'm closing this question because after hours of research I found out only way to extract information is throught DWARF hierarchy which is very hard and complex. GCC doesn't provide return type in decorated names.

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

79299385

Date: 2024-12-21 12:17:18
Score: 1
Natty:
Report link

Always write your table name or schema name in upper letter to get the information.

select * from  all_indexes where OWNER= UPPER('your_schema_name')
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Bipul Jaishwal

79299377

Date: 2024-12-21 12:14:17
Score: 1
Natty:
Report link

When you execute queries to check for the constraint fk_capital, it may not return results because Oracle treats it as FK_CAPITAL internally.

Steps to Resolve the Issue:

  1. Verify the Constraint Name: Run the following query to check for constraints in uppercase:

SELECT owner, constraint_type, table_name FROM user_constraints WHERE constraint_name = 'FK_CAPITAL';

  1. Check All Constraints for the Table: If the above query doesn't work, list all constraints for the nations table to confirm its existence:

SELECT constraint_name, constraint_type FROM user_constraints WHERE table_name = UPPER('NATIONS');

  1. Dropping the Constraint (If Necessary): If the fk_capital constraint exists, you can drop it using:

ALTER TABLE nations DROP CONSTRAINT fk_capital;

  1. Recreate the Constraint: Once confirmed or dropped, you can recreate the constraint:

ALTER TABLE nations ADD CONSTRAINT fk_capital FOREIGN KEY (capital) REFERENCES cities(name);

Additional Tips:

Ensure No Duplicate Constraints: Confirm that no other constraint is using the name fk_capital across different schemas.

SELECT owner, table_name, constraint_name FROM all_constraints WHERE constraint_name = 'FK_CAPITAL';

Schema Ownership: If you are working in a multi-schema environment, ensure you are querying the correct schema by prefixing the table name with the schema name (e.g., schema_name.nations).

If the issue persists, it might be related to the Oracle free version limitations or a database bug.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Rahul Thakur

79299372

Date: 2024-12-21 12:11:15
Score: 4
Natty: 5
Report link

বস অনুগ্রহ পূর্বক আমার একাউন্টে টাকা জমা দেন MD Asgor Ali Exim Bank ltd branch bhola Bangladesh AC 11512100064048 Routing number 100090107

Reasons:
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: MD Asgor Ali

79299327

Date: 2024-12-21 11:41:10
Score: 3.5
Natty:
Report link

SELECT t1.username, t1.email, t2.* FROM table1 t1 JOIN table2 t2 ON t1.username = t2.username WHERE t1.username = 'user1'; Share Edit Follow

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): user1
  • Low reputation (1):
Posted by: Venkat Venkat

79299321

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

If someone finds this thread because Rubocop is running slow for them locally, make sure you have not turned off Rubocop's default caching. For some reason my .rubocop.yml file had UseCache: false and once I deleted that line linting time improved 10x (from ~30s to ~3s).

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

79299315

Date: 2024-12-21 11:31:08
Score: 2
Natty:
Report link

I know it's too late but i want to give alternative to "FLAG_BLUR_BEHIND"

see this: Android 12 Window Blurs

if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
        val window: Window = this.window
        window.setBackgroundBlurRadius(20)  // Set blur radius
}
Reasons:
  • RegEx Blacklisted phrase (1): i want
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Shubham

79299313

Date: 2024-12-21 11:30:08
Score: 1.5
Natty:
Report link

The read_file method of geopandas expect a file adress as input as can be seen here in the documentation https://geopandas.org/en/stable/docs/reference/api/geopandas.read_file.html

import geopandas as gpd
gpd.read_file("./directory/fileName.json")

it seems that the geojson that you are seeking is a geojson file for the US states. You could find this here https://github.com/PublicaMundi/MappingAPI/blob/master/data/geojson/us-states.json?short_path=1c1ebe5

download the file and then use the function to read it and store it as a geodataframe

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

79299308

Date: 2024-12-21 11:28:07
Score: 1
Natty:
Report link

PDLC - TERM 2 Lecture Sequence.
MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY SATURDAY 11.00 am - 12.40 pm Leadership Management - Ms. Sameeksha Shinde Introduction to New Media - Ms. Neha Sharma Basics of TV & Radio - Ms. Duheeta Joshi Overview of Print Production - Ms. Neha Sharma Translations Skills - Ms. Duheeta Joshi

01.00 pm - 02.40 pm Web Designing - Ms. Sonia Pelagade History of Media - Mr. Siddharth Apte Introduction to Computers II - Mr. Gaurang Rajwadkar

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

79299305

Date: 2024-12-21 11:27:05
Score: 7 🚩
Natty:
Report link

I have the same issue with react. Tried with vue still the same issue. Both on a fresh empty project.

Tried the answer above but I still have the error

Reasons:
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (1): I still have the error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Low reputation (1):
Posted by: Marc Habib

79299303

Date: 2024-12-21 11:26:05
Score: 2.5
Natty:
Report link

Instead of using bind-mounts for the data/config/log volumes in the gitlab container, which apparently caused the problem, I switched to docker volumes.

Did not work volumes:

Worked volumes: - gitlab-config:/etc/gitlab - gitlab-data:/var/opt/gitlab

volumes: gitlab-runner: driver: local gitlab-config: driver: local gitlab-logs: driver: local gitlab-data: driver: local

Reasons:
  • Blacklisted phrase (1): Did not work
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user3509208

79299301

Date: 2024-12-21 11:24:04
Score: 1.5
Natty:
Report link

I think the best way to it via skip empty rows, follow below steps

  1. add this use Maatwebsite\Excel\Concerns\SkipsEmptyRows; in your namespace
  2. then implement in this manner class ParadeImport implements ToModel, WithHeadingRow, WithCalculatedFormulas, WithChunkReading, SkipsEmptyRows {}

I hope now you understand how you skip empty rows in maatwebsite package

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

79299293

Date: 2024-12-21 11:15:02
Score: 2
Natty:
Report link

If you're connecting using a public IP and have added'replicaSet' in the connection string but still encounter a connection error, try adding directConnection=true

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

79299284

Date: 2024-12-21 11:07:00
Score: 2
Natty:
Report link

i believe that is the outdated way depending what version of CDK you are currently using. cdk --version in command line, if in version 2 then use new code import * as cdk from 'aws-cdk-lib'

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

79299282

Date: 2024-12-21 11:05:00
Score: 1.5
Natty:
Report link

I'm not sure if this will be helpful to anyone in the future but I was getting the same error message on desktop Github ("The remote disconnected. Check your Internet connection and try again"). I wasn't trying to upload large files so that wasn't the issue.

I ended up going to my github repository (i created it by uploading the files to the webpage) and from there clicking "code" and opening desktop github from there. It then finally published my main branch and now it's working.

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

79299275

Date: 2024-12-21 10:58:59
Score: 1.5
Natty:
Report link

Problem solved. Error was created because of order in Program.cs file, correct order is:

app.UseHttpsRedirection();
app.UseCookiePolicy();
app.UseRouting();
app.UseCors("AllowVueApp");
app.UseAuthentication();
app.UseAuthorization();
app.UseSession();
app.MapControllers();
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Hiroco

79299269

Date: 2024-12-21 10:52:57
Score: 1.5
Natty:
Report link

Rowan Freeman's 2020 answer doesn't work for me; it's December 2024 right now, and I'm using the current html-webpack-plugin 5.6.0 on RsPack (which supports almost all of the api of webpack5, so I think this answer applies to webpack5 as well). I'm also using an RsPack .mjs script to invoke the RsPack JS api, not a .js, so I needed to use mHtmlWebpackPlugin = await import("html-webpack-plugin") instead of require.

What does work is to invoke the plugin with .default like this:

plugins: [
             new mHtmlWebpackPlugin.default({
                 template: "template.html"
             })
         ]

I discovered this in the following way:

  1. Add only the import you want to try, not any invocation
  2. Place a breakpoint just after the import, such as by inserting debugger;
  3. Run the build script in debug mode (I used VSCode) and when the breakpoint is reached, examine the structure of what was imported.

Note that you don't have to name the import mHtmlWebpackPlugin; you can strip the leading m or name it whatever you want.

Btw, static import import * as mHtmlWebpackPlugin from "html-webpack-plugin"; also works.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): doesn't work for me
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: DavidP

79299268

Date: 2024-12-21 10:51:57
Score: 0.5
Natty:
Report link

Try

mydb ‹ "/home/rian/mydump.sql

Instead of

--database="mydb" ‹ "/home/rian/mydump.sql

Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Frank Fu

79299267

Date: 2024-12-21 10:51:56
Score: 4.5
Natty: 6.5
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

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

79299266

Date: 2024-12-21 10:50:56
Score: 2
Natty:
Report link

You need to refresh the BibTex Key. Right-click on the citation you would like to export and then: better BibTex -> Refresh BibTex Key.

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

79299265

Date: 2024-12-21 10:50:56
Score: 4
Natty:
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

RAG is what you are looking for

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299263

Date: 2024-12-21 10:49:55
Score: 4.5
Natty: 6.5
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

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

79299261

Date: 2024-12-21 10:49:54
Score: 4
Natty: 6
Report link

Well if you want to deploy it on your own, and wish to develop a RAG assistant, I would suggest to have a look at this article https://ttml.in/how-to-make-your-own-ai-assistant-with-rag/ and this https://ttml.in/how-to-make-an-ai-chatbot-in-python/

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Avinash Rai

79299260

Date: 2024-12-21 10:48:53
Score: 0.5
Natty:
Report link

As @Sören said, until the recent versions, it was just assumed that everything needs to be inside of a class, even the entry point of a program (maybe for injecting further dependencies inside the class). That is because Java is a purely object-oriented language (at least it was).

Now, you can write your main without actually defining any class. This happened since Java 21.

public static void main(String[] args) {
    System.out.println("Hello, World!");
}

The runtime would compile and automatically create a class around it, based on the name of the .java file containing the method.

This version allows you to define the main logic without even creating a method.

System.out.println("Hello, World!");

inside a MyRunner.java file would be translated by the JVM as:

public class MyRunner {
    public static void main(String[] args) {
        System.out.println("Hello, World!");
    }
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Sören
  • Low reputation (0.5):
Posted by: Mario Mateaș

79299259

Date: 2024-12-21 10:48:53
Score: 3
Natty:
Report link

Type 'Response<any, Record<string, any>>' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]ts(2739)

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

79299258

Date: 2024-12-21 10:45:53
Score: 2.5
Natty:
Report link

Using Tailwind CSS classes in React Native is made possible by NativeWind, which may streamline and expedite the styling process. A low-level tool for building designs is offered by Tailwind CSS, a utility-first CSS framework. It comes with a wide range of pre-made utility classes that can help you style your project more quickly and consistently.

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (1): this video
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pratik Prakash Bindage

79299240

Date: 2024-12-21 10:26:50
Score: 1
Natty:
Report link

In python3 you can convert each pd.DataFrame object in the given list

json_dfs = json.dumps([df.to_json() for df in [df1, df2]])

To convert it back, simply use

dfs = [pd.read_json(df_js) for df_js in json.loads(json_dfs)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: KiRUN

79299232

Date: 2024-12-21 10:22:49
Score: 0.5
Natty:
Report link

I've been dealing with the same problem. In my case, I wanted to construct a nonlinear system of equations to be solved with fsolve from a cell array that contains each equation as one anonymous function in each cell, thus a for-loop approach for evaluations wouldn't work. I found this one-line-almost-illegible statement that works fine for this case:

F = {@(x,~)x, @(x,y)x+y, @(~,y)y^2}; %The cell array you asked as example

fun = @(x,y)cell2mat(arrayfun(@(xval,yval) cellfun(@(c) c(xval,yval),F),x,y,'UniformOutput',false))

Now fun will be an anonymous function that outputs the evaluation of F elements as a matrix. If you prefer the output as a cell array, remove 'cell2mat'.

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

79299211

Date: 2024-12-21 10:07:46
Score: 2
Natty:
Report link

Fixed the issue :

app.use(helmet({ crossOriginOpenerPolicy: { policy: "unsafe-none" } }));
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Edo

79299205

Date: 2024-12-21 10:02:45
Score: 1
Natty:
Report link
    url: dataUrl,

loadonce:false, scroll:true, mtypge:GET, datatype: "json", height: 550, width: 1180, colNames: columnNames, colModel: columnModel,
rowNum: 100, mtype: "POST", gridview: false, sortname: "Times", viewrecords: true

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

79299203

Date: 2024-12-21 10:00:44
Score: 2.5
Natty:
Report link

You should use {% extends "base.html" %} in index.html

don't not use include in index.html {% include "base.html" %}.

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

79299200

Date: 2024-12-21 09:59:44
Score: 3
Natty:
Report link

ERROR E_DEVELOPER_ERROR Invalid product ID. WARN purchaseErrorListener {"code": "E_DEVELOPER_ERROR", "debugMessage": "Invalid product ID.", "message": "Invalid product ID.", "productId": "inAppPremium"} ienter image description here

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

79299163

Date: 2024-12-21 09:31:37
Score: 1.5
Natty:
Report link

use

<script src="https://cdn.tailwindcss.com"></script>

in your document <head></head> tag

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

79299162

Date: 2024-12-21 09:31:37
Score: 1
Natty:
Report link

I resolved this issue by putting the app.js (index.js) in the same location of the project.

Reasons:
  • Whitelisted phrase (-2): I resolved
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lahiru Dilshan

79299161

Date: 2024-12-21 09:29:37
Score: 2.5
Natty:
Report link

Its too tooo late but I found a solution but with a different angle...

You can generated PDF directly and display it in .

by doing this, you can also close rd object after use...

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

79299160

Date: 2024-12-21 09:29:36
Score: 7.5
Natty: 8
Report link

How do i convert the code for Windows x64? https://github.com/sq5bpf/telive/blob/master/telive.c

Reasons:
  • Blacklisted phrase (1): How do i
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): How do i
  • Low reputation (1):
Posted by: Datateknikk studios

79299154

Date: 2024-12-21 09:28:36
Score: 0.5
Natty:
Report link

you must uninstall all pyqt5 packages , first you should find all pyqt5 packages by

pip freeze

then uninstall all of them as following

pip uninstall PyQt5 PyQt5-Qt5 PyQt5-sipPyQtWebEnginePyQtWebEngine-Qt5
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Youssri Abo Elseod

79299153

Date: 2024-12-21 09:27:35
Score: 3
Natty:
Report link

you can try update the jqGrid's url on click of button click and probably use triggerReload() in jqGrid

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

79299151

Date: 2024-12-21 09:26:35
Score: 2.5
Natty:
Report link

maybe the following could work (only if you don't use 2FA): https://account.live.com/acsr

The link leads you to a website from Microsoft to recover your account.

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

79299148

Date: 2024-12-21 09:23:34
Score: 2.5
Natty:
Report link

Just want to simplify that async function missed by the await keyword

ex: final userCredential = await FirebaseAuth.instance.signInWithEmailAndPassword()

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

79299146

Date: 2024-12-21 09:23:34
Score: 4
Natty:
Report link

your code is working perfectly in flutter 3.27.0 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: Nim

79299144

Date: 2024-12-21 09:20:33
Score: 4
Natty:
Report link
var expandParttern = item.Patterns.ExpandCollapse.Pattern;
if (expandParttern.ExpandCollapseState == FlaUI.Core.Definitions.ExpandCollapseState.Collapsed)
 {
     expandParttern.Expand();

 }

我刚刚遇到了同样的问题,用以上方式解决了,亲测有效!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • No latin characters (3):
  • Low reputation (1):
Posted by: 闫繁宇

79299140

Date: 2024-12-21 09:17:32
Score: 1
Natty:
Report link

The two probable causes are:

  1. An internal error from react native: Currently there’s an issue open with regard to this error showing up. This occurs currently on version 0.76.5. It’s an autolinking bug introduced while ago when a new feature was being worked on.
  2. The second is if by any means a dependency you installed is broken. My scenario came about when I was building a pure C++ turbo module for android and forgot or more or less didn’t know I was to link it to libboost_atomic.so in my CmakeLists.txt. I ported the code from a desktop app I worked on and never did need to link to that specifically. I linked to other things like boost thread and filesystem however. The error that showed the missing .so file showed up in Android Studio’s logcat just before this error showed up. The emulator screen tells you half truths most of the time. So trying probing your dependency list to see if any is faulty. Check your logcat output also.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Praise Akpan

79299134

Date: 2024-12-21 09:11:30
Score: 4.5
Natty:
Report link

Best 3D Printing and Model making company https://inoventive.com/

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

79299133

Date: 2024-12-21 09:11:28
Score: 7 🚩
Natty:
Report link

I am making something similar to this UI but I am not able to toggle. I have added 2 buttons as math and greek. So what I want is when I click on math then math operators should be loaded and when I click on greek then greek operators should be loaded but each time math operator is loading. I have tried to console.log formulas are changing but not reflecting in UI. Can you share your math quill code here with toggling functionality. That would be really helpful.enter image description here

Reasons:
  • Blacklisted phrase (1): I am not able to
  • Blacklisted phrase (1): enter image description here
  • RegEx Blacklisted phrase (2.5): Can you share your
  • RegEx Blacklisted phrase (1): I want
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shiva Raj

79299132

Date: 2024-12-21 09:09:27
Score: 1
Natty:
Report link

By graphs, do you mean the expressions? Not sure if this is what you mean, but press ctrl+shift+i, and go onto console. The run this:

for (let i = 1; i < Calc.getExpressions().length+1; i++) {
  Calc.setExpression({id:i,color:'#000000'});
}

It will change all expressions to black, but you can change color value to a different hex code However, this causes some errors on some expressions, (e.g. this that don't have colors) and isn't foolproof.

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

79299130

Date: 2024-12-21 09:09:27
Score: 1
Natty:
Report link

I disagree, vorbis is not the only codec supporting surround-sound. As you can see in this cutcutcodec example, aac, alac, mlp, vorbis and wavpack are also able to deal with 5.1 layout.

from cutcutcodec.core.compilation.export.compatibility import Compatibilities
print(Compatibilities().codecs_audio(layout="5.1"))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: robinechuca

79299122

Date: 2024-12-21 09:02:25
Score: 2
Natty:
Report link

as @rw_ pointed out, my UserProfile.create in amplify/auth/post-confirmation/handler.ts and the UserProfile defined in amplify/data/resource.ts had different attributes. I updated the UserProfile model and changed name to email. This made the function work

amplify/data/resource.ts

const schema = a.schema({ 
  UserProfile: a 
    .model({
      email: a.string().required() // changed from 'name'
      ...
    })
    ...
})
...
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @rw_
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: noor soreti

79299120

Date: 2024-12-21 09:01:25
Score: 0.5
Natty:
Report link

Try using extends, not include. Templates are created using the first variant. Include just brings the whole html over your second one.

{% extends "base.html" %}
{% load static %}

{% block content %}
<p> body </p>
{% endblock content %}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mario Mateaș

79299118

Date: 2024-12-21 09:01:25
Score: 2.5
Natty:
Report link

You can go through the tutorial and you will get all the answers related to Splunk -

Splunk - Beginner to Architect Tutorial

I have covered everything from very basic to advanced in the above playlist.

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

79299110

Date: 2024-12-21 08:53:23
Score: 0.5
Natty:
Report link

acw1668 told to read https://pyinstaller.org/en/stable/runtime-information.html
Using that , i changed tkinter code to following

import tkinter as tk
import sys
from os import path
class Application(tk.Tk):
    def __init__(self, title:str="Simple", x:int=0, y:int=0, **kwargs):
        tk.Tk.__init__(self)
        self.title(title)
        self.config(**kwargs)
        #
        if getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS'):
            print('running in a PyInstaller bundle')
        else:
            print('running in a normal Python process')
        self.first_row_frame=tk.Frame(self)
        path_to_dat = path.abspath(path.join(path.dirname(__file__),'icofolder'))
        print(path_to_dat)
        self.iconbitmap(path_to_dat+'\\icon.ico')
        self.first_row_frame.grid(column=0,row=0,sticky='W')
        self.lbl_ser_num=tk.Label(self.first_row_frame,text="Sr No:",font='Arial 50 bold')
        self.lbl_ser_num.grid(column=0,row=0)
        self.update_idletasks()
        self.state('zoomed')

if __name__ == "__main__":
    # height of 0 defaults to screenheight, else use height
    Application(title="simple app").mainloop()

Then I created exe using following command

pyinstaller --clean --onefile -i "icon.ico" --add-data "icon.ico;icofolder" my-script.py

Then you simply run exe file of dist folder from anywhere.

Now only thing is that icon is blurry though my icon is 184x256 pixel as per mspaint.
Thanks.

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

79299100

Date: 2024-12-21 08:49:22
Score: 2.5
Natty:
Report link

I faced the same issue when switching my terminal profile from "Basic" to "Homebrew," but everything worked fine after reverting back.

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

79299097

Date: 2024-12-21 08:45:21
Score: 3
Natty:
Report link

if you using approuter you most use the next/headers in server component and if you use pages context.req.headers.cookie anyway you most use coockie for ssr api

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

79299092

Date: 2024-12-21 08:39:20
Score: 2
Natty:
Report link

The reason is due to the colors. Since the list c1 only has 186 elements, desmos can only graph that many items. Changing the color to one of the default colors makes all the polygons appear.

I am not sure how to get all the colors, but rgb([0...c],0,0) works fairly well.

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

79299090

Date: 2024-12-21 08:37:20
Score: 2.5
Natty:
Report link

I just copied your code and run with Flutter 3.27.1. It's working fine for me. There should be some other issue.

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

79299080

Date: 2024-12-21 08:28:18
Score: 2.5
Natty:
Report link

You can go through the tutorial and you will get all the answers related to Splunk -

Splunk - Beginner to Architect Playlist

In the above playlist I have covered all the topics from very basic to advance.

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

79299079

Date: 2024-12-21 08:26:18
Score: 1
Natty:
Report link

There's a cross-platform way to check for battery status with SDL/SDL2/SDL3 with SDL_GetPowerInfo() in <SDL/SDL_power.h>. Then you can compare the status with SDL_PowerState enumerations, for instance:

SDL_PowerState systemPowerState = SDL_GetPowerInfo(NULL, NULL);
if (systemPowerState == SDL_POWERSTATE_NO_BATTERY)
    // check for mailbox
else
    // check for relaxed_fifo
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Brain_driver_not_found

79299069

Date: 2024-12-21 08:14:15
Score: 4.5
Natty:
Report link

If anyone is still looking for a solution, I created this template based on Harshal Patil's answer

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

79299061

Date: 2024-12-21 08:02:13
Score: 1
Natty:
Report link

Per the comments found here https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/values.yaml#L2367, updating your Helm values to include the following block should resolve this issue:

      prometheusOperator:
        admissionWebhooks:
          annotations:
            argocd.argoproj.io/hook: PreSync
            argocd.argoproj.io/hook-delete-policy: HookSucceeded
          mutatingWebhookConfiguration:
            annotations:
              argocd.argoproj.io/hook: PreSync
          validatingWebhookConfiguration:
            annotations:
              argocd.argoproj.io/hook: PreSync
          patch:
            annotations:
              argocd.argoproj.io/hook: PreSync
              argocd.argoproj.io/hook-delete-policy: HookSucceeded
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: majo

79299057

Date: 2024-12-21 08:01:12
Score: 4
Natty:
Report link

I can't comment, so this is my only way to respond...

Have you tried using other resources? For example using Google Collab/AWS. Both are free depending on how much you are using. I could help you set it up if you would like

Just an idea?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (1): can't comment
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Explants

79299055

Date: 2024-12-21 07:57:11
Score: 0.5
Natty:
Report link

In Java, if a getter method is not returning the value set in the constructor, there are a few possible reasons:

Improper constructor initialization: Ensure that the constructor is correctly initializing the field.

java Copy code public class MyClass { private int value;

// Constructor
public MyClass(int value) {
    this.value = value;
}

// Getter
public int getValue() {
    return value;
}

} Object instantiation issue: Make sure you are creating the object properly and calling the getter method on the correct instance.

java Copy code MyClass obj = new MyClass(5); System.out.println(obj.getValue()); // Should print 5 Setter method overwriting: If there is a setter method that updates the value, verify that it's not being called and overwriting the constructor value unintentionally.

Check these points to ensure the getter returns the correct value.

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

79299052

Date: 2024-12-21 07:56:11
Score: 0.5
Natty:
Report link
constructor({ id = 0, name =  '', lastName = '', eyeColor = '', age = 0 } = {}) {
    this.id = id;
    this.name = name;
    this.lastName = lastName;
    this.eyeColor = eyeColor;
    this.age = age;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ProJin

79299050

Date: 2024-12-21 07:55:09
Score: 4
Natty:
Report link

356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333356333333333333333333333333333333563333333333333333333333333333335633333333333333333333333333333

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Filler text (0.5): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 333333333333333333333333333333
  • Filler text (0): 33333333333333333333333333333
  • Low entropy (1):
  • Low reputation (1):
Posted by: user28879738

79299046

Date: 2024-12-21 07:53:08
Score: 2.5
Natty:
Report link

فالايمانُ بالنبيّ مُحَمَّدٍ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَاجِبٌ مُتَعَين لَا يَتِمّ إيمَانٌ إلَّا بِهِ وَلَا يَصِحُّ إِسْلَامٌ إلَّا مَعَهُ . قَالَ تَعَالَى: (وَمَنْ لَمْ يُؤْمِنْ بِاللَّهِ وَرَسُولِهِ فَإِنَّا أَعْتَدْنَا اعتدنا للكافرين سعيرا. صلى الله عليه وسلم قَالَ: (أُمِرْتُ أَنْ أُقَاتِلَ النَّاسَ حَتَّى يشهدوا أن لا إلا إِلَّا اللَّهُ وَيُؤْمنُوا بِي وَبِمَا جِئْتُ بِهِ، فَإِذَا فَعَلُوا ذَلِكَ عَصَمُوا مِنِّي دِمَاءَهُمْ وَأَمْوَالَهُمْ إِلَّا بِحَقِّهَا وَحِسَابُهُمْ عَلَى اللَّهِ) قَالَ الْقَاضِي أَبُو الْفَضْلِ : (وَفَّقَهُ اللَّه)، وَالْإِيمَان بِهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ هُوَ تَصْدِيقُ نُبُوَّتِهِ وَرِسَالَةِ اللَّه لَهُ وَتَصْدِيقُهُ فِي جَمِيعِ مَا جَاءَ بِهِ وَمَا قَالَهُ وَمُطَابَقَةُ تَصْدِيقِ الْقَلْبِ بِذَلِكَ شَهَادَة اللّسَانِ بِأَنَّهُ رَسُولُ اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ، فَإِذَا اجْتَمَعَ التَّصْدِيقُ بِهِ بالْقَلْبِ وَالنُّطْقُ بِالشَّهَادَةِ بِذَلِكَ بِاللّسَانِ تم الْإِيمَانُ بِهِ وَالتَّصْدِيقُ لَهُ كَمَا وَرَدَ فِي هَذَا الْحَدِيثِ نفسِهِ من رِوايَةِ عَبْد اللَّه بن عُمَرَ رَضِيَ اللَّه عَنْهُمَا (أُمِرْتُ) أنْ أُقَاتِلَ النَّاسَ حَتَّى يَشْهَدُوا أن لا إله إلا الله وَأَنَّ مُحَمَّدًا رَسُولُ اللَّه)فصل وَأَمَّا وُجُوبُ طَاعَتِهِ: فَإِذَا وَجَبَ الْإِيمَان بِهِ وَتَصْدِيقُهُ فِيمَا جَاءَ بِهِ وَجَبَتْ طَاعَتُهُ لِأَنَّ ذَلِكَ مِمَّا أتى بِهِ قَالَ اللَّه تعالى (يا أيها الَّذِينَ آمَنُوا أَطِيعُوا اللَّه وَرَسُولِهِ) وَقَالَ (قُلْ أَطِيعُوا اللَّهَ وأطيعوا الرسول) أَبَا هُرَيْرَةَ يَقُولُ: إِنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ (مَنْ أَطَاعَنِي فَقَدْ أَطَاعَ اللَّهَ وَمَنْ عَصَانِي فَقَدْ عَصَى اللَّهَ وَمَنْ أَطَاعَ أَمِيرِي فَقَدْ أَطَاعنِي وَمَنْ عَصَى أَمِيرِي فَقَدْ عَصَانِي): وَقَالَ السَّمْرَقَنْدِيُّ يُقَالُ: أَطِيعُوا اللَّه فِي فَرَائِضِهِ والرَّسُولَ فِي سُنَّتِهِ قَالَ مُحَمَّد بن عَلِيٍّ التَرْمِذيّ: الْأُسْوَةُ فِي الرَّسُول الاقْتِدَاءُ بِهِ وَالاتّبَاعُ لِسُنّتِهِ وَتَرْكُ مُخَالَفَتِهِ فِي قَوْلٍ أَوْ فِعْلٍ وَقَالَ غَيْرُ وَاحِدٍ مِنَ الْمُفَسّرِينَ بِمَعْنَاهُ وَقِيلَ هُوَ عِتَابٌ لِلْمُتَخَلّفِينَ عَنْهُ وَقَالَ سَهْلٌ فِي قَوْلِهِ تَعَالَى (صِرَاطَ الَّذِينَ أَنْعَمْتَ عَلَيْهِمْ) قَالَ بِمُتَابَعَةِ السُّنَّةِ فَأَمَرَهُمْ تَعَالَى بِذَلِكَ وَوَعَدَهُمُ الاهْتِدَاءَ بِاتِّبَاعِهِ لِأَنَّ اللَّهَ تَعَالَى أَرْسَلَهُ بِالْهُدَى وَدِينِ الْحَقِّ لِيُزَكِّيَهُمْ وَيُعَلِّمَهُمُ الْكِتَابَ وَالْحِكْمَةَ وَيَهْدِيَهُمْ إلى صراط فمستقيم وَوَعَدَهُمْ مَحَبَّتَهُ تَعَالَى فِي الآيَةِ الْأُخْرَى وَمَغْفِرَتِهِ إِذَا اتَّبَعُوهُ وَآثَرُوهُ عَلَى أَهْوَائِهِمْ وَمَا تَجْنَحُ إليْهِ نُفُوسُهُمْ وَأَنَّ صِحّةَ إيمَانهِمْ بانْقِيَادِهِمْ لَهُ وَرِضَاهُمْ بِحُكْمِهِ وَتَرْكِ الاعْتِرَاضِ عَلَيْهِ،وَكَتَبَ عُمَرُ بن الْخَطَّابِ رَضِيَ اللَّه عَنْهُ إِلَى عُمَّالِهِ بِتَعَلُّمِ السُّنَّةِ وَالفَرَائِضِ وَاللَّحْنِ أَي اللُّغَةِ وَقَالَ إنَّ ناسًا يُجَادلُونَكُمْ - يَعْنِي بِالْقُرْآنِ - فَخُذُوهُمْ بالسُّنَنِ فَإِنَّ أصْحَابَ السُّنَنِ أَعْلَمُ بِكِتَاب اللَّه، وَكَانَ ابن مَسْعُودٍ يَقُولُ: القَصْدُ فِي السُّنَّةِ خَيْرٌ مِنَ الاجْتِهَادِ فِي البِدْعَةِ، وَقَالَ ابن عُمَرَ: صَلَاةُ السَّفَرِ رَكْعَتَانِ مَنْ خَالَفَ السُّنَّةَ كَفَرَ،وَعَنْ عَطَاءٍ فِي قَوْلِهِ تَعَالَى (فَإِنْ تَنَازَعْتُمْ فِي شئ فَرُدُّوهُ إِلَى اللَّهِ والرسول) أَيْ إِلَى كِتَابِ اللَّه وَسَنَّةِ رَسُولِ اللَّه صلى اله عله وَسَلَّمَ، لْبَابِ الثاني: فِي لزوم محبته صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ

قُلْ إِنْ كَانَ آبَاؤُكُمْ وَأَبْنَاؤُكُمْ وَإِخْوَانُكُمْ وَأَزْوَاجُكُمْ وَعَشِيرَتُكُمْ وَأَمْوَالٌ اقترفتموها) الآيَةَ وَعَنْ أَنَسٍ عَنْهُ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ (ثَلَاثٌ مَنْ كُنَّ فِيهِ وَجَدَ حَلَاوَةَ الْإِيمَانِ: أَنْ يَكُونَ اللَّهُ وَرَسُولُهُ أَحَبَّ إِلَيْهِ مِمَّا سِوَاهُمَا وأن يحبالْمَرْءَ لَا يُحِبُّهُ إِلَّا لِلَّهِ وَأَنْ يَكْرَهَ أَنْ يَعُودَ فِي الكُفْرِ كَمَا يَكْرَهُ أَنْ يُقْذَفَ فِي النَّارِ) وَعَنْ عُمَرَ بْنِ الْخَطَّابِ رَضِيَ اللَّه عَنْهُ أَنَّه قَالَ لِلنَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لأَنْتَ أَحَبُّ إِلَيَّ مِنْ كُلِّ شئ إِلَّا نَفْسِي الَّتِي بَيْنَ جَنْبَيَّ فَقَالَ لَهُ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ (لَنْ يُؤْمِنَ أَحَدُكُمْ حَتَّى أَكُونَ أَحَبَّ إِلَيْهِ مِنْ نَفْسِهِ) فَقَالَ عُمَرُ وَالَّذِي أَنْزَلَ عَلَيْكَ الْكِتَابَ لأَنْتَ أَحَبُّ إِلَيَّ مِنْ نَفْسِي الَّتِي بَيْنَ جَنْبَيَّ فَقَالَ له النبي صلى الله عليه وسلم (الآنَ يَا عُمَرُ) قَالَ سَهْلٌ من لَمْ يَرَ وِلايَةَ الرَّسُولِ عَلَيْهِ فِي جَمِيعِ الأحْوَالِ وَيَرَى نَفْسَهُ فِي مِلْكِهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ لَا يَذُوقُ حَلَاوَةَ سُنَّتِهِ لِأَنَّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ (لَا يُؤْمِنُ أَحَدُكُمْ حَتَّى أَكُونَ أَحَبَّ إِلَيْهِ مِنْ نَفْسِهِ) الْحَدِيثَ فصل فِي علامة محبته صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ اعْلَمْ أَنَّ من أَحَبَّ شَيْئًا آثره وَآثَرَ مُوَافَقَتَهُ وَإلَّا لَمْ يَكُنْ صَادقًا فِي حُبّهِ وَكَانَ مُدَّعِيًا فالصَّادِقُ فِي حُبَّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ من تَظْهَرُ علامة ذَلِكَ عَلَيْهِ وَأوَّلُهّا: الاقْتِدَاءُ بِهِ وَاسْتِعْمَالُ سُنّتِهِ وَاتّبَاعُ أقْوَالِهِ وَأفْعَالِهِ وَامْتِثَالُ أوَامِرِهِ وَاجْتِنَابُ نَوَاهِيهِ وَالتَّأَدُّبُ بِآدَابِهِ فِي عُسْرِهِ وَيُسْرِهِ وَمَنْشَطِهِ وَمَكْرهِهِ وَشَاهِدُ هَذَا قَوْلُهُ تَعَالَى (قُلْ إِنْ كُنْتُمْ تُحِبُّونَ اللَّهَ فاتبعوني يحبكم الله) وَإِيثَارُ مَا شَرَعَهُ وَحَضَّ عَلَيْهِ عَلَى هَوَى نَفْسِهِ وَمُوافَقَةِ شَهْوَتِهِ قَالَ اللَّه تَعَالَى (وَالَّذِينَ تبوؤا الدَّارَ وَالإِيمَانَ مِنْ قَبْلِهِمْ يُحِبُّونَ مَنْ هَاجَرَ إِلَيْهِمْ وَلا يَجِدُونَ فِي صُدُورِهِمْ حَاجَةً مِمَّا أُوتُوا وَيُؤْثِرُونَ عَلَى أَنْفُسِهِمْ وَلَوْ كَانَ بِهِمْ خصاصة) وَإسْخَاطُ الْعِبَادِ فِي رِضَى اللَّه تَعَالَى ، قَالَ سَهْلُ بن عَبْد اللَّه: عَلَامَةُ حُبّ اللَّه حُبُّ الْقُرْآنِ وَعَلَامَةُ حُبّ الْقُرْآنِ حُبُّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وَعَلَامَةُ حُبّ النَّبِيّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ حُبُّ السُّنَّةِ وَعَلَامَةُ حُبّ السُّنَّةِ حُبُّ الآخِرَةِ وَعَلَامَةُ حُبّ الآخِرَةِ بُغْضُ الدُّنْيَا وَعَلَامَةُ بُغْضِ الدُّنْيَا أنْ لَا يَدَّخِرَ مِنْهَا إلَّا زَادًا وَبُلْغَةً إِلَى الآخِرَةِ، وَرَوَى التِّرْمِذِيُّ عَنْ أَنَسٍ أَنَّ رَسُولَ اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ كَانَ يَخْرُجُ عَلَى أصْحَابِهِ مِنَ المُهَاجِرِينَ وَالْأَنْصَارِ وهم جُلُوسٌ فِيهِمْ أَبُو بَكْرٍ وَعُمَرُ فَلَا يَرْفَعُ أَحَدٌ مِنْهُمْ إِلَيْهِ بَصَرَهُ إِلَّا أَبُو بَكْرٍ وَعُمَرُ فَإِنَّهُمَا كَانَا يَنْظُرَانِ إِلَيْهِ وَيَنْظُرُ إِلَيْهِمَا وَيَتَبَسَّمَانِ إِلَيْهِ وَيَتَبَسَّمُ لَهُمَا، وَرَوَى أسَامَةُ بن شَرِيكٍ قَالَ أتَيْتُ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ وأصْحَابُهُ حَوْلَهُ كأنما على رؤسهم الطَّيْرُ، وَفِي حَدِيث المُغِيرَة كَانَ أصْحَابُ رَسُول اللَّه صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقْرَعُونَ بَابَهُ بِالْأَظَافِرِ، وَقَالَ البَرَاءُ بن عازِبٍ لَقَدْ كُنْتُ أُرِيدُ أنْ أسْألَ رَسُولَ اللَّه صلى الله عليه وَسَلَّمَ عَنِ الْأَمْر فأؤخّرُ سِنِينَ من هَيْبَتِهِ قَالَ أَبُو إبراهيم التّجِيبيُّ وَاجِبٌ عَلَى كُلّ مُؤْمِن مَتَى ذَكَرَهُ أَوْ ذُكِرَ عِنْدَهُ أنْ يَخْضَعَ وَيَخْشَعَ ويتوقر وَيَسْكُن من حَرَكَتِهِ وَيَأْخُذَ فِي هَيْبَتِهِ وَإجْلالِهِ بِمَا كَانَ يَأْخُذُ بِهِ نَفْسَهُ لَوْ كَانَ بَيْنَ يَدَيْهِ وَيتَأدَّبَ بِمَا أدَّبَنَا اللَّه بِهِ، قَال عَبْد اللَّه بن الْمُبَارَك كُنْت عِنْد مَالِك وَهُو يُحَدّثُنَا فَلَدَغَتْه عَقْرَب سِتّ عَشْرَة مَرَّة وَهُو يَتَغَيَّر لَوْنُه وَيَصْفَرّ وَلَا يَقْطَع حَدِيث رَسُول الله صلى الله عليه وسلم فَلَمّا فَرَغ مِن الْمَجْلِس وَتَفَرَّق عَنْه النَّاس قُلْت لَه يَا أَبَا عَبْد اللَّه لَقَد رَأيْت مِنْك الْيَوْم عَجَبًا قَال نَعَم إنَّمَا صَبَرْت إجْلَالًا لِحَدِيث رَسُول اللَّه صَلَّى اللَّه عَلَيْه وَسَلَّم. فصل اعْلَم أَنّ الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم فَرْض عَلَى الجُمْلَة غَيْر محَدَّد بوَقْت لِأَمْر اللَّه تَعَالَى بِالصَّلَاة عَلَيْه وَحَمْل الْأَئِمَّة وَالْعُلمَاء لَه عَلَى الْوُجُوب وَأجْمَعُوا عَلَيْه قَال الْقَاضِي أَبُو الْحَسَن بن الْقَصَّار: المَشْهُور عَن أصْحَابِنَا أَنّ ذَلِك وَاجِب فِي الجُمْلَة عَلَى الْإِنْسَان وَفَرْض عَلَيْه أن يَأتِي بِهَا مَرَّةّ من دَهْرِه مَع الْقُدْرَة عَلَى ذَلِك، قَال الْقَاضِي أَبُو مُحَمَّد بن نَصْر: الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم وَاجِبَة فِي الجُمْلَة قَال الْقَاضِي أَبُو عَبْد اللَّه مُحَمَّد بن سَعِيد: ذَهَب مَالِك وَأَصْحَابُه وَغَيْرِهِم من أَهْل الْعِلْم أَنّ الصَّلَاة عَلَى النَّبِيّ صَلَّى اللَّه عَلَيْه وَسَلَّم فَرْض بِالجُمْلَة بِعَقْد الْإِيمَان لَا يَتَعَيَّن فِي الصَّلَاةوَأَنّ من صَلَى عَلَيْه مَرَّةّ وَاحِدَة من عُمُرِه سَقَط الْفَرْض عَنْه.
وَعَن أبَيّ بن كَعْب كَان رَسُول اللَّه صَلَّى اللَّه عَلَيْه وَسَلَّم إذَا ذَهَب رُبُع اللَّيْل قَام فَقَال (يَا أيُّهَا النَّاس اذْكُرُوا اللَّه جَاءَت الرَّاجِفَة تَتْبَعُهَا الرَّادِفَة جاء الْمَوْت بِمَا فِيه) فَقَال أُبَيّ بن كَعْب يَا رَسُول اللَّه إنّي أُكْثِر الصَّلَاة عَلَيْك فكم أَجْعَل لَك من صَلَاتِي؟ قَال: (مَا شِئْت) قَال: الرّبْع؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خير) قَال: الثُّلُث؟ قَال: (مَا شِئْت وَإن زدت فهو خير) قَال، النّصْف؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خَيْر) قَال: الثُّلُثَيْن؟ قَال: (مَا شِئْت وَإن زِدْت فَهُو خَيْر) قَال: يَا رَسُول اللَّه فَاجْعَل صَلَاتِي كُلَّهَا لَك قَال إذَا تُكْفَى وَيُغْفَر ذَنْبُك.

  وَعَن سَعْد بن أَبِي وَقَّاص مَنْ قَالَ حِينَ يَسْمَعُ الْمُؤَذِّنَ وَأَنَا أَشْهَدُ أَنْ لَا إِلَهَ إلا اللَّهُ وَحْدَهُ لَا شَرِيكَ لَهُ وَأَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ رَضِيتُ بِاللَّهِ رَبًّا وَبِمُحَمَّدٍ رَسُولًا وَبِالْإِسْلَامِ دِينًا غُفِرَ لَهُ

Blockquote cleaning harakat

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • No latin characters (2.5):
  • Low reputation (1):
Posted by: afaj