79669151

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

Had the same.

At the bottom of the breakpoint view (left column of Xcode)

All Runtime issues lib system_trace.dylib

I had this breakpoint "All Runtime issues lib system_trace.dylib" active.

Inactivating this breakpoint did the trick.

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

79669139

Date: 2025-06-17 13:11:28
Score: 1
Natty:
Report link

The source of problem was found. It was related to the handlers from Systick, SVC and pendSV. I should use the handlers from FreeRTOS instead of the functions used by the ST. So, in my source code, I changed the l vector table (on file startup_stm32f767zitx.s) to these:

.word  vPortSVCHandler
.word  xPortPendSVHandler
.word  xPortSysTickHandler

After doing this, the FreeRTOS started working.

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

79669132

Date: 2025-06-17 13:08:27
Score: 3.5
Natty:
Report link

You can define a global timezone to get the correct results, please see the link to API, where you can see a demo in action: https://api.highcharts.com/highcharts/time.timezone

Reasons:
  • RegEx Blacklisted phrase (1): see the link
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79669126

Date: 2025-06-17 13:05:26
Score: 1
Natty:
Report link
 $row->created = (new DateTime('@' . $row->created))->setTimezone(new DateTimeZone(config('app.timezone')));

Not a bug,the timezone is intentionally ignored when using @-style timestamps.

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

79669123

Date: 2025-06-17 13:04:25
Score: 1
Natty:
Report link

No, this is expected behavior. Your solution with setTimezone() is the proper way to handle it.

When using a Unix timestamp with DateTime (like @1718607600), PHP ignores both the default timezone and any timezone passed to the constructor. That's why your first snippet shows +00:00 - it's forced to UTC.

The fix is simple: Create your timestamp in UTC, then convert it to your timezone using setTimezone() right after:


$row->created = (new DateTime('@' . $row->created)) ->setTimezone(new DateTimeZone(config('app.timezone')));

Your second snippet already does this correctly. Unix timestamps are UTC-based, so you always need this explicit conversion to show them in local time.

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

79669118

Date: 2025-06-17 13:02:25
Score: 2
Natty:
Report link

Check and use this - Wrong spring.cloud.config.uri setting – Make sure that your client applications are pointing to the correct Config Server URL.

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

79669114

Date: 2025-06-17 12:59:24
Score: 0.5
Natty:
Report link

This will make ./gradlew testFlavor1UnitTest exclude all classes from the common test folder while keeping everything else exactly the same.

