79718393

Date: 2025-07-29 09:45:51
Score: 0.5
Natty:
Report link

If edge to edge is enable (if you tarket SDK 35 is enable by default) according with docummentation, is possible to set a safe area to draw your composes:

ModalBottomSheet(modifier = Modifier.safeDrawingPadding())

I hope that this help you.

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

79718384

Date: 2025-07-29 09:36:49
Score: 1
Natty:
Report link

After a lot of struggling I think I found a suitable work-around.

First off you should not be using the /workspace directory. There is a discussion on Github about this https://github.com/buildpacks/community/discussions/229

Using a top level directory as mentioned above it the better approach, however as soon as you mount a volume on that directory it's permissions change to root:root and this has been the default for compose since forever (2016?) https://github.com/docker/compose/issues/3270

This medium article helped with the solution https://pratikpc.medium.com/use-docker-compose-named-volumes-as-non-root-within-your-containers-1911eb30f731 and I just tweaked it a bit to work for me. You basically setup a second service that runs as root on startup and changes ownership of the directory in the volume to the cnb user.

Here is the compose file I ended up with:

services:

  # Fix Ownership of Build Directory
  # Thanks to Bug in Docker itself we need to use steps like this
  # Because by default, the volume directory is owned by Root
  change-vol-ownership:
    # We can use any image we want as long as we can chown
    # Busybox is a good choice
    # as it is small and has the required tools
    image: busybox:latest
    # Need a user priviliged enough to chown
    user: "root"
    # Specify the group ID of the CNB user in question (default is 1000)
    group_add:
      - '${GROUP_ID}'
    # The volume to chown and bind it to container directory /data
    volumes:
      - my-volume:/data
    # Finally change ownership to the cnb user 1002:1000
    command: chown -R ${USER_ID}:${GROUP_ID} /data

  spring-boot-app:
    image: my-image:latest
    restart: unless-stopped
    volumes:
      - my-volume:/data
    user: "${USER_ID}:${GROUP_ID}"
    depends_on:
      change-vol-ownership:
        # Wait for the ownership to change
        condition: service_completed_successfully
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): medium.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Vince

79718382

Date: 2025-07-29 09:34:48
Score: 3.5
Natty:
Report link

I managed to resolve the issue by switching the Gradle version to 8.11.1.

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

79718379

Date: 2025-07-29 09:30:47
Score: 1
Natty:
Report link

I faced the exact same issue where Chrome would autofill a saved 10-digit phone number with an extra leading zero, turning something like 1234567899 into 01234567899.

What worked for me was adding maxLength={10}/maxlength="10" attribute to the input field. Once that was added, Chrome autofill respected the 10-digit limit, and the extra zero stopped appearing. Hope this helps someone facing the same issue!

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Whitelisted phrase (-1): worked for me
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Low reputation (1):
Posted by: Omkar

79718335

Date: 2025-07-29 08:57:39
Score: 2
Natty:
Report link

Use a South Polar Stereographic projection in Cartopy and set extent to cover the pole. Add features like coastlines after setting the projection.

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

79718316

Date: 2025-07-29 08:40:34
Score: 0.5
Natty:
Report link

This might be a little late but:

You are providing evaluation points that you prespecified. The solver obviously takes more steps (with adaptive stepsize) internally. Otherwise you would not be that close to the exact solution. Anyways, the solution is only returned for the evaluation points that you provided.

Best

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Low reputation (1):
Posted by: hweecs

79718312

Date: 2025-07-29 08:34:31
Score: 11
Natty: 4.5
Report link

I have the same issue, the callback function passed to FB.login triggers immediately and does not wait for the user to interact with the facebook popup and wait for the result either success / cancel. It just cancels immediately, i cannot find a solution for this. Please help

Reasons:
  • Blacklisted phrase (1.5): i cannot find
  • Blacklisted phrase (1): I have the same issue
  • Blacklisted phrase (0.5): i cannot
  • RegEx Blacklisted phrase (3): Please help
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrei Alexandru

79718308

Date: 2025-07-29 08:31:30
Score: 1.5
Natty:
Report link

The reason of this error happened, is that ASLR has ENABLED (one of antivirus action of Windows protection).

The most direct way to solve this problem is by disabling all ASLR action in Windows Security.

This action leads to PCH allocation failure. More details could be found here :

The explanation in details

Similar topics has already been discussed on Stack Overflow:

Answer can also be found in this topics

In addiction, I've also noticed that this action is also leads to the installation of msys2 and the running of git.

(The installation of msys2 is probably using git bash so that the same error occurred.) The details could be found here:

enter image description here

Suggested "could not fork child process"

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

79718307

Date: 2025-07-29 08:30:30
Score: 3.5
Natty:
Report link

Checkout this repo: https://github.com/sureshM470/ffmpeg-cross-compile
Follow the instructions in Readme file to cross compile for Android NDK.

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

79718302

Date: 2025-07-29 08:27:29
Score: 1
Natty:
Report link

Pointer to members in the class declaration is a legit expression and should be allowed. It's MSVC bug which was fixed as part of 17.11 VS release (MSVC 19.41).

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

79718293

Date: 2025-07-29 08:15:26
Score: 0.5
Natty:
Report link

for me the following thing worked. as in context of nest js docs, This works for both cases and you don't need to create seprate middleware for raw or json body

import * as bodyParser from 'body-parser';

const app = await NestFactory.create(AppModule, {
  rawBody: true,
  bodyParser: true,
    }); 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MUHAMMAD MESUM

79718288

Date: 2025-07-29 08:11:25
Score: 1
Natty:
Report link

The standard does not specify the size of Character, Wide_Character, Wide_Wide_Character. The implementation is free to choose, provided it can hold the specified range of values.

