79690257

Date: 2025-07-04 13:29:00
Score: 2.5
Natty:
Report link

I think you need to change the error reporting of PHP

error_reporting(E_ALL & ~E_NOTICE);

https://www.php.net/manual/en/function.error-reporting.php

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

79690250

Date: 2025-07-04 13:25:59
Score: 0.5
Natty:
Report link

I would stick to the 12 factor app guidelines. Specifically have on mind:

So do not use any environment.properties. It will make unable you to run your old build application on new environment, without introducing given env.file and make it assembled into your application.

But honestly, I am searching for answer to you question also (from a technological point of view, how to do it). I am used for spring and its configuration, which does work nicely (can be set up by properties file inside application, outside of application; can be overridden by command line parameter, environment variable and even it can be loaded from zookeeper, consul and others...).

I wish, there is an equivalent way, how to do it in jakarta/java ee like this.

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

79690245

Date: 2025-07-04 13:22:58
Score: 3.5
Natty:
Report link

This post is hidden. It was deleted 13 days ago by Cody Gray♦. Already in progress but taking forever

https://github.com/flutter/flutter/issues/153092

Haters gonna hate

This is the status when they update the issue i will update solution here stop policeing the posts for no reason.

This is becoming ridiculous google payed bots blocking people from accessing information. Stack overflow was once opened for discussion and improv

Reasons:
  • RegEx Blacklisted phrase (4): This post is hidden. It was deleted 13 days ago by Cody Gray♦
  • No code block (0.5):
  • High reputation (-1):
Posted by: Dživo Jelić

79690243

Date: 2025-07-04 13:21:57
Score: 3.5
Natty:
Report link

I stumpled upon the same problem yesterday, so I used Benyamin Limanto workaround to create this trait

https://gist.github.com/gstrat88/6b39a232a57cf217ed8e94b8dfbe30cb

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

79690232

Date: 2025-07-04 13:12:54
Score: 0.5
Natty:
Report link

I was able to get the desired output by replacing
this.dataSource.data.slice();
with
JSON.parse(JSON.stringify(this.dataSource.data));,
which performs a deep copy.
I also changed the HTML from:

<div role="group">
  <ng-container matTreeNodeOutlet></ng-container>
</div>

to:

<div role="group" *ngIf="treeControl.isExpanded(node)">
  <ng-container matTreeNodeOutlet></ng-container>
</div>

to conditionally render the child nodes only when the current node is expanded.
If the problem still isn't solved, you can check this StackOverflow link for help:

How to update nested mat-tree dynamically

Reasons:
  • Blacklisted phrase (1): StackOverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Navid Abedini

79690223

Date: 2025-07-04 13:09:53
Score: 3.5
Natty:
Report link

In the end I had decided to use a cron job to check every x amount of time, which handles the deletion.

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

79690214

Date: 2025-07-04 12:59:51
Score: 3.5
Natty:
Report link

Try docmosis or aspose -> Both are paid versions

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

79690212

Date: 2025-07-04 12:57:50
Score: 1.5
Natty:
Report link

You physically changed the location of the files you created on your PC, meaning when you try to run the same program from your Android device without making necessary changes to the code, you are certainly bound to bump into errors with the program. For this, I would recommend you create your project using GitHub, that way you can also access your account via your phone and PC, and hence you can pull and push your projects using different devices, so long as you are logged into your account, with ease

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

79690191

Date: 2025-07-04 12:39:46
Score: 1.5
Natty:
Report link

Let's be honest, we've all seen a regression model get stuck stubbornly predicting the mean, and it's a classic sign of a logic trap, not a code bug. Your model's real problem is that you're handing it a "bad" image along with the very tension value that created that bad result, but you're asking it to magically guess the optimal tension. It has no data for what "optimal" looks like, so it plays it safe and guesses the average to minimize its error. The game-changer here isn't a more complex model; it's reframing the question. Stop asking for the final answer and instead, train your model to predict the one thing it can actually learn from the image: the adjustment needed to get from bad to good.

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

79690185

Date: 2025-07-04 12:34:44
Score: 1
Natty:
Report link
Function Prova(ParamArray args() As Variant)
    Dim result As String
    Dim i As Integer
    
    result = ""
    
    For i = LBound(args) To UBound(args)
        result = result & args(i) & " "
    Next i
    
    Prova = Trim(result)
End Function
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Murodjon Azamov

79690183

Date: 2025-07-04 12:32:43
Score: 1.5
Natty:
Report link

Using OnlineTextToolsText Replacer, you can’t directly detect formatting like bold text in a cell—it only works with plain text. You’d need to preprocess your text elsewhere to mark bold parts, then use the tool to add “;” before them.

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

79690172

Date: 2025-07-04 12:25:41
Score: 1.5
Natty:
Report link

Here is the correct solution with Bs5

<div class="col-xs-12 col-md-6">
   <p>text</p>
</div> 
<div class="col-xs-12 col-md-6 order-first order-md-last">
    <img src="" />
</div>  
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Oeuvre Art

79690168

Date: 2025-07-04 12:22:40
Score: 1
Natty:
Report link

If you're utilizing Excel and want a formula to be added automatically with the help of Excel VB (Visual Basic), you can do it using a small code. That means, every time you type something in a row or column, Excel will automatically fill in a formula for you—like doing the math on its own, without you typing it again and again.

For example, if you want Excel to automatically calculate total = price × quantity, you can write a small VB script that tells Excel: “Whenever I type something in column A and B, put the formula in column C.” It's like teaching Excel a rule once, and it remembers it every time.

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

79690162

Date: 2025-07-04 12:16:38
Score: 0.5
Natty:
Report link

After re-reading the doc, I tried with imap_unordered() and it worked. So only the code of do_stuff() needed to be altered and it now looks like this :

def do_stuff():
    pool_size = 8
    p = multiprocessing.Pool(pool_size)
    p.imap_unordered(self.foo, range(pool_size))
Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jan Donal

79690160

Date: 2025-07-04 12:16:38
Score: 1
Natty:
Report link

I can just say it's a typical symptom of a firewall blocking your connections from your Gatling instance to your target system under test.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Stéphane LANDELLE

79690151

Date: 2025-07-04 12:07:36
Score: 1
Natty:
Report link

Plotly doesnt support visible link labels in Sankey charts `link.label` doesnt do anything

If you want to show values on the links you need to manually add annotations using `layout.annotations`. Heres a basic idea

```
const annotations = links.map((link, i) => ({
x: 0.5, // placeholder - estimate midpoints in real case
y: 0.5,
text: link.value.toString(),
showarrow: false,
font: { size: 12 }
}));

Plotly.newPlot(chartDiv, [trace], { annotations });
```
Youd need to estimate x and y per link based on node possitions not perfect but works
maybe Plotly adds native support this in the future 🤷‍♂️

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