afterEvaluate {
    tasks.withType(Test).matching { it.name.contains('Flavor') }.all {
        exclude '**/test/**'
    }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Muhammad Saad Ali Khan

79669112

Date: 2025-06-17 12:58:23
Score: 2
Natty:
Report link

It is a vulnerability.

With this you can read files as the root, so you can access files you should not.

With weak passwords you can crack password hashes of other users. If you are lucky you will escalate.

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

79669111

Date: 2025-06-17 12:56:23
Score: 0.5
Natty:
Report link

Yes, with Maths and a map

>>> MULTVAL =  (1.001**1000)                                                                                                       
>>> output = [*map(lamdba x: x*MULTVAL, range(10000))]    
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Axeltherabbit

79669108

Date: 2025-06-17 12:55:23
Score: 2
Natty:
Report link

Since xunit 2.5.0 you can use Assert.Single(collection);

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Denys Voronovych

79669105

Date: 2025-06-17 12:55:22
Score: 9.5
Natty: 8
Report link

i am facing an same issue bro any solution regarding this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (2): any solution regarding this?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: dhanush

79669100

Date: 2025-06-17 12:54:22
Score: 3
Natty:
Report link

<!DOCTYPE html>

<html lang="">

<head>

<title>Test</title>

</head>

<body>

<p></p>

</body>

</html>

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Neville Vokey

79669094

Date: 2025-06-17 12:52:22
Score: 1
Natty:
Report link

It's an authorization concern that the user be authenticated, so I had to that as the fallback policy and everything works. I made the following addition to the ServiceCollectionExtensions.AddCertificateAuthenticationService method:

builder.Services.AddAuthorization(options =>
{
    options.FallbackPolicy = new AuthorizationPolicyBuilder()
                    .RequireAuthenticatedUser()
                    .Build();
});
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Matthew Hamilton

79669093

Date: 2025-06-17 12:51:21
Score: 2
Natty:
Report link

this helped me curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py python3 get-pip.py

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

79669075

Date: 2025-06-17 12:42:18
Score: 1
Natty:
Report link

Resolved this by adding 'react-native-reanimated/plugin' to plugins property in babel.config.js

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

79669074

Date: 2025-06-17 12:41:18
Score: 2
Natty:
Report link

Don't forget to enable an external formatter in phpstorm to use formatting style from phpcs.xml

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: James Bond

79669073

Date: 2025-06-17 12:40:17
Score: 2.5
Natty:
Report link

I made a change to NSwag to apply the cancellationToken to the ReadAsStringAsync and ReadAsStreamAsync calls when the framework is .NET 5 or higher. My change should be available in the 14.5 version of NSwag, or the nightly build of master if you need it sooner.

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

79669053

Date: 2025-06-17 12:27:14
Score: 2
Natty:
Report link

If your data has numbers stored as strings, Python will sort 10 before 2 because it's comparing character-by-character. If you want numeric sorting, convert them to integers in the key:

sorted_data = sorted(mix_data, key=lambda x: (int(x[0]), int(x[1])))

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

79669052

Date: 2025-06-17 12:26:13
Score: 1
Natty:
Report link
<!DOCTYPE html>
<html>
    <head>
        <title>
            Noah's first website 
        </title>
    </head>
    <body>
        <h1>If you play Roblox just friend me
my username is Djdog_95 and my character has a blue jersey</h1>
    </body>
</html>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Noah Currie

79669051

Date: 2025-06-17 12:25:13
Score: 1
Natty:
Report link

Change your lambda to return a tuple of the first and second elements - Python will automatically sort by the first value, and use the second one

sorted_list = sorted(mix_data, key=lambda x: (x[0], x[1]))

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

79669048

Date: 2025-06-17 12:24:13
Score: 5
Natty:
Report link

The above worked and thank you

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Brett Byers

79669045

Date: 2025-06-17 12:24:13
Score: 1.5
Natty:
Report link

Use stable version of pycryptodome

pip uninstall pycryptodome crypto
pip install pycryptodome==3.19.0  # Specific stable version
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ali Hassan

79669038

Date: 2025-06-17 12:20:12
Score: 1.5
Natty:
Report link

If you don't want these fields for your users, go in Realm Settings -> User Profile and delete the fields firstName and lastName.

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

79669024

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

Working Directory / Working Tree- The folder on your system with checked-out files you can edit.also working directoy have synoyms working copy

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

79669021

Date: 2025-06-17 12:11:09
Score: 1.5
Natty:
Report link

Check if you are saving both tsconfig.json and tsconfig.app.json inside the src folder. If so, move them outside the src folder and place them in the root directory of your project.

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

79669018

Date: 2025-06-17 12:10:09
Score: 0.5
Natty:
Report link

Since this is the first question that comes up when searching for OSError: Error reading file failed to load external entity; I want to share a more general quick tip that helped me identify the problem and makes the error message more informative in the future:

import os

if not os.path.isfile(filename):
    raise FileNotFoundError(filename)

By adding this check before parsing the file, you can immediately verify whether the file path is correct and get a much clearer error message if the file does not exist.

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: tschomacker

79669007

Date: 2025-06-17 12:00:07
Score: 2
Natty:
Report link
header 1 header 2
cell 1 cell 2
cell 3 cell 4

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

79669004

Date: 2025-06-17 11:58:06
Score: 2.5
Natty:
Report link

Turns out this is something to do with the fact that I was using Brave browser (see this q&a) launched by Visual Studio.

Using Brave against the app when not launched by VS seems fine.

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

79668994

Date: 2025-06-17 11:50:03
Score: 2
Natty:
Report link

It appeared to be an encoding problem while opening the file, the following lines now give the correct output:

with open("script.py", encoding = 'utf-8') as file:
    exec(file.read())

Thanks everyone.

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

79668972

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

Unknown integration just sounds like discord is not recognizing your slash commands.

Can you provide more code to show how you initialized your slash commands? Are you using the CommandTree ?

How do i make a working slash command in discord.py this thread might be able to help you out a bit more. You are not producing an error traceback anyways as discord does not recognize your slash commands and therefore does not send a request to the bot.

It sounds like your slash commands are set up wrong. Your prefix should not be set to the / character. There is a proper way to initialize discord slash commands.

Reasons:
  • Blacklisted phrase (1): How do i
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: hexxx

79668959

Date: 2025-06-17 11:14:55
Score: 6.5 🚩
Natty: 5.5
Report link

I am still stucked at the error likes yours.can you please help out.

Reasons:
  • RegEx Blacklisted phrase (3): can you please help
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: sagar regmi

79668949

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

If you're looking to manage audio easily while editing videos, I understand how frustrating it can be when clear instructions aren't available. For those using Banuba Video Editor, the code snippets you've mentioned help set the audio source on both Android and iOS.

However, if you're open to trying another powerful and user-friendly app, Alight Motion might be a great alternative. It not only allows you to add background music but also lets you extract, replace, or edit audio tracks within the same interface, without needing extra tools. It’s perfect for both beginners and advanced users who want quick, all-in-one editing features.

If you're interested in learning how to remove or add audio in Alight Motion step-by-step, you can check out this helpful tutorial. It’s based on hands-on experience and covers everything you need to know.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Thomas Steven

79668943

Date: 2025-06-17 11:00:50
Score: 1.5
Natty:
Report link

It turns out I had other styling overwriting from .scale div. I fixed it with another class to the individual scale parts.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user2416983

79668942

Date: 2025-06-17 10:57:50
Score: 3.5
Natty:
Report link

You can also get the ID directly from the application; just click on the team in any message, then you can click on the 3 dots and choose `copy group id`

enter image description here

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

79668934

Date: 2025-06-17 10:51:48
Score: 1.5
Natty:
Report link

I use to have the same problem, but switched to Stream.IO VideoTextureViewRenderer!

Try VideoTextureViewRenderer(instead of SurfaceViewRenderer) inside CardView with rounded corners. It should fix the problem!

/*
 * Copyright 2023 Stream.IO, Inc. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

import android.content.Context
import android.content.res.Resources
import android.graphics.SurfaceTexture
import android.os.Handler
import android.os.Looper
import android.util.AttributeSet
import android.view.TextureView
import android.view.TextureView.SurfaceTextureListener
import org.webrtc.*
import org.webrtc.RendererCommon.RendererEvents
import timber.log.Timber
import java.util.concurrent.CountDownLatch

/**
 * Custom [TextureView] used to render local/incoming videos on the screen.
 */
open class VideoTextureViewRenderer @JvmOverloads constructor(
  context: Context,
  attrs: AttributeSet? = null
) : TextureView(context, attrs), VideoSink, SurfaceTextureListener {

  /**
   * Cached resource name.
   */
  private val resourceName: String = getResourceName()

  /**
   * Renderer used to render the video.
   */
  private val eglRenderer: EglRenderer = EglRenderer(resourceName)

  /**
   * Callback used for reporting render events.
   */
  private var rendererEvents: RendererEvents? = null

  /**
   * Handler to access the UI thread.
   */
  private val uiThreadHandler = Handler(Looper.getMainLooper())

  /**
   * Whether the first frame has been rendered or not.
   */
  private var isFirstFrameRendered = false

  /**
   * The rotated [VideoFrame] width.
   */
  private var rotatedFrameWidth = 0

  /**
   * The rotated [VideoFrame] height.
   */
  private var rotatedFrameHeight = 0

  /**
   * The rotated [VideoFrame] rotation.
   */
  private var frameRotation = 0

  init {
    surfaceTextureListener = this
  }

  /**
   * Called when a new frame is received. Sends the frame to be rendered.
   *
   * @param videoFrame The [VideoFrame] received from WebRTC connection to draw on the screen.
   */
  override fun onFrame(videoFrame: VideoFrame) {
    eglRenderer.onFrame(videoFrame)
    updateFrameData(videoFrame)
  }

  /**
   * Updates the frame data and notifies [rendererEvents] about the changes.
   */
  private fun updateFrameData(videoFrame: VideoFrame) {
    if (isFirstFrameRendered) {
      rendererEvents?.onFirstFrameRendered()
      isFirstFrameRendered = true
    }

    if (videoFrame.rotatedWidth != rotatedFrameWidth ||
      videoFrame.rotatedHeight != rotatedFrameHeight ||
      videoFrame.rotation != frameRotation
    ) {
      rotatedFrameWidth = videoFrame.rotatedWidth
      rotatedFrameHeight = videoFrame.rotatedHeight
      frameRotation = videoFrame.rotation

      uiThreadHandler.post {
        rendererEvents?.onFrameResolutionChanged(
          rotatedFrameWidth,
          rotatedFrameHeight,
          frameRotation
        )
      }
    }
  }

  /**
   * After the view is laid out we need to set the correct layout aspect ratio to the renderer so that the image
   * is scaled correctly.
   */
  override fun onLayout(changed: Boolean, left: Int, top: Int, right: Int, bottom: Int) {
    eglRenderer.setLayoutAspectRatio((right - left) / (bottom.toFloat() - top))
  }

  /**
   * Initialise the renderer. Should be called from the main thread.
   *
   * @param sharedContext [EglBase.Context]
   * @param rendererEvents Sets the render event listener.
   */
  fun init(
    sharedContext: EglBase.Context,
    rendererEvents: RendererEvents
  ) {
    ThreadUtils.checkIsOnMainThread()
    this.rendererEvents = rendererEvents
    eglRenderer.init(sharedContext, EglBase.CONFIG_PLAIN, GlRectDrawer())
  }

  fun init(
    sharedContext: EglBase.Context,
    tag: String
  ) {
    ThreadUtils.checkIsOnMainThread()
    this.rendererEvents =  object : RendererEvents {
      override fun onFirstFrameRendered() {
        Timber.i("$tag onFirstFrameRendered")
      }
      override fun onFrameResolutionChanged(p0: Int, p1: Int, p2: Int) {
        Timber.i("$tag onFrameResolutionChanged $p0 $p1 $p2")
      }
    }
    eglRenderer.init(sharedContext, EglBase.CONFIG_PLAIN, GlRectDrawer())
  }

  /**
   * [SurfaceTextureListener] callback that lets us know when a surface texture is ready and we can draw on it.
   */
  override fun onSurfaceTextureAvailable(surfaceTexture: SurfaceTexture, width: Int, height: Int) {
    eglRenderer.createEglSurface(surfaceTexture)
  }

  /**
   * [SurfaceTextureListener] callback that lets us know when a surface texture is destroyed we need to stop drawing
   * on it.
   */
  override fun onSurfaceTextureDestroyed(surfaceTexture: SurfaceTexture): Boolean {
    val completionLatch = CountDownLatch(1)
    eglRenderer.releaseEglSurface { completionLatch.countDown() }
    ThreadUtils.awaitUninterruptibly(completionLatch)
    return true
  }

  override fun onSurfaceTextureSizeChanged(
    surfaceTexture: SurfaceTexture,
    width: Int,
    height: Int
  ) {
  }

  override fun onSurfaceTextureUpdated(surfaceTexture: SurfaceTexture) {}

  override fun onDetachedFromWindow() {
    eglRenderer.release()
    super.onDetachedFromWindow()
  }

  private fun getResourceName(): String {
    return try {
      resources.getResourceEntryName(id) + ": "
    } catch (e: Resources.NotFoundException) {
      ""
    }
  }
}
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (0.5):
Posted by: Albert Aleksieiev

79668932

Date: 2025-06-17 10:51:48
Score: 1
Natty:
Report link

You can rename your non exported API and global variable with some random names that will make re-egineering harder

1. List the function and varaibles you want to rename in the file symbols_list.txt, you can list all symbol by issuing the command "strings your_lib.so"

2. Run the command : python3 generate_mapping.py symbols_list.txt

3. Once the renaming mappping list prepared, provide your source folder path in SOURCE_FOLDER present in apply_mapping.py

4. Run the command : python3 apply_mapping.py

5. Recompile your code

6. Now your .so file is ready to share.

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

79668923

Date: 2025-06-17 10:44:46
Score: 0.5
Natty:
Report link

after try so many ways I realize my data source set in function when I set it in form_loadfunction problem gone

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Erfan

79668917

Date: 2025-06-17 10:43:46
Score: 1
Natty:
Report link

Use JS condition dynamically: apex.page.isChanged()

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

79668905

Date: 2025-06-17 10:37:44
Score: 13.5
Natty: 8
Report link

Did you get any solution for this?

Reasons:
  • Blacklisted phrase (1.5): any solution
  • RegEx Blacklisted phrase (3): Did you get any solution
  • RegEx Blacklisted phrase (2): any solution for this?
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Samina

79668902

Date: 2025-06-17 10:32:43
Score: 0.5
Natty:
Report link

I changed my code to merging and sql as the comments sugested, it made it faster but it still takes up to two minutes to save the excel.

Thank you for all the suggestions!

Changed the function to:


plantilla_df = pd.read_excel(template_file, sheet_name='Template')
branch_mapping_df = pd.read_excel(template_file, sheet_name='BranchMapping', dtype={'Source_value': str})  
type_mapping_df = pd.read_excel(template_file, sheet_name='TypeMapping', dtype={'Source_value': str}) 
interbusiness_mapping_df = pd.read_excel(template_file, sheet_name='InterbusinessMapping', dtype={'Source_value': str})
bos_mapping_df = pd.read_excel(bos_mapping_file, dtype=str).fillna("NA")
customer_mapping_df = pd.read_excel(customer_mapping_file, dtype=str)
murex_mapping_df = pd.read_excel(murex_mapping_file, dtype=str)
bb_mapping_df = pd.read_excel(bb_mapping_file, dtype=str)
bb_mapping_df['Corporate Product Name - Hierarchy (English)'] = bb_mapping_df['Corporate Product Name - Hierarchy (English)'].str.replace('.', '')



# Merging the DataFrames
merged_df = combined_m1 \
    .merge(branch_mapping_df, how='left', left_on='Codigo', right_on='Source_value') \
    .merge(bos_mapping_df, how='left', left_on='Cuenta', right_on='BOS') \
    .merge(type_mapping_df, how='left', left_on='ACCOUNT', right_on='Source_value', suffixes=('', '_type')) \
    .merge(bb_mapping_df, how='left', left_on='ACCOUNT', right_on='Corporate Product Code - Hierarchy', suffixes=('', '_bb')) \
    .merge(customer_mapping_df, how='left', left_on='Cliente', right_on='Customer Code') \
    .merge(murex_mapping_df, how='left', left_on='Folder', right_on='SOURCE_VALUE')



# Adding the calculated columns
merged_df['inter-branch flag'] = np.select(
    [
        merged_df['Type'].isnull(),
        ~merged_df['Type'].isin(['Assets', 'Liabilities']),
        merged_df['Type'].isin(['Assets', 'Liabilities']) & (merged_df['Reference'].str.startswith('LIF')),
        merged_df['Type'].isin(['Assets', 'Liabilities']) & (merged_df['Group Code'].isin(interbusiness_mapping_df['Source_value']))
    ],
    ['', 'No - non Assets & Liability', 'No - LIF', 'Yes'],
    default='No'
)



output_df = merged_df[[
    "Codigo",
    "Target_value",    # "Branch"
    "Fecha de Envio",
    "Numero",
    "Cuenta",
    "ACCOUNT",         # "CdG"
    "ACCOUNT NAME",    # "CdG desc"
    "Target_value_type", # "Type"
    "Level in BB",     # "BB code"
    "Corporate Product Name - Hierarchy (English)",  # "BB Desc" 
    "Starting Date", 
    "Group Code",
    "inter-branch flag",
    "Reference",
    "local account",
    "Cliente",
    "Customer Name"

]].rename(columns={
    "Target_value": "Branch",
    "ACCOUNT": "CdG",
    "ACCOUNT NAME": "CdG desc",
    "Target_value_type": "Type",
    "Level in BB": "BB code",
    "Corporate Product Name - Hierarchy (English)": "BB Desc"
})

# Output the final DataFrame
print(output_df)

template_directory = os.path.dirname(template_file)
output_path_temp = os.path.join(template_directory, 'Depurar.xlsx')
output_df.to_excel(output_path_temp, index=False)
Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Cheker

79668898

Date: 2025-06-17 10:28:42
Score: 1
Natty:
Report link

Thanks for the feedback folks, it did help. Below is my working solution.

protected static async Task DownloadDocument(ILocator locator, string FileName)
{
    Console.WriteLine(GetTheCurrentMethod());
    var waitForDownloadTask = Page.WaitForDownloadAsync();
    await locator.ClickAsync();
    var download = await waitForDownloadTask;
    await download.SaveAsAsync($"{DownloadPath}\\{FileName}");
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kev

79668896

Date: 2025-06-17 10:28:42
Score: 0.5
Natty:
Report link
from mido import Message, MidiFile, MidiTrack, bpm2tempo

mid = MidiFile()
track = MidiTrack()
mid.tracks.append(track)

tempo = bpm2tempo(70)  # 70 bpm para clima romântico
track.append(Message('program_change', program=24, time=0))  # Piano acústico

quarter_note = 480

def add_chord(notes, duration):
    for note in notes:
        track.append(Message('note_on', note=note, velocity=64, time=0))
    track.append(Message('note_off', note=notes[0], velocity=64, time=duration))
    for note in notes[1:]:
        track.append(Message('note_off', note=note, velocity=64, time=0))

progression = [
    [57, 60, 64],  # Am
    [62, 65, 69],  # Dm
    [67, 71, 74],  # G
    [60, 64, 67],  # C
    [65, 69, 72],  # F
    [64, 68, 74],  # E7
    [57, 60, 64],  # Am
]

for chord in progression:
    add_chord(chord, quarter_note * 4)

mid.save("O_Homem_dos_meus_Sonhos_Ana_Carolina_Style.mid")
print("Arquivo MIDI criado: O_Homem_dos_meus_Sonhos_Ana_Carolina_Style.mid")
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: O_Homem_dos_meus_Sonhos_Ana_Ca

79668891

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

I did yarn start

then open Chromium

then http://localhost:8081/

and get it in Console

but no way to get it direct with "j"

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

79668882

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

this is also my code.. and we have the same problem

\# ai\_firefox\_scraper.py (Fixed)

import asyncio

import json

import os

import csv

import time

import random

from pathlib import Path

from playwright.async\_api import async\_playwright

SAVE\_DIR = Path("scraped\_data")

SAVE\_DIR.mkdir(exist\_ok=True)

class FirefoxSmartScraper:

def \_\_init\_\_(self, max\_pages=5, throttle=(4, 8)):

self.max\_pages = max\_pages

self.throttle = throttle

async def search\_and\_scrape(self, topic: str):

async with async\_playwright() as p:

browser = await p.firefox.launch(headless=False)

context = await browser.new\_context()

page = await context.new\_page()

print(f"🔍 Searching DuckDuckGo for: {topic}")

await page.goto("https://duckduckgo.com", timeout=30000)

await page.wait\_for\_selector("input\[name='q'\]")

\# Type like a human

for c in topic:

await page.type("input\[name='q'\]", c, delay=random.randint(100, 200))

await page.keyboard.press("Enter")

await page.wait\_for\_selector("a.result\_\_a", timeout=20000)

await asyncio.sleep(random.uniform(\*self.throttle))

\# Extract real links only

items = await page.query\_selector\_all("a.result\_\_a")

urls = \[\]

for item in items\[:self.max\_pages\]:

try:

title = await item.inner\_text()

href = await item.get\_attribute("href")

\# Ensure it's a valid URL

if href and href.startswith("http"):

urls.append({"title": title.strip(), "url": href})

except Exception as e:

print(f"\[!\] Failed to parse link: {e}")

continue

if not urls:

print("❌ No links found.")

await browser.close()

return

print(f"🔗 Visiting {len(urls)} pages...")

scraped = \[\]

for idx, link in enumerate(urls):

print(f"\\n📄 \[{idx+1}\] {link\['title'\]}")

try:

await page.goto(link\["url"\], timeout=30000)

await asyncio.sleep(random.uniform(\*self.throttle))

content = await page.text\_content("body")

scraped.append({

"title": link\["title"\],

"url": link\["url"\],

"content": content\[:1500\] # Limit content

})

except Exception as e:

print(f"\[!\] Failed to scrape: {link\['url'\]}\\nReason: {e}")

continue

await browser.close()

self.save\_data(topic, scraped)

def save\_data(self, topic: str, data: list):

filename\_json = SAVE\_DIR / f"{topic.replace(' ', '\_')}\_data.json"

filename\_csv = SAVE\_DIR / f"{topic.replace(' ', '\_')}\_data.csv"

\# Save as JSON

with open(filename\_json, "w", encoding="utf-8") as f:

json.dump(data, f, ensure\_ascii=False, indent=2)

\# Save as CSV

with open(filename\_csv, "w", newline="", encoding="utf-8") as f:

writer = csv.DictWriter(f, fieldnames=\["title", "url", "content"\])

writer.writeheader()

for entry in data:

writer.writerow(entry)

print(f"\\n✅ Saved {len(data)} entries to:\\n- {filename\_json}\\n- {filename\_csv}")

def main():

topic = input("🔎 Enter topic to crawl web for data: ").strip()

if not topic:

print("❌ No topic entered.")

return

scraper = FirefoxSmartScraper()

asyncio.run(scraper.search\_and\_scrape(topic))

if \_\_name\_\_ == "\_\_main\_\_":

main()

this is my code in making an overall web scrapping.. i don't know whats wrong, it doesn't fetch data in the internet. or maybe websites are really protected

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Low reputation (1):
Posted by: Oliver Gonzales

79668873

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

You can add <requestFocus /> tag in the EditText tag to gain focus when a fragment/activity is loaded

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

79668868

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

I got this error because I had a scheduler which was planned for a certain time to delete entries. But I had 2 nodes (servers) which were trying to do the same job and brought this conflict.

I scheduled one node for 5 min. later.

First node: 00:00

Second node: 00:05

The problem is solved.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Murat K.

79668867

Date: 2025-06-17 10:09:36
Score: 2
Natty:
Report link

Another dummy solution to that kind of error :

My problem was that I opened the parent folder (in which I have my 4 cloned projects). So that probably sounds stupid, but make sure you open the right project or it will obviously struggle to find your imports.

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

79668861

Date: 2025-06-17 10:08:35
Score: 12 🚩
Natty: 5.5
Report link

@Carlos Roldán.

I'm facing the same issue. Did you found the solution?

Reasons:
  • RegEx Blacklisted phrase (3): Did you found the solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same issue
  • Ends in question mark (2):
  • User mentioned (1): @Carlos
  • Looks like a comment (1):
  • Low reputation (0.5):
Posted by: Dorr

79668860

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

not completely related but, how were you able to get widgets with control actions like music player to update in real time: here a link to the full info about this question question

Reasons:
  • RegEx Blacklisted phrase (3): were you able
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: LazySadist

79668857

Date: 2025-06-17 10:05:33
Score: 4.5
Natty: 5
Report link

https://www.facebook.com/share/1BVrsrzKWW/

Is Facebook account ki nambar de do

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

79668854

Date: 2025-06-17 10:03:33
Score: 2
Natty:
Report link

There is very likely an encoding issue during the exec part of the code as sasid by @tevemadar

The way this is done also would be quite looked down upon. Exec's are dangerous as they can easily be exploited.

Imports exist for a reason. Try wrapping your bs4 code in a function maybe and import that to your main file. You can call it then ;)

Reasons:
  • No code block (0.5):
  • User mentioned (1): @tevemadar
  • Low reputation (0.5):
Posted by: hexxx

79668848

Date: 2025-06-17 09:59:32
Score: 2.5
Natty:
Report link

Replace - late WebViewController _controller;
With - WebViewController? _controller;

And use -

if (_controller == null) {

return const Center(child: CircularProgressIndicator());

}

WebViewWidget(controller: _controller!);

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Parth Solanki

79668839

Date: 2025-06-17 09:53:30
Score: 0.5
Natty:
Report link

Image was inserted by default way:

<Image Grid.Column="0" Grid.Row="0"
       Source="{Binding Path=ImageBitmapSource, Mode=OneWay}" HorizontalAlignment="Center"
                   VerticalAlignment="Top" Stretch="UniformToFill" Margin="10,20"/>

And ImageBitmapSource in ViewModel was inited by this code:

        protected static void LoadImage(ImportFileType importFileType, string relativeImage1Path,
                                        Action<bool> setIsEmpty, Action<BitmapImage> setBitmapImage)
        {
            var imagesPath = StorableData.GetPath(importFileType);

            var bitmapImage = ImagesViewModelBase.CreateBitMapImage(IOExt.Combine(imagesPath, relativeImage1Path));
            if (bitmapImage != null)
            {
                bitmapImage.Freeze();
            }

            setIsEmpty(bitmapImage == null);
            setBitmapImage(bitmapImage);
        }
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Aleksandr A

79668835

Date: 2025-06-17 09:51:29
Score: 2.5
Natty:
Report link

I asked DeepSeek the same question, and it explained iNEXT output results:
`f1-f10`: Number of singletons, doubletons, etc. (species represented by exactly 1, 2,...10 individuals).

So, it makes sense, now. Aditionally, sample coverage results also were coherent wit expectations.

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

79668833

Date: 2025-06-17 09:49:29
Score: 3.5
Natty:
Report link

I had to add QT += svg to the pro-file.

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dr. R

79668828

Date: 2025-06-17 09:47:28
Score: 1.5
Natty:
Report link

By default Playwright saves downloads with a unique filename, but you can get the original name using SuggestedFilename from the Download API. After the download finishes, use download.PathAsync() to get the temp path, then rename the file with File.Move() to match the original filename.

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

79668826

Date: 2025-06-17 09:45:28
Score: 2.5
Natty:
Report link

Since Homebrew has disabled fetching [email protected], try to download and follow readme
from this repo
https://github.com/nanto88/mac-openssl

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Leksono Nanto P

79668823

Date: 2025-06-17 09:44:27
Score: 0.5
Natty:
Report link

Solution is here
https://learn.microsoft.com/en-us/answers/questions/1517358/cannot-import-microsoft-graph-modules-import-modul
and here
https://github.com/microsoftgraph/msgraph-sdk-powershell/issues/1488

  1. Ensure you have installed the module using Install-Module Microsoft.Graph -Scope YourPrefferedScope(CurrentUser/AllUsers) doc link here then verify if installed using Get-InstalledModule Microsoft.Graph

  2. Please increase the $maximumfunctioncount to the max 32768 and try and load the Graph Modules that you need- Reference for existing modules . Including necessary modules will free up capacity.

  3. You can run the Import-Module Microsoft.Graph to allow for the cmdlets to be available for the PowerShell session.

Reasons:
  • Whitelisted phrase (-1): Solution is
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mustafa sayed

79668818

Date: 2025-06-17 09:42:26
Score: 2
Natty:
Report link

Though it's not explicitly stated in the documentation, however I have encountered a similar case and could only receive the sent template once the payment method has been added. Also faced failure when the payment method validity expired and had to renew it

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

79668816

Date: 2025-06-17 09:41:26
Score: 1
Natty:
Report link

You need to upgrade @mui/material to version ^7.0 . Just run npm i @mui/material@latest and follow the migration guide from https://mui.com/material-ui/migration/upgrade-to-v7/

Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: JonasLevin

79668810

Date: 2025-06-17 09:38:25
Score: 2
Natty:
Report link

First of all fair warning, it's been some time since I last used Laravel. From what I have seen online the lambda limit isn't specific to the tmp file as the whole lambda system is temporary. I believe your problem should be solved with simple queueing. You should be able to queue chunks of data in laravel and upload them consecutively so that you don't hit the 512mb quota. Let me know how it goes if you try it!

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Egehan Kınık

79668806

Date: 2025-06-17 09:36:25
Score: 3
Natty:
Report link

I have a similar issue, in prod each time the screen changes my RootLayout is rerender. It doesn't happen in dev mode but it happens when running with npx expo start --no-dev --minify . I tried with a new project from npx create-expo-app and just added this lines in the RootLayout and the problem still occure :

  const count = useRef(0);
  count.current += 1;
  alert(`RootLayout rendered ${count.current} times`);
Reasons:
  • Has code block (-0.5):
  • Me too answer (2.5): I have a similar issue
  • Low reputation (1):
Posted by: MathGi

79668802

Date: 2025-06-17 09:35:24
Score: 6.5 🚩
Natty: 6.5
Report link

I need to do the opposite: I have a GNU/Linux executable which I can't make it SYSV due to it's dependencies, and I have SYSV shared object. Executable fails to load my SYSV so file so I want to try compile it as GNU/Linux. So how can I force g++ to create GNU/Linux object file instead of SYSV?

Reasons:
  • Blacklisted phrase (0.5): how can I
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vahagn Sirunyan

79668798

Date: 2025-06-17 09:34:23
Score: 1
Natty:
Report link

"check and set the projectKey according to what is listed in the sample file. For me it was a combination of organization and actual project key, not the name of the project in SonarQube!"

This did the trick for me. I was getting the error

Could not find a default branch for project with key...

when using project key only for -Dsonar.projectKey.
After Changing this to -Dsonar.projectKey=${SONAR_ORGANIZATION}_${CI_PROJECT_NAME} error went away. Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Jussi Heinonen

79668792

Date: 2025-06-17 09:31:22
Score: 1
Natty:
Report link

Use mkl_sparse_d_mv() from oneAPI MKL for sparse matrix-vector multiplication. Ensure the matrix is in CSR format and handle descriptors correctly for accurate scalar product results.

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

79668783

Date: 2025-06-17 09:26:21
Score: 0.5
Natty:
Report link

It might be you are trying to grant access to qq@'%', but you are connected as root@localhost.

So, try granting to user@'localhost', not '%'.

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

79668780

Date: 2025-06-17 09:25:21
Score: 1
Natty:
Report link

Fix useCallback:

const handleRender = useCallback(() => {
  renderCountRef.current += 1;
  console.log('ExpensiveComponent render count:', renderCountRef.current);
}, []);

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

79668764

Date: 2025-06-17 09:16:17
Score: 6 🚩
Natty:
Report link

How do we enable the functionality so that tapping on the accessory/tab bar opens a different view in a modal like the Music app?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): How do we
  • Low reputation (1):