Formally the values (the number returned by Character'Pos (X)) directly correspond to the code points, not because of the standard, Unicode was designed just this way.

In most cases the sizes (the number returned by Character'Size) are 8, 16, 32 bits. But on a DSP one could expect a 32-bit long Character.

Similarly the storage unit can be of any size see ARM 13.7 (31). So byte is a non-entity in Ada.

In practice you can ignore all this as an obsolete pre Unicode mess and use Character as an octet of the UTF-8 encoding and Wide_Character as a word of UTF-16 encoding (e.g. in connection with Windows API).

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

79718271

Date: 2025-07-29 07:53:21
Score: 3.5
Natty:
Report link

I know that it's pretty old question, but for the reference, here is an example:

https://www.astroml.org/book_figures/chapter4/fig_GMM_1D.html

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

79718262

Date: 2025-07-29 07:45:19
Score: 1
Natty:
Report link

You're trying to uncover all the hidden parcels (polygons) on an ArcGIS map. Click anywhere, and the site gives you back the geometry + attributes for the parcel under your cursor and not much more.

The real problem: How do you systematically discover every polygonal region, given only this point-and-click interface?

What you get on each click (simplified):

{
  "geometryType": "esriGeometryPolygon",
  "features": [{
    "attributes": { "ADDRESS": "..." },
    "geometry": { "rings": [ [[x1, y1], [x2, y2], ..., [xN, yN]] ] }
  }]
}
(rings form a loop so [x1,y1] == [xN, yN]

Each probe gives you the entire geometry (the ring) of a parcel, as an ArcGIS' Polygon type. Coords are Web Mercator (not lat/lon), so units are big, but you don’t need to brute-force every possible point.

Set a reasonable stride, maybe half the smallest parcel size, and walk the map. Every time you hit a new parcel, save its geometry and skip future probes that land inside it. CPU cycles are cheap; spamming server requests is not.

Here's a toy demo using a simple sweep method: We step through the grid, probe each point, and color new parcels as they're found. Real-world ArcGIS geometries (with rings, holes, etc.) are trickier, but you get the idea.

function createRandomMap(width, height, N, svg) {
  svg.innerHTML = "";
  const points = Array.from({
    length: N
  }, () => [
    Math.random() * width,
    Math.random() * height,
  ]);
  const delaunay = d3.Delaunay.from(points);
  const voronoi = delaunay.voronoi([0, 0, width, height]);
  const polygons = [];
  const svgPolys = [];
  for (let i = 0; i < N; ++i) {
    const poly = voronoi.cellPolygon(i);
    polygons.push(poly);
    const el = document.createElementNS('http://www.w3.org/2000/svg', 'polygon');
    el.setAttribute('points', poly.map(([x, y]) => `${x},${y}`).join(' '));
    el.setAttribute('fill', '#fff');
    el.setAttribute('stroke', '#222');
    el.setAttribute('stroke-width', 1);
    svg.appendChild(el);
    svgPolys.push(el);
  }
  return [polygons, svgPolys];
}

// https://en.wikipedia.org/wiki/Point_in_polygon#Ray_casting_algorithm
function pointInPolygon(polygon, [x, y]) {
  let inside = false;
  for (let i = 0, j = polygon.length - 1; i < polygon.length; j = i++) {
    const [xi, yi] = polygon[i];
    const [xj, yj] = polygon[j];
    if (
      ((yi > y) !== (yj > y)) &&
      (x < ((xj - xi) * (y - yi)) / (yj - yi) + xi)
    ) inside = !inside;
  }
  return inside;
}

async function discoverParcels(polygons, svgPolys, width, height) {
  const discovered = new Set();
  const paletteGreens = t => `hsl(${100 + 30 * t}, 60%, ${40 + 25 * t}%)`;
  for (let y = 0; y < height; ++y) {
    for (let x = 0; x < width; ++x) {
      for (let i = 0; i < polygons.length; ++i) {
        if (!discovered.has(i) && pointInPolygon(polygons[i], [x + 0.5, y + 0.5])) {
          discovered.add(i);
          svgPolys[i].setAttribute('fill', paletteGreens(i / polygons.length));
          await new Promise(r => setTimeout(r, 100));
          break;
        }
      }
    }
  }
}

const width = 150,
  height = 150,
  N = 115;
const svg = document.getElementById('voronoi');
async function autoRunLoop() {
  while (true) {
    let polygons, svgPolys;
    [polygons, svgPolys] = createRandomMap(width, height, N, svg);
    await discoverParcels(polygons, svgPolys, width, height);
    await new Promise(r => setTimeout(r, 2000));
  }
}
autoRunLoop();
<!DOCTYPE html>
<html lang="en">

<head>
  <script src="https://cdn.jsdelivr.net/npm/d3-delaunay@6"></script>
  <style>
    body {
      background: white;
    }
  </style>
</head>

<body>
  <svg id="voronoi" width="150" height="150"></svg>
</body>

</html>

Reasons:
  • Blacklisted phrase (1): How do you
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: koal44

79718251

Date: 2025-07-29 07:31:15
Score: 4
Natty: 5
Report link

Starting from DBR 16.3, the "ALTER COLUMN" clause allows you to alter multiple columns at once. Please check the details here: https://docs.databricks.com/aws/en/sql/language-manual/sql-ref-syntax-ddl-alter-table-manage-column#alter-column-clause

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

79718250

Date: 2025-07-29 07:30:14
Score: 2
Natty:
Report link

"I had an amazing experience connecting with Elon Musk—our conversation was truly inspiring! If you're interested in reaching out, you can connect with him too via WhatsApp: https://wa.me/15018021108. Wishing you all the best—don’t miss the chance to engage with such a visionary mind!"

CEO_SpaceX 🚀,Tesla founder _the Boring Company.

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

79718248

Date: 2025-07-29 07:27:13
Score: 0.5
Natty:
Report link

I had a very similar issue, which came from the language C not being defined in my CMakeLists.txt and therefore the glad.c being ignored.

project(blah
    VERSION 0.0.1
    LANGUAGES C CXX 
#             ^ This was missing
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: freakinpenguin

79718247

Date: 2025-07-29 07:27:13
Score: 1
Natty:
Report link
NameError                                 Traceback (most recent call last)
Cell In[5], line 1
----> 1 churn_counts=df['response'].value_counts()
      2 churn_counts.plot(kind='bar')

NameError: name 'df' is not defined
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fouzan soudagar

79718246

Date: 2025-07-29 07:24:12
Score: 2.5
Natty:
Report link

According to google issue tracker updating google tag manager to version 18.3.0 will resolve the issue. Works on my side.

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

79718243

Date: 2025-07-29 07:23:12
Score: 1.5
Natty:
Report link

There are several types of physical network devices, such as routers, switches, hubs, and modems, that connect and control traffic in a network. A logical network device, on the other hand, is a virtual or software-defined component, such as a virtual firewall, a virtual local area network, or a virtual router, that operates over the physical infrastructure. Especially in cloud and virtual environments, the move from physical to logical devices offers greater flexibility, scalability, and cost-efficiency. The evolution of this technology enables dynamic, modern networks to be controlled centralized and managed more easily.

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

79718239

Date: 2025-07-29 07:20:11
Score: 3.5
Natty:
Report link

We were having a similar issue, but it seems the Cognito documentation now mentions the following:

Note

Amazon Cognito sends links with your link-based template in the verification messages when users sign up or resend a confirmation code. Emails from attribute-update and password-reset operations use the code template.

So it seems that regardless of the setting, Cognito will use confirmation codes in certain scenarios.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): having a similar issue
  • Low reputation (0.5):
Posted by: sgdesmet

79718238

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

i had same issue where i use 2 celery containers, adding task_routes helped me resolve it on celery.py

 app.conf.task_routes = {
    'function_path.task.function': {'queue': 'mysite'}
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lanz IT

79718227

Date: 2025-07-29 07:06:08
Score: 3
Natty:
Report link

I tried the recently the published React Native library rn-secure-keystore, which includes a method to check whether the StrongBox feature is available on the device. its works.

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

79718225

Date: 2025-07-29 07:05:07
Score: 2
Natty:
Report link

You cannot directly use Velo's sendEmailToMember() in the custom element. You need to post a message to the parent page using postMessage.
In the parent page use onMessage() to send the email

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

79718217

Date: 2025-07-29 06:56:05
Score: 3
Natty:
Report link

You know the total number of frames. To get the current rendered frame, use the callback #post/pre render frame.

https://help.autodesk.com/view/MAXDEV/2024/ENU/?guid=GUID-E5BE0058-2216-4E0B-88AF-680CA58AAC73

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

79718208

Date: 2025-07-29 06:48:02
Score: 0.5
Natty:
Report link

clang is correct here. The standard gives no limitation on whether literal types can or cannot have virtual members (basic.types/10.5), nor it's required for NTTP (temp.param/7.3), thus I see no reason for GCC to reject that code.

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

79718200

Date: 2025-07-29 06:38:00
Score: 1
Natty:
Report link

Website Name: PKBOOK99
Website URL: https://pkbook99.com
Category: Online Gaming, Sports Betting, Casino, Teen Patti, Aviator Game
Title: Bet Online on Aviator, Teen Patti, Cricket – Play & Win at PKBOOK99
Description:

PKBOOK99 is India’s leading online betting platform offering exciting games like Aviator, Teen Patti, IPL Cricket Betting, and more. Experience fast deposits, secure withdrawals, and 24/7 support. Join now and get amazing welcome bonuses!

Online betting, Teen Patti, Aviator game, IPL betting, cricket betting, PKBOOK99, play and win money, satta, online casino India

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pkbook

79718195

Date: 2025-07-29 06:33:59
Score: 2
Natty:
Report link

I found that I setup the wrong offset of my color attribute.

posX posY posZ uvS uvT colorR | colorG colorB colorA

I setup the offset here so alpha value is read from the posX of the next vertice. So when the posX is negative, the alpha value is wrong.

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

79718189

Date: 2025-07-29 06:28:58
Score: 2
Natty:
Report link

The project path should NOT have spaces in it, like I had \Work Projects\ . But the error message wasn't helpful.

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

79718160

Date: 2025-07-29 05:49:49
Score: 1
Natty:
Report link

Hyun Song,

PKEY_FilePlaceholderStatus will always return 14 for cloud files (SharePoint, OneDrive) that are both available and accessible. The 14 is a result of ORing together the PLACEHOLDER_STATES enumeration values PS_FULL_PRIMARY_STREAM_AVAILABLE (0x2), PS_CREATE_FILE_ACCESSIBLE (0x4), and PS_CLOUDFILE_PLACEHOLDER (0x8). Likewise, available and accessible local files return 6 as a result of ORing the first two values together (omitting PS_CLOUDFILE_PLACEHOLDER ). See the PLACEHOLDER_STATES enumeration values here: https://learn.microsoft.com/en-us/windows/win32/api/shobjidl_core/ne-shobjidl_core-placeholder_states

Files in any future new cloud platforms developed by Microsoft might also return 14, but Microsoft seems all in on OneDrive and SharePoint, so this seems only theoretically plausible.

HTH,

Jim

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

79718157

Date: 2025-07-29 05:43:47
Score: 10.5
Natty: 5.5
Report link

i have a similar problem. From one day to another i get following error, while trying to build and release my app via fastlane:

exportArchive Provisioning profile "<myappbundleid>" doesn't support the External Link Account capability.

Looking in the App developer website, it seems, that the existing and valid profile includes this capability. On the other side, inspecting the profile via xcode profile download, there is no hint that this capability is enabled.

Any suggestions?

Thanks, Robert

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): i have a similar problem
  • RegEx Blacklisted phrase (2): Any suggestions?
  • RegEx Blacklisted phrase (1): i get following error
  • No code block (0.5):
  • Me too answer (2.5): i have a similar problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: zerobertel

79718152

Date: 2025-07-29 05:31:44
Score: 1.5
Natty:
Report link

PNG images become very distorted/jagged

  1. Are you using expo managed/CNG or bare?
  2. Is the behavior the same when you create a minimal sample on https://snack.expo.dev
  3. What return PixelRatio.get() https://reactnative.dev/docs/pixelratio on the A54
  4. Which android version powers the A54 ?

SVG elements don't recognize touch

  1. Can you provide a minimal sample on https://snack.expo.dev
  2. Can you wrap the the SVG with an Pressable view
Reasons:
  • RegEx Blacklisted phrase (2.5): Can you provide
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-1):
Posted by: Michael Bahl

79718135

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

Scraping dynamically loaded elements, such as interactive maps, cannot be achieved through a "get-all-at-once" method.

This is because the data is retrieved based on specific inputs, typically geographic coordinates.

To extract all the data, you need to implement a loop that iterates over all available coordinates.

For each coordinate or coordinate set, your script should trigger the necessary network requests and capture the returned data individually.

While alternative approaches such as simulated dragging or viewport shifting can help explore the map, they still rely on a looping mechanism.

Ultimately, the data must be collected incrementally, input by input not in bulk.

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

79718129

Date: 2025-07-29 05:04:37
Score: 3
Natty:
Report link

The result from "mysql --help" gave me this which worked:

--skip-ssl-verify-server-cert

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: David Tenace

79718127

Date: 2025-07-29 05:04:37
Score: 1
Natty:
Report link

Disclaimer: I work for Sendbird

If the user in question has ever been issued an accessToken or sessionToken, they will always need one moving forward in order to authenticate regardless of the security settings your application is configured for. I noticed you also posted on our community. I'll respond there as well incase there is follow up.

Also as a note, our JS V3 SDK has long been deprecated and it's highly recommend you move to our V4 version.

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

79718124

Date: 2025-07-29 05:00:36
Score: 0.5
Natty:
Report link

The documentation says this:

Bind a named statement parameter for ":x" placeholder resolution, with each "x" name matching a ":x" placeholder in the SQL statement.

Although you could infer otherwise, testing suggests that it indeed binds multiple placeholders that share a name.

The query in the sample situation would end up like this:

SELECT * FROM table WHERE colA = 'bar' OR colB = 'bar'

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

79718107

Date: 2025-07-29 04:36:31
Score: 0.5
Natty:
Report link

Option 1:

Run the command prompt as an administrator, than

php artisan storage:link 

Option 2: Run the command prompt as an administrator, than


mklink /D "C:\path\to\your\project\public\storage" "C:\path\to\your\project\storage\app\public"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abdullah Al Shahed

79718100

Date: 2025-07-29 04:26:28
Score: 1
Natty:
Report link

The one-liner by @user7343148 worked really nicely from the command-line, but I had some trouble figuring out a way to make an alias for it and add it to zshrc. So, putting it here just in case someone needs it.

mp3len() {
  mp3info -p '%S\n' *.mp3 | awk '{s+=$1} END {printf "%d:%02d:%02d\n", s/3600, (s%3600)/60, s%60}'
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Night Coder

79718096

Date: 2025-07-29 04:15:27
Score: 3
Natty:
Report link

Try pressing Ctrl+Shift+E - it should restore the Explorer window. Then you can drag it back to the Activity Bar.

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

79718094

Date: 2025-07-29 04:11:26
Score: 8.5
Natty: 7
Report link

same issue, can u help me if u found solution, plz.

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): can u help me
  • RegEx Blacklisted phrase (1): same issue
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Newbi

79718089

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

Exporting the CSV file using the encoding format UTF-8 resolved the issue for me.

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

79718088

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

The main problem is that admin_finish, the only route you have defined, returns JSON data directly. Laravel properly runs the index method and provides the raw JSON response when you visit that URL in your browser. The Blade file containing your HTML table and the JavaScript required to populate it is never loaded by your browser.

For two distinct jobs, you require two different routes:
One way to show the HTML page.
Your JavaScript needs to call one route (an API endpoint) in order to retrieve the data.

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

79718087

Date: 2025-07-29 04:06:24
Score: 0.5
Natty:
Report link

Perfect! Let's move forward with all of it. Here's what I’ll provide now based on your direction:


1. Add OnItemClickListener in MainActivity.java

Insert this at the end of onCreate():

songListView.setOnItemClickListener((parent, view, position, id) -> {
    String song = (String) parent.getItemAtPosition(position);
    Intent intent = new Intent(MainActivity.this, PlaySongActivity.class);
    intent.putExtra("songTitle", song);
    startActivity(intent);
});

2. Create PlaySongActivity.java

package com.example.rpsong;

import android.media.MediaPlayer;
import android.os.Bundle;
import android.view.View;
import android.widget.*;
import androidx.appcompat.app.AppCompatActivity;

public class PlaySongActivity extends AppCompatActivity {

    TextView songTitleText;
    Button btnPlayPause;
    MediaPlayer mediaPlayer;
    boolean isPlaying = false;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_play_song);

        songTitleText = findViewById(R.id.songTitleText);
        btnPlayPause = findViewById(R.id.btnPlayPause);

        String songTitle = getIntent().getStringExtra("songTitle");
        songTitleText.setText(songTitle);

        int resId = getSongResourceId(songTitle); // Match song title to R.raw.<file>
        if (resId != 0) {
            mediaPlayer = MediaPlayer.create(this, resId);
        } else {
            Toast.makeText(this, "Audio file not found", Toast.LENGTH_SHORT).show();
        }

        btnPlayPause.setOnClickListener(v -> {
            if (mediaPlayer == null) return;
            if (isPlaying) {
                mediaPlayer.pause();
                btnPlayPause.setText("Play");
            } else {
                mediaPlayer.start();
                btnPlayPause.setText("Pause");
            }
            isPlaying = !isPlaying;
        });
    }

    private int getSongResourceId(String songTitle) {
        songTitle = songTitle.toLowerCase().replace(" ", "_"); // "Tum Hi Ho" → "tum_hi_ho"
        return getResources().getIdentifier(songTitle, "raw", getPackageName());
    }

    @Override
    protected void onDestroy() {
        if (mediaPlayer != null) {
            mediaPlayer.release();
        }
        super.onDestroy();
    }
}