79690145

Date: 2025-07-04 12:01:34
Score: 1
Natty:
Report link

ভিডিও একটা বানায় দাও from moviepy.editor import ImageClip, concatenate_videoclips, AudioFileClip

# ছবি লোড করুন (আপনারই ছবি নাম দিয়ে)

girl = ImageClip("girl_photo.jpg").set_duration(3).fadein(1).fadeout(1)

boy = ImageClip("boy_photo.jpg").set_duration(3).fadein(1).fadeout(1)

# ভয়েস-লোড (copy একটি mp3 রাখুন same folder)

music = AudioFileClip("romantic_music.mp3").subclip(0, girl.duration + boy.duration)

# ক্লিপ বানান

video = concatenate_videoclips([girl, boy], method="compose").set_audio(music)

video.write_videofile("romantic_video.mp4", fps=24)

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

79690142

Date: 2025-07-04 11:58:33
Score: 0.5
Natty:
Report link
The setTimeout function in JavaScript is a powerful tool that allows developers to introduce delays in their code execution. It’s commonly used for animations, asynchronous operations, and scenarios where you need to schedule a function to run after a certain amount of time has passed. However, there’s an interesting behavior when using a delay of 0 with setTimeout() that might seem unexpected at first. In this article, we’ll explore the concept of setTimeout() with a delay of 0 and understand how it behaves.

The Basics of setTimeout()
Before diving into the behavior of setTimeout with a delay of 0, let’s briefly recap how the function works. The setTimeout function takes two arguments: a callback function (the code you want to execute after the delay) and the delay time in milliseconds.

Here’s the basic syntax:

setTimeout(callbackFunction, delayTime);
When you use setTimeout, the JavaScript engine sets a timer to wait for the specified delay time. After the delay expires, the provided callback function is added to the message queue, and the JavaScript event loop picks it up for execution when the call stack is empty.

The Curious Case of Delay 0
Now, here’s where things get interesting: using a delay of 0 milliseconds with setTimeout. At first glance, you might assume that passing a delay of 0 would result in the callback function running immediately. However, this is not the case.

When you use setTimeout(callback, 0), you’re actually instructing the JavaScript engine to schedule the callback function to be executed as soon as possible, but not immediately. In other words, the function is placed in the message queue just like any other asynchronous task, waiting for the call stack to clear.

Example:

Let’s illustrate the behavior of setTimeout() with a delay of 0 using a practical example:

console.log("Start");

setTimeout(function() {
  console.log("Callback executed");
}, 0);

console.log("End");
In this example, you might expect the output to be:

Start
Callback executed
End
However, due to the asynchronous behavior, the actual output will be:

Start
End
Callback executed
Why Use a Delay of 0?
You might wonder why anyone would want to use `setTimeout` with a delay of 0 if it doesn’t execute the function immediately. The reason lies in JavaScript’s single-threaded nature and its event-driven architecture. By using a delay of 0, you allow other tasks, such as rendering updates or user interactions, to take place before your callback is executed. This can help prevent blocking the main thread and ensure a smooth user experience.

Conclusion :
Using setTimeout() with a delay of 0 might seem a bit surprising, but it’s an important concept to grasp in JavaScript’s asynchronous world. It allows you to effectively schedule a task to be executed as soon as the call stack is clear, without blocking the main thread. This can be particularly useful for scenarios where you want to defer a function’s execution until the current execution context has finished. As you journey through JavaScript, this trick will be your secret to creating smoother, glitch-free web experiences. Happy coding!
Reasons:
  • Blacklisted phrase (1): this article
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Kikaniharsh

79690141

Date: 2025-07-04 11:57:33
Score: 2
Natty:
Report link

I faced a similar problem, after adding the tailwind classes to the html elements and then saved the file while the live server is running, the browser doesn't reflect the changes until I manually reload the browser.

You might be using one of the two popular live server extension, either Live Preview by Microsoft or Live Server by Ritwick Dey

To fix this issue for both of them -- Go in the extension settings and configure it as shown below

For Live Preview by Microsoft --

Live Preview --> Settings --> Auto Refresh Preview --> change it to "On changes to saved files" --> Restart the live server and you are good to go

A screenshot showing the option "Auto Refresh Preview" in VS Code

For Live Server by Ritwick Dey --

Live Server --> Settings --> Full Reload --> Enable it --> Restart the live server and it will start working

Showing the option of "Full Reload " in Liver Server extension

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Rishabh Kakralia

79690138

Date: 2025-07-04 11:54:31
Score: 0.5
Natty:
Report link

In your implementations, add the bean name.

public class OldFeatureService implements FeatureService{
    @Service("oldFeatureService")
    public String testMe() {
        return "Hello from OldFeatureService";
    }
}
public class NewFeatureService implements FeatureService{
    @Service("newFeatureService")
    public String testMe() {
        return "Hello from NewFeatureService";
    }
}

By default, springboot uses the bean with @Qualifier("OldFeatureService"). When the flag is enabled, it looks for the alterbean=newFeatureService

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

79690133

Date: 2025-07-04 11:47:29
Score: 1
Natty:
Report link

I found the perfect solution!
A tried so many tools (online converters, pandoc, md-to-pdf, grip, vscode extensions). None of them produced exactly same formatting as in GithHub.

What I did was edit the HTML directly in the browser to leave only the desired part of the window visible.

So I just opened markdown file in github -> opened developer console -> found the html-element with my content -> copy the element -> hide parent element with all content in the page -> insert my copied element near -> ctrl + P -> print to pdf.

P.S.: I suppose this solution only works well for relatively small files. 🙂

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Эдуард Викторович

79690131

Date: 2025-07-04 11:45:28
Score: 2
Natty:
Report link

In short, you can't.

From docs:

Immutable Map is an unordered Collection...

Iteration order of a Map is undefined...

Source:

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

79690130

Date: 2025-07-04 11:44:28
Score: 2
Natty:
Report link

I have found the following works:

  <rules>         
      <logger name="*" minlevel="Info" writeTo="logfile" />     
      <logger name="*" minlevel="Trace" maxLevel="Debug" writeTo="logfile" >
          <filters defaultAction="Ignore">
              <when condition="'${event-properties:item=Category}' == 'MyCategory'" action="Log" />           
          </filters>
      </logger>   
  </rules>

However, it feels very clunky, especially having to restrict the categories with a maxLevel to prevent duplication, so I'm sure there must be a better way?

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Campbell

79690127

Date: 2025-07-04 11:42:28
Score: 2
Natty:
Report link

I started exporting classes with the example from the docu here: Exporting classes with type accelerators