Posted by: sam

79668762

Date: 2025-06-17 09:14:17
Score: 0.5
Natty:
Report link

There is no boolean null in kdb+. Only true 1b, and false 0b.

https://code.kx.com/q/basics/datatypes/

The short datatype exists which is 2 bytes in size.

https://code.kx.com/q/interfaces/capiref/

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

79668745

Date: 2025-06-17 08:59:13
Score: 0.5
Natty:
Report link

Using PIVOT

SELECT * 
FROM(
SELECT id_request, Alert_Outcome, ROW_NUMBER() OVER(PARTITION BY id_request ORDER BY Alert_Outcome) AS rn
FROM Test
)
PIVOT (MAX(Alert_Outcome) FOR rn IN (1 AS Alert1, 2 AS Alert2, 3 AS Alert3))
ORDER BY id_request;

Using Conditional Aggregation

SELECT
 id_request,
 MAX(CASE WHEN rn = 1 THEN Alert_Outcome END) AS Alert1,
 MAX(CASE WHEN rn = 2 THEN Alert_Outcome END) AS Alert2,
 MAX(CASE WHEN rn = 3 THEN Alert_Outcome END) AS Alert3
FROM(
SELECT id_request, Alert_Outcome, ROW_NUMBER() OVER(PARTITION BY id_request ORDER BY Alert_Outcome) AS rn
FROM Test
) AS D
GROUP BY id_request
ORDER BY id_request