3. Create activity_play_song.xml

Create this file in res/layout/activity_play_song.xml:

<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:padding="24dp"
    android:orientation="vertical"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="center">

    <TextView
        android:id="@+id/songTitleText"
        android:text="Now Playing"
        android:textSize="22sp"
        android:layout_marginBottom="24dp"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />

    <Button
        android:id="@+id/btnPlayPause"
        android:text="Play"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content" />
</LinearLayout>

4. Add MP3 Files to /res/raw

Place your MP3 files in app/src/main/res/raw/ and name them like this:

Song TitleFile Name (in raw/)Tum Hi Hotum_hi_ho.mp3Kesariyakesariya.mp3Perfectperfect.mp3Shape of Youshape_of_you.mp3

File names must be lowercase and underscored (no spaces/symbols).


✅ Final Checklist:


📦 Want the ZIP Project?

If you want the full Android Studio project with this code, I can generate it as a .zip – just confirm and I’ll prepare it.

Let me know if you'd like to:

Ready when you are!

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Rp song

79718079

Date: 2025-07-29 03:55:21
Score: 1
Natty:
Report link
MAIL_MAILER=smtp   
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="[email protected]"
MAIL_FROM_NAME="${APP_NAME}"

We change Update things like SMTP, Email , Password , port on .env File , We can Find on Root. 
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Developer Life