I could achieved all my demands by doing so. Give it a try.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: an.dr.eas.k

79690123

Date: 2025-07-04 11:40:27
Score: 1
Natty:
Report link
To prevent intermittent container startup issues, follow these troubleshooting steps:
  1. Disable Node Auto-Provisioning (NAP) - avoiding automatic changes or unexpected resource allocation.

  2. Cordon and drain node - Cordoning a node marks it as unschedulable, preventing new Pods from being assigned, while draining evicts the workloads running on those nodes without disruption.

  3. Delete actual node

If you want to keep using NAP it is recommended to use a custom boot disk and SSD.

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

79690119

Date: 2025-07-04 11:35:25
Score: 5
Natty:
Report link

https://github.com/mkubecek/vmware-host-modules/issues/306#issuecomment-2843789954

This patch solved this problem

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

79690118

Date: 2025-07-04 11:35:25
Score: 2
Natty:
Report link

Maybe this need for someone...

man hier
Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: beloyar

79690104

Date: 2025-07-04 11:26:23
Score: 1.5
Natty:
Report link

“Try running pip install python-telegram-bot in your terminal. If it doesn’t work, make sure pip is updated using python -m pip install --upgrade pip, and that you're not using a restricted environment like school/college PC with admin rights disabled.”

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

79690101

Date: 2025-07-04 11:22:22
Score: 1.5
Natty:
Report link

In Delphi, you can assign a component’s property values before the main form is created by modifying the code in the project (.dpr) file — create the form manually using Application.CreateForm, then set the properties before showing it.

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

79690098

Date: 2025-07-04 11:20:21
Score: 1
Natty:
Report link
function isZeroArgs(func: Function): func is () => unknown {
  return func.length === 0;
}

Example usage:

function sayHello() {
  return "Hello!";
}

function greet(name: string) {
  return `Hello, ${name}!`;
}

if (isZeroArgs(sayHello)) {
  sayHello(); // OK
}