The result is below Result

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

79668741

Date: 2025-06-17 08:55:12
Score: 1.5
Natty:
Report link

Explanation is in the documentation. It is a serialization issue. The class you getting in the migrations are very basics.

https://docs.djangoproject.com/en/5.2/topics/migrations/#historical-models

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

79668740

Date: 2025-06-17 08:55:07
Score: 7.5 🚩
Natty:
Report link

I currently have a similar problem with my Python script.

I have a "script.py" file in which I parse the HTML code of a webpage and look for different elements, among which this one:

<div class="stock available" title="Disponibilité">
    <span>
       En stock
    </span>
</div>

Here is the part of my code looking for this element in "script.py":

import requests
from bs4 import BeautifulSoup
headers = {
        'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Safari/537.36 Edg/89.0.774.57'
        }
page = requests.get("target_website.com", headers = headers, verify = False)
html = BeautifulSoup(page.text, "html.parser")

element_dispo = html.find('div', {'title':'Disponibilité'})
element_dispo = element_dispo.get('class') if element_dispo else []
dispo = 'Dispo' if 'available' in element_dispo else 'Non dispo'

When running the script by itself, everything works as expected, but if I try to execute the "script.py" file from the "main_script.py" file, with the code below, then the wanted element is not found.

with open("script.py") as file:
    exec(file.read())