79718078

Date: 2025-07-29 03:54:21
Score: 0.5
Natty:
Report link
def _generate_random_date(since: datetime, until: datetime):
    delta = until - since
    random_seconds = random.uniform(0, delta.total_seconds())
    return since + timedelta(seconds=random_seconds)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mourad Qqch

79718069

Date: 2025-07-29 03:25:15
Score: 2
Natty:
Report link

When using git shortlog -sn, without the email option, it will count all commits by author name. But when add -e option, it distinguishes first by name and then by email, creating two or more entries in the log if the same author published commits using different emails.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: João Edison Roso Manica

79718068

Date: 2025-07-29 03:25:15
Score: 1.5
Natty:
Report link

Best answer... Call to your ISP or where you dns records are and request to change your PRT record in the DNS for your public ip address. You have to add a name, for example: mail.mydomainname.com

After that, add the same name of the ptr record for your domain name inside the section of domain setup in Mdaemon, host name section, SMTP Server name.

Wait for one day for DNS replication. Done.

Pablo Solares

Setting SRL - Mdaemon Reseller

Servidores HPE Paraguay

UPS APC Paraguay

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Pablo Martín Solares

79718063

Date: 2025-07-29 03:18:14
Score: 3.5
Natty:
Report link

just to let you all know, the solution was to clean the cookies related to the Github, to be able to use other options of authentication.

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

79718055

Date: 2025-07-29 03:01:10
Score: 5
Natty:
Report link

I have similar issue.

ILNodeControlStop("Firewall");

And feedback:

[*] [System]    ILNodeControlStop: Node Firewall does not exist.

CANoe node

Reasons:
  • Blacklisted phrase (1): I have similar
  • Low length (1):
  • Has code block (-0.5):
  • Me too answer (2.5): I have similar issue
  • Low reputation (1):
Posted by: Yilu WANG

79718047

Date: 2025-07-29 02:48:07
Score: 3
Natty:
Report link

I would suggest adding your own column to the dataset through a report extension, and replacing the Document Terms on the report layout (RDL file in Report Builder).

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-report-ext-object?wt.mc_id=MVP_383480

Yun Zhu has a blog that might be a good starting place for you as well. https://yzhums.com/1958/

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

79718041

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

If you need to use nativewind for the expo camera, I could only make it work like this:



import { CameraType, CameraView, useCameraPermissions } from 'expo-camera';
import { cssInterop } from "nativewind";


cssInterop(CameraView, { className: "style" });