if (isZeroArgs(greet)) {
  greet(); 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DivyaHVG

79690096

Date: 2025-07-04 11:19:21
Score: 1.5
Natty:
Report link

To build a SaaS that sends emails for clients using your services (SMTPwire, WarmupSMTP, DedicatedSMTPserver):

  1. Set up SMTP backend (yours or allow client’s)

  2. Create web dashboard (login, campaigns, stats)

  3. Add domain auth (SPF, DKIM, DMARC setup)

  4. Build email editor + scheduler

  5. Use job queues for sending control

  6. Show analytics (opens, clicks, bounces)

  7. Add billing system for plans

  8. White-label for resellers

Done right, it runs fully on your own infra — high control, high margins.

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

79690095

Date: 2025-07-04 11:18:20
Score: 1
Natty:
Report link

You can do it like by subclassing:

type
  TADOConnection = class(Data.Win.ADODB.TADOConnection)
  protected
    procedure Loaded; override;
  end;

implementation

procedure TADOConnection.Loaded;
begin
  StreamedConnected := False;
  inherited;
end;

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

79690087

Date: 2025-07-04 11:10:18
Score: 1.5
Natty:
Report link

It seems like external libraries might not be allowed, but there is a chance that I could use python-pptx in the python_user_visible environment, though I’m not sure. Alternatively, I could create an HTML skeleton for the user to download and use with a tool. Maybe a better approach would be to provide a CSV or JSON script with a timeline, text, and voice references, as many text-to-video platforms support imports in those formats. I’ll generate a CSV with this approach, allowing for easy importing.

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

79690078

Date: 2025-07-04 11:02:16
Score: 4
Natty:
Report link

echo entered | awk '{printf "%s", $1}'

maybe?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: access_granted

79690053

Date: 2025-07-04 10:47:11
Score: 1
Natty:
Report link

I found out an answer. I made a function that uses noise to check if position above a point is not a part of a land.

func is_point_on_surface(pos: Vector2i, surface_up_vector: Vector2i) -> bool:
    
    # surface_up_vector should be negative because
    # noise goes in direction +x and -y <--- that's why
    
    var neighboor_pos = pos + (block_size * -surface_up_vector)
    var noise_val: float = noise.get_noise_2dv(neighboor_pos * 0.1)
    
    return noise_val > min_noise_val
    
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: unwritten_k

79690050

Date: 2025-07-04 10:43:11
Score: 3
Natty:
Report link

We reassigned the VPN host to an address outside that range, and the workflow is green again.

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

79690043

Date: 2025-07-04 10:38:09
Score: 1
Natty:
Report link

If you want a one-liner, no extra Sub, Function or Dim, this is it (replace S with your string or variable):

CreateObject("htmlfile").ParentWindow.ClipboardData.SetData "text", CVar(S)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mcortese

79690040

Date: 2025-07-04 10:36:09
Score: 3
Natty:
Report link

The code works well to concatenate the 2 columns. How would you add a 'space' between the ranges such as in First_Name " " Last_Name " ? When I try to add the space, I get type mismatch

.Evaluate("=B:B & " " & D:D") ' Doesn't work with space added. Gives type mismatch

.Evaluate("=B:B&D:D")
Reasons:
  • Blacklisted phrase (1): How would you
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Petra

79690034

Date: 2025-07-04 10:30:06
Score: 1.5
Natty:
Report link

In ROS, roslaunch uses the max_exposure parameter to set the maximum exposure time for a camera sensor. This controls how long the sensor collects light, helping to optimize image brightness and prevent overexposure in bright environments.

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

79690024

Date: 2025-07-04 10:25:05
Score: 0.5
Natty:
Report link

The issue likely stems from how Visual Studio runs the application in a different runtime environment compared to PowerShell or a direct EXE execution. While the credentials and identity are the same, Visual Studio may not propagate Windows authentication tokens correctly or might introduce differences in TLS settings or request headers. This can lead to a 500 Internal Server Error from the Azure DevOps Server REST API. Running the app directly outside Visual Studio, setting SecurityProtocol to TLS 1.2, and comparing network requests using Fiddler can help identify the root cause.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Kundan Vyas

79690022

Date: 2025-07-04 10:21:04
Score: 7
Natty: 4
Report link

In addition, this guide helps: https://youtu.be/3_CV_zXyExw?si=SjLvDuaqZjQXuR_Z

Reasons:
  • Blacklisted phrase (1): this guide
  • Blacklisted phrase (1): youtu.be
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Itamar

79690021

Date: 2025-07-04 10:20:03
Score: 2
Natty:
Report link

Apparently, I may have found an answer to my question after some tests. This gives the intended output

:::{.column-screen}
:::{.column-screen-inset-left}
Some Text 1
:::
:::{.column-margin}
Some Text 2
:::
:::

See below:

enter image description here

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

79690018

Date: 2025-07-04 10:19:03
Score: 0.5
Natty:
Report link

This issue was related to new Databricks feature - executor broadcast join https://kb.databricks.com/python/job-fails-with-not-enough-memory-to-build-the-hash-map-error, so to overcome it needed to disable executor broadcast.

Using Databricks notebook autocomplete we found class which contains all databricks-related configurations - com.databricks.sql.DatabricksSQLConf. Inspecting this file public members we found setting which disables executor broadcast join - spark.databricks.execution.executorSideBroadcast.enabled. Disable of executor broadcast resolved our problem - no problem with broadcasting anymore and AQE works fine.

It is too bad that Databricks has a lot of properties which affect query execution, but they are not documented.

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

79690010

Date: 2025-07-04 10:13:01
Score: 1
Natty:
Report link

I directly spoke with an engineer from the hosting provider, instead of relying on the general tech support representative who initially suggested upgrading the hosting plan. After further debugging and investigation, the engineer confirmed that cPanel does not support the necessary runtime environment — specifically:

Given these limitations, I decided not to upgrade to a VPS. Instead, I deployed the bot using Google Cloud Run, which allows us to scale more flexibly as the user base grows. The deployment was straightforward. I simply containerized the project using Docker and deployed it.

While Cloud Run may be more expensive at large scale, it provides a scalable and efficient solution that fits our current needs.

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

79690009

Date: 2025-07-04 10:11:01
Score: 1
Natty:
Report link

I would prefer BleuIO. its a smart BLE usb dongle that helps create BLE application easily with its AT command on the device

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

79690008

Date: 2025-07-04 10:11:01
Score: 1
Natty:
Report link

Seems like a bug to me, do you accept a workaround where we save the flextable as HTML and take a webshot screenshot?

library(dplyr)
library(flextable)
library(webshot)

test <- data.frame(
  Spalte1 = 1:5,
  Spalte2 = letters[1:5],
  Spalte3 = c(TRUE, FALSE, TRUE, FALSE, TRUE),
  Spalte4 = rnorm(5)) 


tmp <- tempfile(fileext = ".html")

test %>% flextable() %>%
  add_header_row(colwidths = c(2,2), values = c("eins", "zwei")) %>%
  align(align = "center", part = "all") %>%
  border_remove() %>%
  vline(j = 2)  %>%
  save_as_html(path = tmp)

webshot::webshot(
  tmp, 
  file = "test.png", 
  vwidth = 300,  # play with the width
  vheight = 200, # play with the height
  zoom = 2 # controlls resolution
)
unlink(tmp) # cleanup temporary html

giving

out

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Tim G

79690006

Date: 2025-07-04 10:10:00
Score: 0.5
Natty:
Report link

you can try BleuIO. it works for both central and peripheral role. you can mock any BLE device with it. The AT command available on the device makes it easy to work with BLE application.

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

79690001

Date: 2025-07-04 10:07:00
Score: 1
Natty:
Report link

Try BleuIO. it works both central and peripheral role. easy to work with its AT command available on the device

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

79689999

Date: 2025-07-04 10:05:59
Score: 1.5
Natty:
Report link

You can try BleuIO. it works both central and peripheral role.

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

79689996

Date: 2025-07-04 10:03:59
Score: 1
Natty:
Report link

I would prefer BleuIO that comes with AT commands on the device. works on any platform and easy to work with Bluetooth Low Energy

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

79689992

Date: 2025-07-04 10:01:58
Score: 1
Natty:
Report link

Building on the answers from @norlihazmey-ghazali here's what's working for me, with explanation below:

let isCleanedUp = false;

async function cleanUp() {
  // waiting for some operations to be done
  isCleanedUp = true;
}

app.on("before-quit", (event) => {
  if (!isCleanedUp) {
    event.preventDefault();
    cleanUp().then(() => app.quit());
  }
});

What's the difference?

The callback function for the before-quit event is not asynchronous. Passing an async function is the same as passing a synchronous function that returns a pending promise.

async function asynchronous1() {
  // ...
}

function asynchronous2() {
  return new Promise((resolve, reject) => {
    // ...
    resolve();
  });
}

Calling either of those two functions outside of an async context returns a promise that can either be stored somewhere or handled whenever it settles.

function synchronous() {
  const pendingPromise = asynchronous1();
  // synchronous code, promise is still pending
  pendingPromise.then(() => {
    // inside this context the promise has settled
  });
}

Why does this matter?

There's no indicator in Electron documentation that the callback is handled as an asynchronous function. So no matter what the callback returns, Electron will continue with its synchronous code without waiting for a returned promise to settle.

Using the code from earlier, it could look something like this:

function async callback(event) {
  console.log("called callback");
  if (!isCleanedUp()) {
    console.log("not cleaned up yet");
    event.preventDefault();
    await cleanUp();
    console.log("quitting after cleanup");
    app.quit();
  }
}

function electronHandling(event) {
  console.log("call all before-quit handlers");
  callback(event);
  if (isDefaultPrevented(event)) {
    return;
  }
  console.log("call all quit handlers");
  // ...
  console.log("closing the app");
  // ...
}

Seeing that electronHandling is synchronous, the output of above code looks like this:

call all before-quit handlers
call all quit handlers
closing the app
called callback
not cleaned up yet
quitting after cleanup

With a small adjustment in the callback you can make the execution order more obvious:

function callback(event) {
  console.log("synchronous callback");
  return new Promise((resolve, reject) {
    console.log("called callback");
    if (!isCleanedUp()) {
      console.log("not cleaned up yet");
      event.preventDefault();
      cleanUp().then(() => {
        console.log("quitting after cleanup");
        app.quit();
        resolve();
      });
    }
  });
}

This second callback will produce the following output:

call all before-quit handlers
synchronous callback
call all quit handlers
closing the app
called callback
not cleaned up yet
quitting after cleanup

Why can an asynchronous callback still work correctly?

The action of a promise is executed as a microtask. While the handling of calling the registered callbacks is synchronous, there might still be some asynchronous tasks in the Electron code that allow microtasks to execute before the app has fully quit. So it is possible that a well placed console.log() is giving a microtask enough time to run a cleanup that's not within the javascript thread even though it is not awaited properly. Which is not fun to debug by adding logs, so prefer the proper solution over one that's working by chance

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @norlihazmey-ghazali
  • Low reputation (1):
Posted by: flexopticalHenno

79689987

Date: 2025-07-04 09:58:57
Score: 1.5
Natty:
Report link

Hibernate and NHibernate both are ORM but Hibernate is used in Java but NHibernate is used in .NET

For NHibernate, Use can use it from NuGet (https://www.nuget.org/packages/nhibernate) in your .NET project.

You can learn more on this here : Learn Nhibernate

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

79689981

Date: 2025-07-04 09:52:56
Score: 0.5
Natty:
Report link

How does the microcontroller keep track of where a malloc will point to in the heap?

This is implementation defined, malloc will be in some library and compile like any other function. Here is one implementation you can look at: https://github.com/32bitmicro/newlib-nano-1.0/blob/master/newlib/libc/stdlib/malloc.c

Usually, malloc stores a header full of information (like number of bytes allocated) next to each assignment.

After free(x), are subsequent mallocs able to use the memory that was allocated for x or is it blocked because of malloc for y?

free(x) frees up the memory for x, y has nothing to do with it.

For clarity, each call to malloc returns a new pointer. But if x is freed, that memory region could be returned again.

You also don't need to cast the pointer to char*, and it's recommended not to!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How do
  • Low reputation (0.5):
Posted by: Luke Sharkey

79689971

Date: 2025-07-04 09:47:53
Score: 0.5
Natty:
Report link

This is how you do it:

Screenshot

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

79689970

Date: 2025-07-04 09:45:53
Score: 1
Natty:
Report link
server.use-forward-headers=true

using the above property google sign-in issue (/login?error) in scala spring-boot application has been resolve.

org.springframework.security.oauth2.core.OAuth2AuthenticationException: [invalid_redirect_uri_parameter] 
    at org.springframework.security.oauth2.client.authentication.OAuth2LoginAuthenticationProvider.authenticate(OAuth2LoginAuthenticationProvider.java:110) ~[spring-security-oauth2-client-5.1.5.RELEASE.jar:5.1.5.RELEASE]
Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Prathamesh Khadake

79689967

Date: 2025-07-04 09:44:52
Score: 1
Natty:
Report link

Simple way - Using 'Select - action' for Columns and 'For each' - action to get combined Rows to get final Result: enter image description here

Workflow - Run Result

Workflow Description:

  1. Manual Trigger added

  2. Parse JSON - action to fetch your received data

  3. Select - action added, to fetch the columns: to read 'name'

    to read 'name' : select- range(0,length(first(outputs('Parse_JSON')?['body']?['tables'])?['columns']))
                                       map - first(outputs('Parse_JSON')?['body']?['tables'])?['columns']?[item()]?['name']
    

    4. Initialize an variable - append to get out put

    5. Added for each action to read 'rows' datas towards selected item in the earlier step

    6. Compose to get - final Primary Result

for each - first(outputs('Parse_JSON')?['body']?['tables'])?['rows']
    select - range(0,length(body('Select_column')))
    map - body('Select_column')?[item()] Vs items('For_each_rows')?[item()]
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Vijayamathankumar

79689963

Date: 2025-07-04 09:43:52
Score: 1
Natty:
Report link

The Python development headers are missing. The file Python.h is part of python3-dev. It must be installed, try:

python --version                 # say python 3.13
sudo apt install python3.13-dev  # install the appropriate dev package
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Karin de Groot

79689956

Date: 2025-07-04 09:36:50
Score: 2
Natty:
Report link

I was facing a similar issue because I was trying to update kafka-clients module to 3.9.1 on it's own.

I managed to get it working by forcing all modules in group org.apache.kafka to 3.9.1 instead of just kafka-clients module on it's own.

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

79689955

Date: 2025-07-04 09:34:49
Score: 1
Natty:
Report link

The error "cannot get into sync" and the subsequent related ones appear when the correct serial port is not selected. Can you check and verify the correct serial port is selected. In the IDE, you can find it in Tools-> Port . In most of the cases, /dev/ttyACM3 should be selected.

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

79689954

Date: 2025-07-04 09:34:49
Score: 1
Natty:
Report link

There is an answer on your question. In short: use the socat instead. Pros: it has no an (obligatory) time lag till it quits.

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

79689948

Date: 2025-07-04 09:30:48
Score: 1
Natty:
Report link

THIS IS NORMAL!!!

You need to use Custom definitions!

The values ​​from user properties are passed to the event only if the value is not equal to the previous one, so it turns out that if there are no changes, then user_properties is present only in the first event.

To multiply user_properties to all events when uploading to Bigquery, you need to add the desired fields from user_properties to Custom definitions

In GA4 console go to:

Admin -> Data Display -> Custom definitions -> Create custom definitions

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

79689946

Date: 2025-07-04 09:30:48
Score: 0.5
Natty:
Report link

When you have an authentication-enabled app, you must gate your Compose Navigation graph behind a “splash” or “gatekeeper” route that performs both:

  1. Local state check (are we “logged in” locally?)

  2. Server/session check (is the user’s token still valid?)

Because the Android 12+ native splash API is strictly for theming, you should:

  1. Define a SplashRoute as the first destination in your NavHost.

  2. In that composable, kick off your session‐validation logic (via a LaunchedEffect) and then navigate onward.


1. Navigation Graph

@Composable
fun AppNavGraph(startDestination: String = Screen.Splash.route) {
  NavHost(navController = navController, startDestination = startDestination) {
    composable(Screen.Splash.route) { SplashRoute(navController) }
    composable(Screen.Login.route)  { LoginRoute(navController)  }
    composable(Screen.Home.route)   { HomeRoute(navController)   }
  }
}


2. SplashRoute Composable

@Composable
fun SplashRoute(
  navController: NavController,
  viewModel: SplashViewModel = hiltViewModel()
) {
  // Collect local-login flag and session status
  val sessionState by viewModel.sessionState.collectAsState()

  // Trigger a one‑time session check
  LaunchedEffect(Unit) {
    viewModel.checkSession()
  }

  // Simple UI while we wait
  Box(Modifier.fillMaxSize(), contentAlignment = Alignment.Center) {
    CircularProgressIndicator()
  }

  // React to the result as soon as it changes
  when (sessionState) {
    SessionState.Valid   -> navController.replace(Screen.Home.route)
    SessionState.Invalid -> navController.replace(Screen.Login.route)
    SessionState.Loading -> { /* still showing spinner */ }
  }
}

NavController extension

To avoid back‑stack issues, you can define:

fun NavController.replace(route: String) {
  navigate(route) {
    popUpTo(0) { inclusive = true }
  }
}



3. SplashViewModel

@HiltViewModel
class SplashViewModel @Inject constructor(
  private val sessionRepo: SessionRepository
) : ViewModel() {

  private val _sessionState = MutableStateFlow(SessionState.Loading)
  val sessionState: StateFlow<SessionState> = _sessionState

  /** Or call this from init { … } if you prefer. */
  fun checkSession() {
    viewModelScope.launch {
      // 1) Local check
      if (!sessionRepo.isLoggedInLocally()) {
        _sessionState.value = SessionState.Invalid
        return@launch
      }

      // 2) Remote/session check
      val ok = sessionRepo.verifyServerSession()
      _sessionState.value = if (ok) SessionState.Valid else SessionState.Invalid
    }
  }
}


4. SessionRepository Pseudocode

class SessionRepository @Inject constructor(
  private val dataStore: UserDataStore,
  private val authApi: AuthApi
) {
  /** True if we have a non-null token cached locally. */
  suspend fun isLoggedInLocally(): Boolean =
    dataStore.currentAuthToken() != null

  /** Hits a “/me” or token‑refresh endpoint. */
  suspend fun verifyServerSession(): Boolean {
    return try {
      authApi.getCurrentUser().isSuccessful
    } catch (_: IOException) {
      false
    }
  }
}


Why this works

Feel free to refine the API endpoints (e.g., refresh token on 401) or to prefetch user preferences after you land on Home, but this gatekeeper pattern is the industry standard.

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When you have an
  • Low reputation (1):
Posted by: Ajeet

79689933

Date: 2025-07-04 09:19:45
Score: 2.5
Natty:
Report link

It’s possible, but not ideal. Installing solar panels on an aging or damaged roof may lead to future complications. It’s best to assess your roof’s condition first — and often, replacing or restoring the roof before solar panel installation saves time and money in the long run.

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

79689925

Date: 2025-07-04 09:11:43
Score: 1.5
Natty:
Report link

The error "unsupported or incompatible scheme" means that the key you're trying to use for signing the quote does not have the correct signing scheme set, or is not even a signing key.

To fix this, you must create the application key with a signing scheme compatible with the TPM's quote operation, like TPM2_ALG_RSASSA or TPM2_ALG_ECDSA, and mark it as a signing key.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gijs van Gelderen

79689916

Date: 2025-07-04 09:01:41
Score: 1
Natty:
Report link

Matplotlib is always plotting objects according to the order they were drawn in, not their actual position in space.

This is discussed in their FAQ, where they recommend an alternative, that is MayaVi2, and has very similar approach to Matplotlib, so you don't get too confused when switching.

You can find more information in this question, that I don't want to paraphrase just for the sake of a longer answer.

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

79689910

Date: 2025-07-04 08:55:39
Score: 2.5
Natty:
Report link

When you produce your data in that Kafka Topic, use message key like "productId" or "company/productId", this will garantee that each product will be produced in the same partition, and that will garantee for you the order of processing data of each product.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (0.5):
Posted by: ahmed.ettoumi

79689903

Date: 2025-07-04 08:51:38
Score: 2
Natty:
Report link

there is no such parameter in this widget.

you should specify exact post number (id) and unfortunately telegram does not support many post types like music by its widget anymore and says see the post in telegram and it is not supported in the browser.

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

79689900

Date: 2025-07-04 08:49:37
Score: 3
Natty:
Report link

You can disable the service in cloud run function.

Just manually change the number of instance to 0

enter image description here

reference: https://cloud.google.com/run/docs/managing/services#disable

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

79689895

Date: 2025-07-04 08:44:36
Score: 0.5
Natty:
Report link

Upon reading Sandeep Ponia's answer, I went checking node-sass releases notes where I noticed my version of node was no longer compatible with the version of node-sass used by some dependencies' dependencies; I had updated to node v22.14.0 but node-sass was still running on v6.0.1 which only supports up to node v16.

A screenshot of node-sass v6.0.1 release notes which points out the compatibility table

Since it's not a direct dependency but a nested dependency, to solve this issue, I updated my package.json to override node-sass version in the devDependencies, which is a feature available since node v16:

{
    ...
    "overrides": {
        "[dependency name]": {
            "node-sass": "^9.0.0"
        },
        "node-sass": "^9.0.0"
    }
}
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Clockwork

79689891

Date: 2025-07-04 08:43:35
Score: 1.5
Natty:
Report link

I got this error too. Using Macos. It turned out this had to do with the ruby version in some way (I use rvm to manage the versions). This 'cannot load such file -- socket' message appeared when using ruby 2.4.2, but when I changed the used ruby version to 2.6.6, everything was installed just file.

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

79689890

Date: 2025-07-04 08:43:35
Score: 1
Natty:
Report link
import React from 'react';
import Box from '@mui/material/Box';

export default function CenteredComponent() {
  return (
    <Box
      display="flex"
      justifyContent="center"
      alignItems="center"
      minHeight="100vh"
    >
      <YourComponent />
    </Box>
  );
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Amrinder Gill

79689889

Date: 2025-07-04 08:42:35
Score: 1
Natty:
Report link

For anyone wondering about this:

The solution I found is actually quite simple. Within your node class, create an additional node subservient to the main one

...
public:
    sub_node_plan = rclcpp::Node::make_shared("subservient_planning_node");
...
private:
    std::shared_ptr<rclcpp::Node> sub_node_plan;

And define the client for this sub_node. This way you can spin the client until result is there and avoid any deadlock or threading issues.

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

79689882

Date: 2025-07-04 08:38:33
Score: 0.5
Natty:
Report link

If your table contains many overlapping dates, instead of recursively

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Guillaume Outters

79689881

Date: 2025-07-04 08:37:33
Score: 2
Natty:
Report link

To put it all toghether from @grawity answer and the Post I linked in the first Post.

  1. Clone old repo

  2. Clone new repo

  3. cd into new repo

git fetch ../oldRepo master:ancient_history
git replace --graft $(git rev-list master | tail -n 1) $(git rev-parse ancient_history)
git filter-repo --replace-refs delete-no-add --force

Then i pushed it to an newly created Repository.

Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @grawity
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Jan Zimmermann

79689879

Date: 2025-07-04 08:33:32
Score: 1.5
Natty:
Report link

I tried to do the same thing using pybind11. It worked perfectly. Couldn't make it work for boost for some reason. Frustrating

Reasons:
  • Whitelisted phrase (-1): It worked
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniil Smirnov

79689875

Date: 2025-07-04 08:30:31
Score: 0.5
Natty:
Report link

You can safely drop async/await in GetAllAsync because the method only returns EF Core’s task (return _context.Users.ToListAsync();). No code runs afterward and there’s no using/try, so you avoid the extra state-machine allocation with identical behavior. Keep async/await only when you need flow control (e.g., using, try/catch, multiple awaits).

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

79689865

Date: 2025-07-04 08:15:27
Score: 1.5
Natty:
Report link

If you can use static IP for the gateway(router) then you will have the static IPs in the network and those will not change once it where assigned.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Miu Cristian

79689852

Date: 2025-07-04 08:01:23
Score: 5
Natty:
Report link

Check out this guide on open source zip code databases, understanding their capabilities and limitations is crucial for making informed decisions about your location data strategy...

Reasons:
  • Blacklisted phrase (1): this guide
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: GeoPostcodes

79689840

Date: 2025-07-04 07:50:19
Score: 6
Natty: 5.5
Report link

any reason why this failed in cypress?

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

79689836

Date: 2025-07-04 07:48:19
Score: 1
Natty:
Report link

HTTP provides exactly one standardized feature for partial transfers, the Range request header. If the origin ignores Range, every GET starts at byte 0 and you cannot prevent the first N bytes from being sent again. A client-side workaround does not exist because the server decides what payload to stream.

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

79689828

Date: 2025-07-04 07:43:17
Score: 3.5
Natty:
Report link

Try using LinkedIn's payload builder for more clarity on the approach to stream conversion events!

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

79689826

Date: 2025-07-04 07:42:17
Score: 3
Natty:
Report link

I used Box in my home screen for paginate items so I got this padding in top of navigation bottom, so I removed that and using just Lazy vertical grid, everything getting fine now!

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

79689823

Date: 2025-07-04 07:40:16
Score: 0.5
Natty:
Report link

What proved to work in our case was altering SMTP settings by directly updating SonarQube's database.

First I changed the SMTP configuration on the GUI, supplying dummy credentials for authentication. Obviously, these credentials did not work, but this allowed me to change the other SMTP-related fields.

Database connectivity settings can be found in conf/sonarqube.properties - look for property keys starting with "sonar.jdbc", such as sonar.jdbc.username, sonar.jdbc.password and sonar.jdbc.url.

What to look for in the database:

-- email-related properties
SELECT * FROM internal_properties WHERE kee LIKE 'email.%';

-- erasing credentials (2 rows)
UPDATE internal_properties SET is_empty = true, text_value = NULL WHERE kee LIKE 'email.smtp_________.secured'; 

After the DB update, I restarted the SonarQube instance. From that point, email notifications started working again (I sent a test email from the web GUI).

This is something you should do with caution. Also do a backup and have a sound plan on how to restore it if something bad happens.

Reasons:
  • Blacklisted phrase (1): did not work
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What
Posted by: Attila Csipak

79689821

Date: 2025-07-04 07:39:15
Score: 6.5
Natty: 7.5
Report link

What individual permissions should i add to my SA in order to avoid using de Admin role?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What in
  • Low reputation (1):
Posted by: Mario

79689808

Date: 2025-07-04 07:25:12
Score: 1
Natty:
Report link

Using chmod's SetUID to allow a regular user to execute a program with root privileges

whereis crond

chmod u+s /usr/.../crond

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

79689805

Date: 2025-07-04 07:22:11
Score: 1
Natty:
Report link

Formally, if it does not vary with input size, your fixed array should be considered O(1).

There are actually a couple of things to consider here. First one being that inputs are not counted towards the space complexity, only the structures you create as part of the function(s). If your array is an input to the function then it will be O(1). The second thing is actually how the array length relates to your N and Ms - does it grow with them ? If it remains fixed, as you said, then it's O(1) again, if your array has to change length based on other input sizes then it's no longer constant - at this point you should start considering it as a variable length.

Basically, to be O(1) it should be an input or if it's not - it should truly be a constant and its length should be unrelated to other lengths.

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

79689771

Date: 2025-07-04 06:53:04
Score: 2
Natty:
Report link

I found this piece of code worked for me:

nvm install node

https://www.freecodecamp.org/news/how-to-update-node-and-npm-to-the-latest-version/

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arnaldo Cavalcanti

79689770

Date: 2025-07-04 06:52:04
Score: 1
Natty:
Report link

A minor addition to ded32's magnificent answer: I needed to add the following declarations to make it compile:

struct _PMD
{
    __int32 mdisp;
    __int32 pdisp;
    __int32 vdisp;
};

struct CatchableTypeArray
{
    __int32 count;
    __int32 types[];
};
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hendrik

79689768

Date: 2025-07-04 06:51:04
Score: 1.5
Natty:
Report link

When you talk about financial cloud management the ABC of it is always tagging. So that is definitely important.

Your approach makes total sense. I would not recommend any third party applications as they always require you to spend about 1,5-3% of your total yearly cloud cost. So when you grown, you immediately need to pay them more as well.

What I would do instead, is use AWS Quicksight, they have about 9 different pre-configured dashboard that help you get all the answers you want. The best one that fits your use case of multi-cloud overview is the CUDOS dashboard.

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

79689765

Date: 2025-07-04 06:44:02
Score: 2.5
Natty:
Report link

1.First Option is adding unique Collapse id in every push notification in One Signal dashboard,
Like show in below image

-this Collapse id use for if some time show multiple push notification, so it's collapse in one single notification

enter image description here

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

79689763

Date: 2025-07-04 06:43:02
Score: 2.5
Natty:
Report link

There is a new class: `MicrometerExchangeEventNotifierNamingStrategyDefault`

So we use/extends: `MicrometerExchangeEventNotifierNamingStrategyDefault` instead of `MicrometerRoutePolicyNamingStrategy`.

Please check the example code in the "Question" under the UPDATE tag.

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

79689753

Date: 2025-07-04 06:35:00
Score: 1
Natty:
Report link

I am just encountering the same class of issue. My first approach was to maintain lists of references. An array of IDs and use the IN operator in a where constraints. You quickly come up against the issue that firestore only permits an array size of 10 when you want to recover documents having an id in your reference list.

As a workaround I am considering using splitting my list across n sublists and using seperate queries and using some rxjs to merge the results.

I thought about denromalisation but the overhead of maintenance makes it a non starter with only a small amount of data volatility.

I suspect like many others I have been seduced by the snapshot reactivity and the free tier. The querying model is extremely limiting

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

79689751

Date: 2025-07-04 06:33:59
Score: 6
Natty:
Report link

This seems to be related to the Firebase issue discussed here: https://github.com/firebase/firebase-js-sdk/issues/7584

Would the suggested workaround work for you?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Antonis Lilis

79689747

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

That is not a pig problem just contact with me

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

79689746

Date: 2025-07-04 06:26:57
Score: 2
Natty:
Report link

En la V4, esta función ha sido sustituida por "datesRender"

https://fullcalendar.io/docs/v4/upgrading-from-v3#view-rendering

https://fullcalendar.io/docs/v4/datesRender

Donde las fechas de inicio y fin son:

datesRender: function (view, element) {  
      var startDate = view.view.activeStart;
      var endDate = view.view.activeEnd;
}
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: elenamf86

79689738

Date: 2025-07-04 06:13:54
Score: 2
Natty:
Report link

Scala Compile server Intellj terminated unexpectedly (port: 3200, pid: 7021)

Changed Build -> Execution -> Deployment -> Compiler -> Scala Compiler

Change Incrementality type from Zinc to IDEA

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

79689725

Date: 2025-07-04 06:02:52
Score: 0.5
Natty:
Report link

What worked for me is adding this flag in gradle.properties file:

android.defaults.buildfeatures.buildconfig= true

After that I had to run build command on my console

 ./gradlew build

Please see this blog for more

Reasons:
  • Blacklisted phrase (1): this blog
  • Whitelisted phrase (-1): worked for me
  • Contains signature (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): What
  • High reputation (-1):
Posted by: Tonnie

79689723

Date: 2025-07-04 06:00:51
Score: 1
Natty:
Report link

As it turns out there was a wrong version number of a dependency, the team lead of the project found it later. Their dependencies were cached so it worked for some time. It is now fixed.

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

79689722

Date: 2025-07-04 05:58:50
Score: 1.5
Natty:
Report link

Class 7th part 1

Islamiyat

عنوان (غزوہ بنو قریظہ)

در ست جواب کا انتخاب کریں

: 1:غزوہ بنو قریظہ پیش آیا: ( پانچ ہجری میں )

 2:بنو قریظہ قبیلہ تھا                 (یہود کا)

3:    بنو قریظہ نے مسلمانوں سے بد عہدی کی تھی ( غزوہ خندق میں)

4:بنو قریظہ کا فیصلہ کرنے کا اختیار دیا گیا                ( حضرت سعد بن معاذ رضی اللہ تعالی عنہ)   

5: بنو قریظہ کا محاصرہ جاری رہا (پچیس دن)

مختصر جواب دیجیے : 1: بنو قریظہ کون تھے؟

ج: بنو قریظہ مدینہ کا ایک مشہور اور نہایت قدیم یہودی قبیلہ تھا۔

2: غزوہ بنو قریظہ میں مسلمان مجاہدین کی تعداد کتنی تھی ؟

 ج:   تین ہزار صحابہ کرام رضی اللہ تعالی عنہم بنو قریظہ کے علاقے میں پہنچے ۔

3: حضرت سعد بن معاذ رضی اللہ تعالی عنہ نے بنو قریظہ کا فیصلہ کس کتاب کے مطابق کیا ؟ 

ج: حضرت سعد بن معاذ رضی اللہ تعالی عنہ کا یہ فیصلہ یہود یوں کی شریعت اور ان کی آسمانی کتاب تورات کے عین مطابق تھا۔

4 : حضرت سعد بن معاذ رضی اللہ تعالی عنہ کی شہادت کیسے ہوئی ؟    

ج: حضرت سعد بن معاذ رضی اللہ تعالی عنہ غزوہ خندق کے زخموں کی تاب نہ لاتے ہوئے شہید ہوگئے ۔

5: غزوہ بنوقریظہ کا سب سے بڑا فائدہ کیا ہوا؟

ج: غزوہ بنو قریظہ کا سب سے بڑا فائدہ یہ ہوا کہ ان لوگوں کی طاقت و قوت توڑدی گئی، جو آستین کا سانپ بن کر مسلمانوں کو نقصان پہنچا رہے تھے ۔

عنوان۔ صلح حدیبیہ

درست جواب کا انتخاب کریں

1۔ ہجرت کے چھٹے سال۔ 2۔ چودہ سو۔ 3۔ حضرت عثمان غنی کو۔

4۔ دس سال۔ 5۔ دس ہزار۔

مختصر جواب دیں۔ 1۔ جواب۔ ہجرت کے چھٹے سال حضور اکرم صلی اللہ علیہ وسلم نے یہ ارادہ فرمایا کہ اپنے صحابہ کے ساتھ عمرہ ادا فرمائیں آپ 1400 صحابہ کے ساتھ مکہ مکرمہ روانہ ہوئے

2۔ جواب۔ حدیبیہ کا مقام مکہ مکرمہ کے کچھ فاصلے پر واقع ہے

3۔ جواب۔ حضرت علی بن ابی طالب رضی اللہ تعالی عنہ کو یہ اعزاز حاصل ہوا کہ وہ ان کو تحریر کریں۔

4۔ جواب۔ انہوں نے آپ صلی اللہ علیہ ہ وسلم کو مشورہ دیا کہ آپ کسی سے کچھ نہ کہیں بس اتنا کریں کہ اپنا جانور ذبح کر دیں اور کسی بلند جگہ پر بیٹھ کر حجام کو بلا کر اپنا سر منڈوا لیں۔

5۔ جواب۔ اس واقعے میں نبی اکرم صلی اللہ علیہ وسلم کے ساتھ آنے والے جان نثاروں کی تعداد 1400 تھی۔ جبکہ دو سال بعد مکہ مکرمہ کو فتح کرنے کے لیے آنے والے لشکر کی تعداد 10 ہزار کے لگ بھگ تھی۔

تفصیلی جوابات دیں۔ 2۔ جواب۔ صلح حدیبیہ کے موقع پر آپ صلی اللہ علیہ وسلم نے فرمایا علی لکھو یہ وہ معاہدہ ہے جس پر محمد صلی اللہ علیہ وسلم نے قریش کے ساتھ باہمی صلح کی۔ سہیل بن عمرو نے پھر اعتراض کیا کہ ہم آپ کو اللہ کا رسول مانتے تو پھر آپ کے ساتھ جھگڑا ہی کیا تھا۔ آپ اس کی جگہ محمد بن عبداللہ لکھیں۔ نبی اکرم صلی اللہ علیہ وسلم نے فرمایا میں بلا شبہ اللہ تعالی کا رسول ہوں تم لوگ تسلیم کرو یا نہ کرو۔ پھر آپ نے حضرت علی کو حکم دیا کہ وہ محمد بن عبداللہ ہی لکھ دیں اور محمد رسول اللہ کا لفظ مٹا دیں۔ حضرت علی رضی اللہ تعالی عنہ محمد رسول اللہ کے الفاظ لکھ چکے تھے۔ عرض کیا اے اللہ کے رسول یہ کیسے ممکن ہے کہ میں محمد رسول اللہ کا لفظ اپنے ہاتھ سے مٹا دوں اس پر نبی پاک صلی اللہ علیہ والہ وسلم نے خود اپنے دست مبارک سے یہ لفظ مٹا دیا۔

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • No latin characters (2):
  • Low reputation (1):
Posted by: Irfanjutt

79689719

Date: 2025-07-04 05:54:48
Score: 6
Natty: 5
Report link

I have a similar problem, where the dropdowns like Hotels, Restaurants, etc can be selected and the output from map should change dynamically. All the API Keys in Google console are enabled.

Reasons:
  • Blacklisted phrase (1): I have a similar problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have a similar problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thomas Wilson Tom