Does anyone have any idea of what's happening?

Reasons:
  • RegEx Blacklisted phrase (3): Does anyone have any idea
  • Long answer (-1):
  • Has code block (-0.5):
  • Me too answer (2.5): have a similar problem
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: BMML

79668732

Date: 2025-06-17 08:48:05
Score: 0.5
Natty:
Report link

Here are several ways to optimize training performance:

What I’ve shared are just a few of the available solutions. The YOLO website offers more comprehensive and detailed strategies for improving training performance. You can refer to the following link: https://github.com/ultralytics/ultralytics/blob/main/docs/en/yolov5/tutorials/tips_for_best_training_results.md

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

79668723

Date: 2025-06-17 08:45:04
Score: 4.5
Natty:
Report link

I think it because of the keyboard

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

79668716

Date: 2025-06-17 08:41:02
Score: 4
Natty: 5
Report link

Have you tried edgecolors="face" ?

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (2):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: AlexCionca

79668713

Date: 2025-06-17 08:39:02
Score: 2.5
Natty:
Report link

Other price replacement modes only works when you have multiple subscriptions and you're switching between them, not ONE subscription with multiple base plans.

Reference: https://developer.android.com/google/play/billing/subscriptions#change

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

79668709

Date: 2025-06-17 08:38:01
Score: 3
Natty:
Report link