export default function Camera() {
...
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Pacheco

79718038

Date: 2025-07-29 02:32:03
Score: 3.5
Natty:
Report link

anything with sys-* are google app scripts in GCP.

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

79718035

Date: 2025-07-29 02:23:01
Score: 2.5
Natty:
Report link

If your config tailwind.config.js is normal you can try:

1. Delete folder .next
2. npm run dev

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

79718027

Date: 2025-07-29 01:49:55
Score: 4
Natty:
Report link

You can do it here: tinyurl.com/imagexor

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

79718024

Date: 2025-07-29 01:44:54
Score: 4.5
Natty: 4
Report link

Take a look at qlmodel.tiangolo.com/

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

79718016

Date: 2025-07-29 01:22:50
Score: 1.5
Natty:
Report link

from PIL import Image

# Open the extracted frame

img = Image.open(frame_image_path)

# Format for iPhone wallpaper: 1170x2532 (portrait)

iphone_size = (1170, 2532)

formatted_img = img.copy()

formatted_img = formatted_img.resize(iphone_size, Image.LANCZOS)

# Save as a new jpg

iphone_img_path = "/mnt/data/frame_com_rosto_iphone.jpg"

formatted_img.save(iphone_img_path, "JPEG")

iphone_img_path

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

79718010

Date: 2025-07-29 01:05:46
Score: 3.5
Natty:
Report link

https://www.slideshare.net/slideshow/intelligent-crypto-digital-asset-recovery-solutions-http-mightyhackarrecovery-com-14042456415-whatsapp/282060616

Mighty Hackar Recovery's voice is confident, expert, and reassuring, blending professionalism with relatable client experiences to inspire trust and hope.

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

79717994

Date: 2025-07-29 00:11:37
Score: 1.5
Natty:
Report link

This took me a while to find.

My Amplify build/deployments were failing with the error message "Unable to assume specified IAM Role". The issue was the AWS Amplify Github App lost access to my Amplify Project's GitHub Repository.

Fix: In your GitHub Org, go to Settings > GitHub Apps > AWS Amplify and choose Configure. Review the settings in the section Repository Access. In my case, I had to select the GitHub repository.

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

79717993

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

Today when I try to resize the window, I find out that it can't be resized freely like other apps (reduce width, height) and I can only make it smaller but with the same ratio. Turn out it is the UIRequiresFullScreen key (second one from my Info.plist) that keeps the window to be fully displayed or at least kept the default ratio. Removing or changing it to NO/false solves the issue.

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

79717985

Date: 2025-07-28 23:49:33
Score: 1
Natty:
Report link

Nesting should work. Please post code as text and not as images. What did your nest version look like?

It should look similar to:

  Sort(
    Filter('Positions', etc...),
    Title
  )
Reasons:
  • RegEx Blacklisted phrase (2.5): Please post code
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Sam Nseir

79717979

Date: 2025-07-28 23:41:31
Score: 1.5
Natty:
Report link

Turns out when I added the NumberRandomizer class as an autoload in the godot project settings, I added the .cs file and not the .tscn file. Switching the autoload to the .tscn file fixed the issues for me.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Shane Amare

79717975

Date: 2025-07-28 23:36:30
Score: 2
Natty:
Report link

Answer is this instruction: this.world.getDispatchInfo().m_allowedCcdPenetration = 0.0001;

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

79717968

Date: 2025-07-28 23:17:27
Score: 0.5
Natty:
Report link

For question 1, I confirm that as at 2025 (Windows 10 and 11) the Registry continues to hold the list of time zone IDs in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Time Zones

These time zone IDs are unique strings to identify the time zone and are not for display to the user. The strings to display to the user can be found in the "Display" subkey (these are the strings that appear to the user when changing the time zone in Windows settings).

For example for Australia there are six such IDs:

ID: “W. Australia Standard Time”, display string “(UTC+08:00) Perth"
ID: “Aus Central W. Standard Time”, display string “(UTC+08:45) Eucla”
ID: “AUS Central Standard Time”, display string: “(UTC+09:30) Darwin”
ID: "Cen. Australia Standard Time”, display string: “(UTC+09:30) Adelaide”
ID: “AUS Eastern Standard Time”, display string: “(UTC+10:00) Canberra, Melbourne, Sydney”
ID: “E. Australia Standard Time”, display string “(UTC+10:00) Brisbane”

It can be seen that a couple of time zones in the above list have the same standard time UTC bias but have different IDs. This is because of differences in daylight saving. For example Brisbane does not have daylight saving whereas Canberra, Melbourne and Sydney do. They need separate time zone keys because the daylight saving information is kept in those keys.

Some 13 years ago the questioner reported that these strings were in the Registry and since this is documented by Microsoft both in the TIME_ZONE_INFORMATION structure information, and now also in the TimeZoneInfo.FindSystemTimeZoneById(String) Method information, I think it can be relied on for the future.

So these display strings can be extracted directly using the Registry API.

An alternative way is to use the FindSystemTimeZoneById method in the TimeZoneInfo interface and then read the DisplayName Property. The documentation states that on Windows systems this simply reads the Registry entries in the same way.

For question 2, yes the currently selected time zone is given in the TIME_ZONE_INFORMATION structure by a call to the GetTimeZoneInformation API. But this does not give you the display string. Instead, the "StandardName" as reported at +4h in that structure is the time zone ID. As mentioned in the answer to 1, the corresponding display string can be found in the Registry or by using the TimeZoneInfo interface.

Although current Windows documentation for TIME_ZONE_INFORMATION gives an example for StandardName that "EST could indicate Eastern Standard Time", this documentation dates back to 2022. I think the IDs have changed since then (naturally they will be updated from time to time). Currently "Eastern Standard Time" and not "EST" is the ID in the Registry for that time zone. The corresponding Display subkey holds "(UTC-05:00) Eastern Time (US and Canada)" for that time zone.

For question 3, in my case I only needed to know whether daylight saving was in operation for the currently selected time zone. This is returned in the eax register by the GetTimeZoneInformation API (a value of 2 showing that daylight saving is currently operating).

For other (not currently selected) time zones in 2025 it seems that various methods are available.

One is direct reading of the Registry as mentioned by Jesse.

Another is to enumerate the time zones by calling EnumDynamicTimeZoneInformation. That will give you the index of the time zone you want to look at. You can pass that index to GetTimeZoneInformationForYear. According to the documentation for the DYNAMIC_TIME_ZONE_INFORMATION structure, that reads the same Registry entries.

Now there are also methods in the TimeZoneInfo interface which can be used, like GetUtcOffset (you give the date and time zone ID and the bias is calculated) or IsDaylightSavingTime (you give the date and time zone ID and the function reports whether the date falls within daylight saving time for that time zone).

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: jorgon

79717963

Date: 2025-07-28 23:10:25
Score: 1.5
Natty:
Report link

As @robertklep pointed out, my axios version was old. Updating to the latest (currently ^1.11.0) solved my problem.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @robertklep
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: nullromo

79717959

Date: 2025-07-28 23:02:23
Score: 1
Natty:
Report link

Here's what works for me:

Right click an image resource in solution explorer > Change 'Build Action' and 'Copy to Output Directory' settings > Close.

The errors disappear and I simply revert my settings back. Everything continues to work fine.

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: aamir

79717957

Date: 2025-07-28 22:57:22
Score: 0.5
Natty:
Report link

<!-- index.html --><!DOCTYPE html><html lang="fa">

<head>

<meta charset="UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">

<title>چت خصوصی دخترونه 💖</title>

<link href="https://fonts.googleapis.com/css2?family=Vazirmatn&display=swap" rel="stylesheet">

<style>

body {

  font-family: 'Vazirmatn', sans-serif;

  background: linear-gradient(to right, #ff9a9e, #fad0c4);

  margin: 0;

  padding: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  height: 100vh;

}

.chat-container {

  width: 100%;

  max-width: 400px;

  background: #fff0f5;

  border-radius: 20px;

  box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);

  padding: 20px;

  display: flex;

  flex-direction: column;

}

.messages {

  flex-grow: 1;

  overflow-y: auto;

  margin-bottom: 10px;

  padding: 10px;

  border: 2px dashed #ff69b4;

  border-radius: 10px;

  background-color: #fff;

}

.input-container {

  display: flex;

  gap: 10px;

}

input\[type="text"\] {

  flex-grow: 1;

  padding: 10px;

  border: 1px solid #ff69b4;

  border-radius: 10px;

  font-size: 1em;

}

button {

  padding: 10px 15px;

  background-color: #ff69b4;

  color: white;

  border: none;

  border-radius: 10px;

  cursor: pointer;

}

</style>

</head>

<body>

<div class="chat-container">

\<div class="messages" id="messages"\>\</div\>

\<div class="input-container"\>

  \<input type="text" id="messageInput" placeholder="پیام بنویس..."\>

  \<button onclick="sendMessage()"\>ارسال\</button\>

\</div\>

</div> <script src="https://cdn.socket.io/4.5.0/socket.io.min.js"></script> <script>

const socket = io();

const messages = document.getElementById('messages');

const input = document.getElementById('messageInput');

function sendMessage() {

  const msg = input.value;

  if (msg.trim() !== '') {

    socket.emit('chat message', msg);

    input.value = '';

  }

}

socket.on('chat message', function(msg) {

  const div = document.createElement('div');

  div.textContent = msg;

  messages.appendChild(div);

  messages.scrollTop = messages.scrollHeight;

});

input.addEventListener('keypress', function(e) {

  if (e.key === 'Enter') sendMessage();

});

</script></body>

</html>

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

79717942

Date: 2025-07-28 22:37:18
Score: 4
Natty:
Report link

I never ordered this and I don’t even know what it is. You are billing me $9.99 + tax every week. You charge through my Apple Account and I would like a refund since you started billing me.

Karen A Walen

41&9-376-7758

You can call and get my information or you can credit my Apple Account. Thank you,

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Karen A Walen

79717939

Date: 2025-07-28 22:35:17
Score: 0.5
Natty:
Report link

If you're sending POST requests to routes other than /api then you'll need to add those to the $except array in VerifyCsrfToken, and add ->middleware(['auth:sanctum']) to those routes in web.php routes file.

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

79717936

Date: 2025-07-28 22:29:16
Score: 1.5
Natty:
Report link

Doesn't it because you don't use return operator in last line of my_sub_routine description? You return None from test_read into my_sub_routine , but don't return it's result from my_sub_routine. If I understand, your last line shoud be

return test_read(p)
# not simple test_read(p)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Паша Иден

79717928

Date: 2025-07-28 22:13:12
Score: 1
Natty:
Report link

It was a tiny miss in partition count.

Topic A had actually 10 partitions and I was repartitioning the rekeyed topic B to 40 partitions by mistake (as I thought topic A had 40 partitions)!

Changing the partitions count to 10 in repartition operation fixed the issue and it worked as expected.

Sorry for the miss and stupid question.

Reasons:
  • Blacklisted phrase (1): stupid question
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Self-answer (0.5):
Posted by: losingsleeep

79717918

Date: 2025-07-28 21:57:09
Score: 1.5
Natty:
Report link

In the end (TYVM to Google support for suggesting this) an export GOOGLE_CLOUD_QUOTA_PROJECT=<project_ID> was the ticket to get the correct project to be used.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Adam Smooch

79717910

Date: 2025-07-28 21:48:07
Score: 1.5
Natty:
Report link

You use method .copy(), but string type objects has no such method (unlike lists or some others for example). You can simply write: metadata = raw_metadata because strings are immutable. Maybe, you wait raw_metadata got other type but string - it means you are wrong about the type you get by the lines raw_metadata = doc.get('metadata', {}) or raw_metadata = doc[1] if len(doc) > 1 else {} . Also if you use metadata = {} and the next reinit it by metadata = raw_metadata.copy() it will get a type of the last initiation. You can always check all types of your variables using print(type(your_variable) or use this check in code like if type(your_variable) == ...

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Паша Иден

79717909

Date: 2025-07-28 21:48:06
Score: 4.5
Natty:
Report link

Use Office.FileDialog component.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Glaucimar Faleiro

79717895

Date: 2025-07-28 21:29:02
Score: 2
Natty:
Report link

Based upon information from https://github.com/dotnet/runtime/issues/51252 and https://github.com/dotnet/designs/blob/main/accepted/2021/before_bundle_build_hook.md, using the newly proposed PrepareForBundle target, I have added the following to my .csproj file:

<PropertyGroup>
  <!-- For all build agents thus far in Azure DevOps, that is, Windows 2019, Windows 2022, Windows 2025, this has been sufficient.
  Instead of trying to dynamically construct something based on the Windows SDK version, which constantly changes for each build
  agent, we will just use this hard coded value. Note, this is a 32-bit executable. But for our purposes, it has been fine. -->
  <SignToolPath>C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe</SignToolPath>
</PropertyGroup>

<Target Name="SignBundledFiles" BeforeTargets="GenerateSingleFileBundle" DependsOnTargets="PrepareForBundle">
  <!-- Use String.Copy as a hack to then be able to use the .Compare() method. See https://stackoverflow.com/a/23626481/8169136.
  All of the Microsoft assemblies are already signed. Exclude others as needed.
  
  This is using a self-signed code signing certificate for demonstration purposes, so this exact SignTool command won't
  work on your machine. Use your own certificate and replace the "code sign test" with your certificate's subject name. -->
  <Exec Condition="$([System.IO.Path]::GetFileName('%(FilesToBundle.Identity)').EndsWith('.dll'))
          And !$([System.String]::Copy('%(FilesToBundle.Identity)').Contains('packages\microsoft.'))
          And !$([System.String]::Copy('%(FilesToBundle.Identity)').Contains('packages\system.'))"
      Command="&quot;$(SignToolPath)&quot; sign /v /fd SHA256 /tr http://ts.ssl.com /td sha256 /n &quot;code sign test&quot; &quot;%(FilesToBundle.Identity)&quot;" />
</Target>

<Target Name="SignSelfContainedSingleFile" AfterTargets="GenerateSingleFileBundle" DependsOnTargets="SignBundledFiles">
  <!-- Finally, sign the resulting self contained single file executable. -->
  <Exec Command="&quot;C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe&quot; sign /v /fd SHA256 /n &quot;code sign test&quot; &quot;$(PublishDir)$(AppHostFile)&quot;" />
</Target>

You can read more and see the result from this blog post:

https://productioncodeonly.wordpress.com/2025/07/28/code-signing-net-self-contained-single-file-executable/

Reasons:
  • Blacklisted phrase (1): this blog
  • Blacklisted phrase (1): stackoverflow
  • Probably link only (1):
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Kevin

79717891

Date: 2025-07-28 21:27:01
Score: 0.5
Natty:
Report link

What approach did you go with at the end?
I am asking myself this question for new navigation 3 lib...
AppNavigator in app module seems to be a must, but I think it is overkill to have FeatureXNavigator for every module.
I am leaning towards injecting AppNavigator to every composable (Screen) same like for GlobalViewModel for example.
The other thing I would like to do is to have standalone navigation module with AppNavigatorInterface, which app module will implement. The point being to easy swap out nav3 with whatever come next.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: makvasic

79717889

Date: 2025-07-28 21:25:01
Score: 0.5
Natty:
Report link

I think your problem is using an emptyDir volume for sharing between tasks. The tasks themselves are different pods which might not even run on the same node, and not different containers sharing the same pod.

See GH issue on Argo Workflow project: https://github.com/argoproj/argo-workflows/issues/3533

Can't you use a persistent volume instead? Check the documentation for clear examples: https://argo-workflows.readthedocs.io/en/latest/walk-through/volumes/
If not, then try with an emptyDir and node affinity to make sure the tasks are on the same node, as suggested in the linked GH issue

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Thomas Delrue

79717887

Date: 2025-07-28 21:19:00
Score: 2
Natty:
Report link

I encountered the same error. For me, it was because I was on an older version of React Native, and didn't have the New Arch enabled. Upgrading to the latest version and enabling the New Architecture resolved the issue for me.

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

79717883

Date: 2025-07-28 21:14:59
Score: 0.5
Natty:
Report link

Use actix_web::rt::spawn(), which does not have a Send requirement, and runs the future on the current thread:

https://docs.rs/actix-web/latest/actix_web/rt/fn.spawn.html

Any other Send futures or tasks can be spawned into different threads, and any other non-Send (!Send) futures can be spawned on the same thread, they will cooperate to share execution time.

If you need a dedicated thread for a !Send future, you can create it manually using std::thread::Builder, then use Handle::block_on() to call actix_web::rt::spawn() to run the future locally on that thread.

Here is a similar answer that covers most of that:

https://stackoverflow.com/a/75387575/4970342

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: T2345

79717875

Date: 2025-07-28 21:03:56
Score: 4.5
Natty:
Report link

Guillaume's answer was so close that I was able to fill in the missing pieces. In case anyone finds this later, summary changes:

I have it very nearly complete in Updated DB<>Fiddle.

In the last final result, I have Alice's full access and whether it is direct or under a toplevel. But I can't have a HAVING clause to filter only those toplevel = 0. Does anyone know how to do that?

Thank you all.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2): Does anyone know
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: user26533539

79717872

Date: 2025-07-28 21:01:55
Score: 0.5
Natty:
Report link

Well, first, these two sets aren't identical in ordering. At a glance, they flip the ordering of 'n' and 'f'.

Beyond that, while set ordering isn't guaranteed in standard sets in Python as a language, individual implementations may implement some ordering type. Whether that's a reliable contract will ultimately be a function of how much you trust that specific implementation and their promise to offer that as a stable behaviour.

Based on CPython's set, (of which the meat and potatoes of the insertion implementation lives here), it looks like there's no particular care taken to preserve any specific ordering, nor is there any specific care taken to randomize the order beyond using object hashes, which are stable for any object's lifetime and tend to be stable globally for certain special values (like integers below 256, and individual bytes from the ASCII range in string data).

The same can be said for the implementation of set's __repr__, (here), which makes no special effort to randomize or stabilize the order in which items are presented.

Emphatically, though, these are implementation details of CPython. You shouldn't rely on this unless you positively have to, and even then, I'd step back and reevaluate why you're in that position.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user29388154

79717867

Date: 2025-07-28 20:54:53
Score: 1.5
Natty:
Report link

npm run watch

It will rebuild on any saved change.

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

79717865

Date: 2025-07-28 20:53:53
Score: 1
Natty:
Report link

By adding a delay to the trigger (below code in the form attributes), everything worked properly with the handler being called and preventing the default behavior.

hx-trigger="submit delay:1ms"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Xosted

79717848

Date: 2025-07-28 20:29:48
Score: 1
Natty:
Report link

The TOKEN_EXPIRED error after a day suggests that the Firebase refresh token, which is stored in localStorage on the web via browserLocalPersistence, is being lost or invalidated.

Your firebase-config.ts looks correct for setting persistence so the most probable cause is your browser's settings or an extension is clearing localStorage or site data after a period.

Start by checking your browser's privacy settings and extensions. If you can replicate the issue consistently across different browsers (or after confirming localStorage is not being cleared), then you'd need to dig deeper into the Firebase SDK's interaction with your specific environment.

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

79717838

Date: 2025-07-28 20:16:45
Score: 1
Natty:
Report link

There is a work-around to access the underlying XGB Booster:

booster = model.get_booster()
dtest = xgb.DMatrix(X_test)
y_shap = booster.predict(dtest, pred_contribs=True)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: MonsieurWave

79717837

Date: 2025-07-28 20:14:44
Score: 1
Natty:
Report link
for (int i = 0; i <= 8; ++i) {
    System.out.println(Math.min(i, 8 - i));
}
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
Posted by: Konstantin Makarov

79717832

Date: 2025-07-28 20:10:43
Score: 1.5
Natty:
Report link

Temp mail boomlify is the best temp mail.

this is more more better then a traditional temp mail cause Boomlify is a privacy-focused temporary email platform that offers instant inbox creation, long-lasting emails, a centralized dashboard, custom domain and API support, smart inbox view, cross-device sync, multi-language UI, spam protection, live updates, and developer-friendly features like webhooks and REST APIs—all without registration.



Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Md zakir Hossain

79717828

Date: 2025-07-28 20:07:43
Score: 2.5
Natty:
Report link

Thanks to @mkrieger1 for this one, some images I used literally have over 100000 colors.... Something I NEVER expected to happen, so .getcolors() returned None. I changed the value to 100 million so I hopefully never face this problem ever again.

all_colors = main_img.getcolors(maxcolors=100000000)
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @mkrieger1
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Aadvik

79717817

Date: 2025-07-28 19:51:39
Score: 0.5
Natty:
Report link

Simply add

|> opt_css(css = "
     .gt_column_spanner {
           border-bottom-style: solid !important;
           border-bottom-width: 3px !important;
     }")

out

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

79717809

Date: 2025-07-28 19:44:37
Score: 1
Natty:
Report link

Yes you can wild card the path of paths of CSV files. Assuming you are sourcing them from GCS your create BQ table query would be:

CREATE OR REPLACE EXTERNAL TABLE `project.dataset.table`
OPTIONS (
  format = 'PARQUET',
  uris = ['gs://gcs_bucket_name/folder-structure/*.parquet']
);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Siddharth Upadhyay

79717802

Date: 2025-07-28 19:37:35
Score: 1
Natty:
Report link

Very late to the party on this one, but this thread is the top google result for 'javascript identity function' so I figured I'd chime in. I'm newish to Javascript, so hopefully I'm not simply unaware of a better solution.

I find this code useful:

function identity(a) { return a }
function makeCompare(key = identity, reverse = false) {
  function compareVals(a, b) { 
    const keyA = key(a);
    const keyB = key(b);
    let result =  keyA < keyB ? -1 : keyA > keyB ? 1 : 0;
    if ( reverse ) { result *= -1 }
    return result;
  }
  return compareVals;
}

I can then sort arbitrary data structures in a tidy way:

const arrB = [ {name : "bob", age: 9}, {name : "alice", age: 7} ];
console.log(arrB.sort( makeCompare( val => { return val.age } )));
console.log(arrB.sort( makeCompare( val => { return val.age }, true)));
// output:
//  Array [Object { name: "alice", age: 7 }, Object { name: "bob", age: 9 }]
//  Array [Object { name: "bob", age: 9 }, Object { name: "alice", age: 7 }] 

Note that this is dependent on having an 'identity' function to use as the default 'key' function.

Reasons:
  • RegEx Blacklisted phrase (1.5): I'm new
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: David K. Storrs

79717796

Date: 2025-07-28 19:31:33
Score: 2
Natty:
Report link

I think that pd.cut().value_counts() is what you're looking for.

import pandas as pd
import plotly.express as px

# Example data
data = {
    "data-a": [10, 15, 10, 20, 25, 30, 15, 10, 20, 25],
    "data-b": [12, 18, 14, 22, 28, 35, 17, 13, 21, 27]
}
df = pd.DataFrame(data)


# Define bins
bin_range = range(9, 40, 5)

# Bin data
binned_data_a = pd.cut(df["data-a"], bins=bin_range).value_counts()
binned_data_b = pd.cut(df["data-b"], bins=bin_range).value_counts()
diff = binned_data_a - binned_data_b

# Plot
px.bar(
    x = bin_range[:-1], 
    y = diff.values, 
    labels={"x": "Bin start value", "y": "Difference (a - b)"}
)

histogram showing difference of A and B

Thanks to @Echedey Luis for suggesting .value_counts(). Also see docs for .cut() and .value_counts().

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Echedey
  • Low reputation (0.5):
Posted by: drchicken

79717791

Date: 2025-07-28 19:27:33
Score: 3
Natty:
Report link

The right way to do this is to open the Adaptive Card as a formula and the values like Topic.title, This will ensure that the data adaptive card is able to read the data properly.

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

79717787

Date: 2025-07-28 19:23:31
Score: 0.5
Natty:
Report link

You'll also get that response if the

sudo wg-quick down wg0

command is issued after wg is down. In that case, just run :

sudo wg-quick up wgo

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

79717780

Date: 2025-07-28 19:10:28
Score: 1.5
Natty:
Report link

Ran into a similar issue with extracting files from an iOS/iPadOS app when trying to export the .realm data from in Realm Studio to a .csv file...

Here to add that as of July 2025 using Realm Browser (an app that is no longer updated) works just as Apta says (on an Intel Mac running Sequoia 15.5).

I opened the default.realm file I was working with in Realm Browser, and was asked for a valid encryption key to open the file. Instead, I opened up a file that Realm had created in the same folder called "default.v7.backup.realm", which worked just fine. From there, it was easy to export the .csv file(s) for the class(es) of interest.

Thanks for the assist, Apta!!!

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

79717777

Date: 2025-07-28 19:06:27
Score: 1
Natty:
Report link

This is a well-known issue.

When you’re on a Zoom call (or any other voice call app), the system automatically switches your device’s audio into communication mode which is optimized for voice, not for high-quality stereo sound.

Effects:

• Stereo gets downmixed to mono

• High/low frequencies are cut off

• Music, binaural, or special effects often get suppressed

On web there’s no way to bypass this because the browser doesn’t have access to low level audio routing. On native apps you should have more control.

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

79717771

Date: 2025-07-28 18:52:25
Score: 1.5
Natty:
Report link

It turns out that the error is as a result of lack of support for Secure Boot - so if you stop the VM - then go into settings / security and disable Secure Boot then you will be able to start the VM and complete the installation process. You can then investigate the process of enabling Secure Boot on Ubuntu - see https://wiki.ubuntu.com/UEFI/SecureBoot for more information.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Jason Hogg - MSFT

79717760

Date: 2025-07-28 18:44:23
Score: 1.5
Natty:
Report link

when I got this error, I culd not execute npm cache clean because on evey npm execution I received the isexe error, so, what I did was uninstall nodejs and remove the /usr/lib/node_modules folder, then reinstall npm and it worked

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when I
  • Low reputation (0.5):
Posted by: oware

79717756

Date: 2025-07-28 18:40:22
Score: 1.5
Natty:
Report link

I needed to enable the users to send some Ethereum from their metamask wallet to the smart contract which they want to buy some tokens of via frontend. Based on metamask docs this is how one can call the send function of metamask in frontend:

window.ethereum.request({
   method: "eth_sendTransaction",
   params: [
     {
       from: metamaskWalletAddress, // The user's active address.
       to: tokenAddress, // Address of the recipient. 
           value: userDesiredAmount,
           gasLimit: "0x5028", // Customizable by the user during MetaMask confirmation.
           maxPriorityFeePerGas: "0x3b9aca00", // Customizable by the user during MetaMask confirmation.
          maxFeePerGas: "0x2540be400", // Customizable by the user during MetaMask confirmation.

         }],
    })
    .then((txHash: any) => console.log("txHash: ", txHash))
    .catch((error: any) => console.error("errorL ", error));

However, as @petr-hejda said, the token contract needs to have receive() and fallback() functions as well to be able to get the Ethereum.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @petr-hejda
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: user9805040

79717743

Date: 2025-07-28 18:29:20
Score: 3.5
Natty:
Report link

Firstly Remove image background to Transparent Background https://www.remove.bg/

Then go to this Website to Generate @mipmap https://www.appicon.co/ download it

then replace your old files with download files

Reasons:
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @mipmapdownload
  • Low reputation (1):
Posted by: Ganesh Panwar

79717709

Date: 2025-07-28 17:56:12
Score: 1
Natty:
Report link
class A:
    def __init__(self, x):
        print("Calling __init__")
        self.x = x

def mynew(cls, *args, **kwargs):
    print("Calling mynew")
    return object.__new__(cls)

A.__new__ = mynew
A(10) 

A.__new__ = lambda cls, x: object.__new__(cls)
a = A(10)  
print(a.x)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mokhtar omar