As of August 2022, Microsoft now allows the Visual Studio Build Tools to be used for compiling C and C++ open source projects without requiring a license, even for commercial/enterprise users:

https://devblogs.microsoft.com/cppblog/updates-to-visual-studio-build-tools-license-for-c-and-cpp-open-source-projects/

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

79668708

Date: 2025-06-17 08:37:01
Score: 0.5
Natty:
Report link

Using the latest version of plotly=6.1.2 and plotly.express=1.30.0, I was able to just remove the to_pandas() and your code just worked as is. This is because plotly, natively support polars now.

import plotly.express as px
import polars as pl

tidy_df_pl = pl.DataFrame(
    {
        "x": [10, 10, 10, 20, 20, 20, 30, 30, 30],
        "y": [3, 4, 5, 3, 4, 5, 3, 4, 5],
        "value": [5, 8, 2, 4, 10, 14, 10, 8, 9],
    }
)

print(tidy_df_pl)
pivot_df_pl = (
    tidy_df_pl.pivot(index="x", on="y", values="value")
)
print(pivot_df_pl)

fig = px.imshow(pivot_df_pl)
fig.show()

As an alternative, you can also plot the heatmap with seaborn=0.13.2, which also supports polars now.

import seaborn as sns
sns.heatmap(pivot_df_pl, annot=True)

example histogram from seaborn

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

79668705

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

I managed to resolve this after contact with the AWS support by adding "--provenance=false" together with "--output type=docker" as arguments to the docker buildx build commands. This made it build in the V2 format supported by SageMaker. In our case the building was done via the aws-ecr circle-ci orb, using "extra_build_args", but adding the "--provenance==false" may help in other build environments too.

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

79668701

Date: 2025-06-17 08:30:59
Score: 2
Natty:
Report link

That's a really helpful explanation from Answer 1... my error seems to include:

https://www.example.com/

https://example.com/

https://www.example.com/index.html

https://example.com/index.html

but there is only one file index.html to have a canonical tag...

If I add to index.html, why does the console keep showing the 4 examples above? In my head it should just display all 4 as https://www.example.com/ and never see the others... But doesn't seem to be the case...

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Jason Robinson

79668700

Date: 2025-06-17 08:29:59
Score: 1
Natty:
Report link

You have to replace enable_lazy_ghost_objects: true by enable_native_lazy_objects: true in config/packages/doctrine.yaml :

doctrine:
    orm:
        auto_generate_proxy_classes: true
        naming_strategy: doctrine.orm.naming_strategy.underscore_number_aware
        enable_native_lazy_objects: true
        auto_mapping: true

See https://github.com/doctrine/orm/issues/11950 and https://github.com/doctrine/orm/pull/11853

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

79668699

Date: 2025-06-17 08:28:58
Score: 2
Natty:
Report link

For me using /wp-json/wp/v2/ at the end of the URL worked.

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

79668681

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

It looks we can set GRPC_SSL_TARGET_NAME_OVERRIDE_ARG using CreateCustomChannel but it would be also good to have option to completely skip name verification

grpc::ChannelArguments args;

args.SetSslTargetNameOverride("alias.namespace.svc.cluster.local");

args.SetString(GRPC_SSL_TARGET_NAME_OVERRIDE_ARG, "alias.namespace.svc.cluster.local");

grpc::CreateCustomChannel(addr + ":" + port, channel_creds, args);

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

79668680

Date: 2025-06-17 08:11:53
Score: 2.5
Natty:
Report link

Same thing happened to me with 2.26.0 - non proxy related issue.

Solved it by 'uninstalling the latest while it said there where 2 versions available.
The latest update was 12.06.2025 -> uninstall this one on windows 11.

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

79668673

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

While agreeing with Kaushik's answer giving height might not be always desirable, even with MediaQuery, You might think wrapping your widget with LayoutBuilder or wrapping whole ExpansionTile with SingleChildScrollView

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

79668669

Date: 2025-06-17 08:02:51
Score: 2
Natty:
Report link

https://github.com/nextauthjs/next-auth/issues/11544#issuecomment-2538494101

I used this fix. Change your middleware to be

export default await auth((req) => {
  // my custom logic here
})
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Drew Williams

79668653

Date: 2025-06-17 07:51:48
Score: 2.5
Natty:
Report link

Try setting .frame(maxWidth:) for the content in the swipe action

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

79668649

Date: 2025-06-17 07:46:47
Score: 1.5
Natty:
Report link

These may help in future,

This uses the logical OR operator with assignment to accomplish the same thing in one line. If calls[ev] exists and is truthy, it assigns that value to list. If it doesn't exist or is falsy, it creates a new empty object, assigns it to calls[ev], and then assigns that same object to list.

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

79668639

Date: 2025-06-17 07:43:45
Score: 1.5
Natty:
Report link

using round

function floorWithPrecision($value, $precision = 1) {
    return round($value - ( 0.5 / ( 10 ** $precision ) ), $precision, PHP_ROUND_HALF_UP);
}

/*
As a function
*/

echo floorWithPrecision(49.955, 2);

/*
49.95
*/

echo PHP_EOL;

/*
Same but no function both are keeping float
*/

echo round(49.955-0.005, 2, PHP_ROUND_HALF_UP);

/*
49.95
*/
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Björn

79668635

Date: 2025-06-17 07:40:44
Score: 2.5
Natty:
Report link

In our case, a Cognito WAF rule was blocking due to NoUserAgent

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

79668633

Date: 2025-06-17 07:38:43
Score: 1
Natty:
Report link

To make it world accessible you will also have to connect it to a internet connection and it should have a public accessible address just as any other web server.

If you really need access control aren't you better of handing out passes and attaching some sort of card reader to it to verify user has access as is the common case with barriers.

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

79668628

Date: 2025-06-17 07:35:42
Score: 1.5
Natty:
Report link

Unfortunately, your request can only be done with Navisworks Desktop and its API. There is no Cloud version. You can refer to this sample from my colleague.

https://github.com/xiaodongliang/Navisworks-api-unit-samples/blob/main/ExportNWDAutomation/Program.cs

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

79668621

Date: 2025-06-17 07:31:41
Score: 2
Natty:
Report link

Change the ad unit id to:

ca-app-pub-3940256099942544/9257395921

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

79668617

Date: 2025-06-17 07:24:39
Score: 2
Natty:
Report link

Pycharm is built for python projects and so you will definately not get a good experience when you try using it for flutter development.

Visual studio code, Android Studio or Intellij IDEA would work fine after you install the flutter and dart plugins/extensions. Personally, I use vscode

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

79668596

Date: 2025-06-17 07:09:34
Score: 5
Natty: 4
Report link

We oped a case @Microsoft and need votes now:
Post adaptive card and wait for a response not returning Message ID if it fails with Action Time out · Community

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • User mentioned (1): @Microsoft
  • Low reputation (1):
Posted by: S T SmallTalk

79668590

Date: 2025-06-17 07:03:33
Score: 2.5
Natty:
Report link

If you're deciding between Django and React for full-stack development, seeing how a real project is structured might help. I’ve built my portfolio using React for the frontend and FastAPI for the backend—it's a practical example of separating frontend and backend concerns in a full-stack setup.

You can view it here:
https://jerophin-portfolio.vercel.app

It may give you clarity on how modern frontend frameworks like React integrate into full-stack workflows.

Reasons:
  • Contains signature (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jerophin

79668583

Date: 2025-06-17 06:59:32
Score: 2
Natty:
Report link

wao amazing. finally this case is solved. thanks to Roy who open this case in this forum and Guscarr, thanks the solution is very solving.

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Whitelisted phrase (-1): solution is
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Karbilah Barakah

79668582

Date: 2025-06-17 06:58:31
Score: 2
Natty:
Report link

The error is literally telling you the problem is not the input dtype but the input formatting:

"--custom_input_op_name_np_data_path is not specified, all input OPs must assume 4D tensor image data. INPUT Name: image_repr INPUT Shape: [1, 768] INPUT dtype: float32"

Your model is not using a 4D tensor image data as input currently, but one with the shape [1, 768]. I recommend testing the "--custom_input_op_name_np_data_path" argument first and see if that is enough to complete the quantization process. By the way, is your model using an image as input?

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
Posted by: Mr K.

79668581

Date: 2025-06-17 06:56:31
Score: 1.5
Natty:
Report link

sizeof: calculates size in bytes of: variable, functions, arrays... depends on it's type and value.

your two functions is similar but in one is "unsigned" and in the other is just "char", difference in that is "unsigned" means values is only >= 0; it's dont make variables larger or smaller in size.

this is how much size in language C, of "unsigned char" and "char":

char : one symbol. Have 1 bytes (8 bit).

unsigned char : one symbol. Have 1 bytes (8 bit). Any value from 0 to 255

If you have other question or if i need to add something ask in comments!

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

79668578

Date: 2025-06-17 06:51:30
Score: 2.5
Natty:
Report link

Have you read the Firebase documentation on how to set up code to receive messages? For specifically, check out the Foreground Messages and the Background Messages. I followed that instruction and I was able to receive notifications.

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