79759691

Date: 2025-09-09 09:05:45
Score: 0.5
Natty:
Report link

When you override Equals, EF can't translate your custom Equals logic into SQL. Here are three recommended approaches:

1.If your Equals method is based on Name, you can directly compare that property :

Istituto? istituto = await context.Istituti.FirstOrDefaultAsync(e => e.Name == resource.Name);

2.Use AsEnumerable() to handle it in memory, but this is inefficient for large datasets :
Istituto? istituto = context.Istituti.AsEnumerable().FirstOrDefault(e => e.Equals(resource));

3.Create a custom extension method for consistent logic :


public static class IstitutoExtensions 
{ 
    public static Expression<Func<Istituto, bool>> EqualsByName(string name) => 
        e => e.Name == name; 
} 

Istituto? istituto = await context.Istituti .FirstOrDefaultAsync(IstitutoExtensions.EqualsByName(resource.Name));
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: Soheil Km

79759678

Date: 2025-09-09 08:48:40
Score: 4
Natty:
Report link

Caused by code execution efficiency and thread scheduling.

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

79759676

Date: 2025-09-09 08:43:39
Score: 0.5
Natty:
Report link
def convert(val):
     # val is an integer 16 bit   
     valb = '{:16b}'.format(val).strip()
     return ' '.join([valb[i-5:i-1] for i in range(0,-len(valb),-4)][::-1])

Outputs

convert(int('F0F0',16))
Out[1]: '111 1000 0111 1000'
convert(int('001011001010',2))
Out[2]: '1 0110 0101'

If you do want to keep zero you can replace it by :

def convert(val):
     # val is an integer 16 bit   
     valb = '{:16b}'.format(val).replace(' ','0')
     return ' '.join([valb[i-5:i-1] for i in range(0,-len(valb),-4)][::-1])

Output will be:

convert(int('001011001010',2))
Out[3]: '000 0001 0110 0101'
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: kyro

79759672

Date: 2025-09-09 08:42:38
Score: 2
Natty:
Report link

Actually the same question from my side. I try to get the GPS information from a video recorded on an Osmo 360. The .OSV files are in the end also just MP4/MOV files with the same data tracks .
While trying to find information on how to decode the information I found the following outdated whitepaper:

https://developer.dji.com/doc/payload-sdk-tutorial/en/advanced-function/media-file-metadata.html

But it didn't work for me so far.

For the Action 4 and 5 cameras, there is a project on GitHub that can extract the GPS data. Maybe this is something that helps you with the metadata you are looking for.

https://github.com/francescocaponio/pyosmogps

I try to get updated information about the media file metadate from DJI developer support. But they only told me I should contact the team maintaining the Whitepaper - without telling me how to do so.
So if there is anyone from DJI reading this - please point me to the right contact.

Reasons:
  • Blacklisted phrase (1): it didn't work for me
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: niedral

79759662

Date: 2025-09-09 08:34:36
Score: 5
Natty: 5.5
Report link

For details, visit Celebrity Heights

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

79759661

Date: 2025-09-09 08:34:36
Score: 1.5
Natty:
Report link

After searching for a long time, we found that Wix 4 changed the way component guids are generated, so they are not stable across versions. This leads to the above problem. Wix 6 has a fix for this, making it use the previous way of generating the guid:

-bcgg command-line switch

Wix bug ticket: https://github.com/wixtoolset/issues/issues/8663

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

79759643

Date: 2025-09-09 08:10:29
Score: 4
Natty:
Report link

set date time of your to automatic

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

79759640

Date: 2025-09-09 08:07:28
Score: 2.5
Natty:
Report link

Even though you received a successful response, if the information from this request was not saved in the Sabre screen, you can use the SabreCommand service after receiving the successful response to store the information in the reservation.

The command that needs to be sent in the Sabre Command service is:

6P: Signature of the person who performed the transaction (P = passenger, free text)

ER: Save (End & Retrieve)

§: End Item allows the two commands to be used together.

<SabreCommandLLSRQ ReturnHostCommand="true" Version="2.0.0" xmlns=http://webservices.sabre.com/sabreXML/2011/10>
    <Request Output="SCREEN">
        <HostCommand>6P§ER</HostCommand>
    </Request>
</SabreCommandLLSRQ>

This command will save your request from the successful response into the PNR.

In the meantime, you can also add the FOP information to the PNR during the booking process using either CreatePassengerNameRecord or CreateBooking.

If your issue is something else, could you please provide more details?

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • RegEx Blacklisted phrase (2.5): could you please provide
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Burak Tuncer

79759636

Date: 2025-09-09 08:02:27
Score: 0.5
Natty:
Report link

The problem could also be an issue with DNS resolution missing from the resolv.conf file. This command should fix that.

echo 'nameserver 1.1.1.1' | sudo tee -a /etc/resolv.conf >/dev/null`
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Chris McDonald

79759634

Date: 2025-09-09 08:00:26
Score: 2
Natty:
Report link

Finally found a solution for this requirement.

This is working now, I had to “Enable project-based security” on the job and provide the necessary access to build and read for given user. ( i.e. foo )

Please find below curl syntax used

curl -X POST  http://foo:[email protected]:8080/job/my_testjob/buildWithParameters"

Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pushkar. M

79759632

Date: 2025-09-09 07:59:26
Score: 1
Natty:
Report link

On Xiaomi/Redmi devices running MIUI, there’s an additional security restriction on ADB. Enabling just USB debugging is not enough — you also need to enable another toggle in Developer Options:

Open Settings → About phone → MIUI version → tap 7 times to unlock Developer Options.

Go to Settings → Additional settings → Developer options.

Enable both:

Reconnect your phone and tap Allow when the authorization prompt appears.

The “USB debugging (Security settings)” option allows ADB to simulate input events (mouse/keyboard), clipboard actions, and other advanced features. Without it, Xiaomi blocks those for security reasons.

Note: Sometimes this toggle only appears if you’re signed into a Xiaomi account and connected to the internet.

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

79759629

Date: 2025-09-09 07:56:25
Score: 1.5
Natty:
Report link

I fixed this error by fix the wrong entitlements file path, please check your entitlements path is right in build settings.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • RegEx Blacklisted phrase (1): I fixed this error by fix the wrong entitlements file path, please
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: EkkoG

79759623

Date: 2025-09-09 07:50:22
Score: 5.5
Natty: 4
Report link

Hi Idris Olokunola,

I have tried python requests and was able to load the certificate. But im switching to selenium since the website needs interaction.

Can you give me an input on how I implement in python selenium. Im in ubuntu.
Thanks.

Here is the flow
1. Create a temporary certificate
2. Create firefox profile
3. Import the certificate using certutil
4. Load the page

Here is my initial implementation:

import tempfile
import subprocess
import shutil
import os
import asyncio

from selenium import webdriver
from selenium.webdriver.firefox.options import Options
from selenium.webdriver.remote.webelement import WebElement
from selenium.webdriver.common.by import By
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC

async def import_ssl(cert_path, profile_path, name):
    subprocess.run([
        "certutil", "-A",
        "-n", name,
        "-t", "u,u,u",
        "-i", cert_path,
        "-d", f"sql:{profile_path}"
    ], capture_output=True, text=True)

async def create_certificate(cert) -> str:
    ssl_cert = tempfile.NamedTemporaryFile(
        delete=False, suffix=".pem", mode="w"
    )

    ssl_cert.write(cert)
    ssl_cert.close()

    return ssl_cert.name

async def initialize_profile(resource):
    profile_path = os.path.join(dir, 'Profiles', resource)

    os.makedirs(profile_path, exist_ok=True)

    # Create Firefox profile
    subprocess.run(["firefox", "-CreateProfile", f"{resource} {profile_path}"], timeout=10)

    # Fix permissions
    current_user = os.environ.get("USER")
    subprocess.run(["chmod", "-R", "u+w", profile_path])
    subprocess.run(["chown", "-R", f"{current_user}:{current_user}", profile_path])

    # Add custom preferences
    prefs_path = os.path.join(profile_path, "user.js")
    with open(prefs_path, "a") as f:
        f.write('user_pref("security.enterprise_roots.enabled", true);\n')
        f.write('user_pref("security.default_personal_cert", "Select Automatically");\n')

    return profile_path

async def main(url, cert, resource):
        cert_path = await create_certificate(cert)
        profile_path = await initialize_profile(resource)

        await import_ssl(cert_path, profile_path, resource)
        
        options = Options()
        options.add_argument(f"-profile")
        options.add_argument(profile_path)

        browser = webdriver.Firefox(options=options)

        browser.get(url)

asyncio.run(main(url, cert, resource))

The issue im facing, is the certificate is not imported in the firefox profile I have created so that when loading the website, I got this issue.

selenium.common.exceptions.WebDriverException: Message: Reached error page: about:neterror?e=nssFailure2&u=https%3A//testsite.com&c=UTF-8&d=%20
Stacktrace:
RemoteError@chrome://remote/content/shared/RemoteError.sys.mjs:8:8
WebDriverError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:199:5
UnknownError@chrome://remote/content/shared/webdriver/Errors.sys.mjs:910:5
checkReadyState@chrome://remote/content/marionette/navigate.sys.mjs:59:24
onNavigation@chrome://remote/content/marionette/navigate.sys.mjs:348:39
emit@resource://gre/modules/EventEmitter.sys.mjs:156:19
receiveMessage@chrome://remote/content/marionette/actors/MarionetteEventsParent.sys.mjs:33:25

Hopefully you could help. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (2.5): Can you give me
  • RegEx Blacklisted phrase (3): you could help
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: shamyjun22

79759617

Date: 2025-09-09 07:45:21
Score: 2
Natty:
Report link

You’re not the only one facing this issue—I also came across [this similar question](How can I prevent my PKCanvas PDFOverlay object from becoming blurry when pinch-zooming in on a PDF in iOS?). But it seems like not many people use PencilKit with PDFKit, and that’s probably because PencilKit lacks enough customization options. For instance, you can’t customize tools like the Lasso or Eraser at all. Three months ago, I tried using PencilKit too, but ended up abandoning it to build my own infinite canvas instead.

Reasons:
  • Blacklisted phrase (0.5): How can I
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Vidy Videni

79759615

Date: 2025-09-09 07:44:20
Score: 1.5
Natty:
Report link

To extract years from some numpy datatime64 array dates:

import numpy as np
years = [x[0:4] for x in np.datetime_as_string(dates)]

And similarly for months and days

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

79759605

Date: 2025-09-09 07:27:15
Score: 0.5
Natty:
Report link

This is a huge problem for my application, that refresh tokens expire after 12 hours using Microsoft Entra External ID with Email OTP! We need the 90 days that we are used to!

There is no way to change it. And the last resort is now not possible, as you can't create b2c tenants anymore!!!


$policy = New-AzureADPolicy -Definition @('{"AccessTokenLifetime":"23:59:59","RefreshTokenLifetime":"90:00:00:00","RollingRefreshTokenLifetime":"90:00:00:00"}') -DisplayName "WebPolicyScenario" -IsOrganizationDefault $false -Type "TokenLifetimePolicy"
 
Get-AzureADPolicy -Id $policy.Id
 
$sp = Get-AzureADServicePrincipal -Filter "DisplayName eq 'XXX'"
Add-AzureADServicePrincipalPolicy -Id $sp.ObjectId -RefObjectId $policy.Id

enter image description here

enter image description here

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

79759594

Date: 2025-09-09 07:18:11
Score: 7
Natty: 7
Report link

have you found a solution to this? I am experiencing the same issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a solution to this
  • Low length (1.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Bmonkey123

79759583

Date: 2025-09-09 07:03:06
Score: 1
Natty:
Report link

I think the problem is in the import , and the import will be:

import ThemedView from "../../components/ThemedView";

If components and app are at the same level of the folder structure.

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

79759581

Date: 2025-09-09 07:01:06
Score: 3.5
Natty:
Report link

把这个ijArtifactdownloader.gradle 自动下载二进制关了,不然总是提示失败

close it 如图操作

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

79759577

Date: 2025-09-09 06:54:03
Score: 3
Natty:
Report link

PySide6 requires 64-bit Python, you can execute this script to check your python: python -c "import struct; print('64bit' if 8 * struct.calcsize('P') == 64 else '32bit')"

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

79759575

Date: 2025-09-09 06:52:03
Score: 0.5
Natty:
Report link

I had to tell Electron that it should use the proxy for get's:

set ELECTRON_GET_USE_PROXY=http://localhost:8888

then

npm i

See:
https://www.electronjs.org/docs/latest/tutorial/installation#proxies

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

79759572

Date: 2025-09-09 06:47:01
Score: 0.5
Natty:
Report link

Adjust the inflatAmount value to play with the gap between the bars.

options: {
    inflateAmount: 8, // Adjust this value 
    responsive: true,
    plugins: {
      legend: {
        display: false
      },
    },

You may also need to change barPercentage according to the change of inflatAmount to make it look better.

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

79759570

Date: 2025-09-09 06:44:00
Score: 1
Natty:
Report link

You must starting the search from the index immediately following the first found occurrence for overlapping, like this:



y=input()
m=0
n='NO'
if y.find('AB')!=-1:
    m=y.find('AB')
    if y.find('BA',m+2)!=-1:
        n='yes'
    else :
        n='NO'
print (n)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3041971

79759567

Date: 2025-09-09 06:40:59
Score: 1.5
Natty:
Report link

I personally would never rely on any free xml data comming from a flexform field, but always work with strong defaults while handling those data. E.g. in a switch-case use the default-case for the expected default.

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

79759560

Date: 2025-09-09 06:27:56
Score: 2.5
Natty:
Report link
var app = WebApplication.Create();

app.MapPost("/", (IFormFile formFile) => ...)
  .DisableAntiforgery();

app.Run();

https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/antiforgery-checks

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

79759559

Date: 2025-09-09 06:26:56
Score: 1.5
Natty:
Report link

Most of te blockchain development services providers team using this soulution

Use df.groupby() to group by Name and Emp#. .max() . You can try this.

Reasons:
  • Whitelisted phrase (-1): try this
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jade Abhiwan

79759558

Date: 2025-09-09 06:25:55
Score: 3.5
Natty:
Report link

This might be due to testing on emulator, try on real device.

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

79759549

Date: 2025-09-09 06:18:52
Score: 4
Natty:
Report link

These days you might try https://www.mycompiler.io/new/r

It plots figures.

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

79759548

Date: 2025-09-09 06:15:51
Score: 3
Natty:
Report link
^\d{4,5}(?:,\d{4,5})*$

Tested successfully in Regex Tester

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

79759543

Date: 2025-09-09 06:07:49
Score: 2
Natty:
Report link

As far as I know, only this vision camera frame processor plugin supports code 11: https://github.com/tony-xlh/vision-camera-dynamsoft-barcode-reader


import { decode } from 'vision-camera-dynamsoft-barcode-reader';

const frameProcessor = useFrameProcessor((frame) => {
  'worklet';
  const barcodes = decode(frame);
}, []);
Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: xulihang

79759526

Date: 2025-09-09 05:34:41
Score: 1
Natty:
Report link

It helped me for virt-manager in wsl 2 (OS Windows 11, wsl Ubuntu Ubuntu 22.04)

adding the export$(dbus-launch) line to the end of the .profile

when enabled

[boot]
systemd=true

in /etc/wsl.conf

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

79759525

Date: 2025-09-09 05:33:41
Score: 1
Natty:
Report link

Pattern p = Pattern.compile("\\b(?:Input|Calc)![A-Z]\\d+\\b");

  1. (?:Input|Calc) — either keyword

  2. ! — the literal exclamation that both forms share

  3. [A-Z] — exactly one uppercase column letter

  4. \\d+ — one or more digits

  5. \\b — word boundaries so you don’t bleed into adjacent text

Quick test with your samples

Matches found:

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

79759522

Date: 2025-09-09 05:29:40
Score: 2
Natty:
Report link

Few issue can cause this.

<application
      ...
      android:usesCleartextTraffic="true">

I feel adding android:usesCleartextTraffic to true will fix your issue if have't already added it. if this doesn't fix your issue please shared ip of your emulator

Reasons:
  • Whitelisted phrase (-1): in your case
  • RegEx Blacklisted phrase (2.5): please share
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: JAY BHATT

79759502

Date: 2025-09-09 04:48:31
Score: 2
Natty:
Report link

To open your app by scanning the QR code on Expo Go, you need to connect both your computer and phone to the same internet connection. Otherwise, Expo will not work.

That’s why it works properly on your browser but not on your phone.

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

79759500

Date: 2025-09-09 04:42:30
Score: 3.5
Natty:
Report link

Thanks to Estus Flask I found out that the problem weren't the methods that I used to load the pages, but the pages themselves. If your run my code with Github for example, it works without flaw. I initially tested the links with 2 different pages but both failed so I assumed that it would happen with anything. My bad and thanks for the comments. Although I still don't know why my exception handler catch the errors of other pages,

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Alexis Mercado

79759496

Date: 2025-09-09 04:18:25
Score: 2.5
Natty:
Report link

Your question needs to be more detailed.

However, for me, it is working smoothly for my projects.

Node.js: 22
Expo SDK: 52
React Native: 0.76

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

79759495

Date: 2025-09-09 04:17:24
Score: 6.5 🚩
Natty: 5
Report link

Any luck on this? I'm looking for the same problem when migrating Pentaho to dbt?

Reasons:
  • Blacklisted phrase (1.5): Any luck
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Quang Hoàng Minh

79759494

Date: 2025-09-09 04:05:21
Score: 3
Natty:
Report link

This could be because you are missing the s3 GetObject permission for the EMR cluster. Looks like a similar issue to this previous post:

I have an error "java.io.FileNotFoundException: No such file or directory" while trying to create a dynamic frame using a notebook in AWS Glue

Reasons:
  • RegEx Blacklisted phrase (1): I have an error
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jwong

79759491

Date: 2025-09-09 03:56:19
Score: 2.5
Natty:
Report link

As far as I remember Kafka doesn't support Change tracking, I have extended their kafka-connect-jdbc to support change tracking, please check

https://github.com/hichambouzkraoui/kafka-connect-jdbc-extended

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

79759482

Date: 2025-09-09 03:43:16
Score: 1
Natty:
Report link

c++ concept is predicates, but existential type is usually functions table.

Indeed, predicated can represent that we have a function, but normally predicate is opaque, so we only know we have a function, but we don't know what the function is, we cannot get function from predicate directly.

That's why c++ concept can hardly support type erasure (rust: trait -> dyn trait, swift: protocol -> any protocol), so c++ concept is not really existential type.

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

79759473

Date: 2025-09-09 03:21:11
Score: 3
Natty:
Report link

One possible solution I've found using OxyLabs is to just whitelist your IP rather than use a user/pass to authenticate. You can also setup a system-wide proxy if you're on a windows machine to bypass having to authenticate with chrome directly.

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

79759469

Date: 2025-09-09 03:17:09
Score: 0.5
Natty:
Report link

Turns out there're just couple of things to add in order to have my original code to work:

  1. Add BindingContext assignment to the behavior;

  2. Set x:DataType to the BindingContext;

  3. Use x:Reference to refer to the parent Image control and set its BindingContext to the behavior.

Hope this could be added to the documentation as this is quite a common scenario.

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

79759466

Date: 2025-09-09 03:12:08
Score: 3
Natty:
Report link

In my company, instead of join prefer to use multiple queries, one for each table to improve performance. Is it a valid point because large database with millions of records will slow down linearly with joins. So if we do like 3 queries, each with log N time complexity, it would be better yes definitely!!

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mạnh Trần

79759455

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

I found a solution to my issue.

I needed to update, npm, nodejs, fast-xml-parser. And the issue seems resolved with the following updated code.

const fs = require("fs");
const { XMLParser } = require("fast-xml-parser");

const options = {
    ignoreAttributes: false,
    attributeNamePrefix: '@_',
    parseAttributeValue: true,
};

const parser = new XMLParser(options);

var tsx = "tilesheet.tsx";
var tsxExists = fs.readFileSync(tsx);

if (!tsxExists) {
    console.error(tsx + " doesn't exist.");
}

fs.readFile(tsx, function(err, file2) {
    if (err) {
        console.error(err);
        return;
    }
    var tsxdata = file2.toString();
    console.log(file2.toString());

    var jsonObj = parser.parse(tsxdata, options);
    console.log(JSON.stringify(jsonObj));
});

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Langerz

79759454

Date: 2025-09-09 02:55:04
Score: 1
Natty:
Report link

for workers add nodejs_compat_populate_process_env in wrangler file

compatibility_flags = ["nodejs_compat","nodejs_compat_populate_process_env"]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: ali Atwa

79759453

Date: 2025-09-09 02:52:03
Score: 0.5
Natty:
Report link

I had the same issue when upgrading to Expo 53.

This issue has been fixed with Zustand v5.0.4, they also fixed 4.x with v4.5.7. I upgraded to v5.0.8 (current latest) and it's working as expected.

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: foloinfo

79759451

Date: 2025-09-09 02:45:02
Score: 3.5
Natty:
Report link

Update! INR 9000.00 deposited in HDFC Bank A/c XX2032 on 08-SEP-25 for NEFT Cr-DEUT0784PBC-SUPERSEVA SERVICES PRIVATE LIMITED-AQEEB KHAN-DEUTN52025090628528126.

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

79759448

Date: 2025-09-09 02:40:00
Score: 1
Natty:
Report link

You can build this by using face-api.js to handle face recognition right in the browser (so it works offline). Store data with localForage (easy offline database), and use PapaParse to let teachers download attendance as a CSV file. For the look and feel, just use Bootstrap to keep the design simple and mobile-friendly. Finally, make it a PWA so the app works even without internet and syncs later when online.

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

79759446

Date: 2025-09-09 02:32:58
Score: 0.5
Natty:
Report link

Reloading the window fixed it for me

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

79759443

Date: 2025-09-09 02:22:56
Score: 1.5
Natty:
Report link

Are you positive that Copilot is calling that tool at all? Copilot picks what tools it uses based on the tool's description. You can't simply tell copilot that it's there and be guaranteed it's really going to use it. It's more likely to acknowledge the tool's existence in the way you're seeing.

Try describing it like, "Call every time the user says the word 'hello' in order to retrieve the desired response." Or anything else that's going to give Copilot incentive to actually execute the command. You can also look at the descriptions of any of the other tools you have loaded and model yours after them.

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

79759441

Date: 2025-09-09 02:16:54
Score: 8 🚩
Natty: 5
Report link

im working on a school project. what did you find out when you build it without license? did some of the feature not work? or the license if just for legal purposes?

Reasons:
  • RegEx Blacklisted phrase (3): did you find out
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: kou yanagi

79759440

Date: 2025-09-09 02:12:53
Score: 3.5
Natty:
Report link

I am also running into this issue. Looks like there was no resolution. According to the RFC we shouldnt need the threadId as it is an internal Gmail concept. But Gmail does not seem to reliably thread emails together based solely on the headers above and the subject. Is Gmail not compliant with the RFC in this case? Using the threadId does not work because user1 doesnt have access to user2's thread. Very confusing. Hoping someone has solved this.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): user1
  • User mentioned (0): user2
  • Single line (0.5):
  • Low reputation (1):
Posted by: spervez

79759435

Date: 2025-09-09 02:00:50
Score: 1.5
Natty:
Report link

I don't know why this version is not working, just change the version to lower that work

settings.gradle.kts

id("com.android.application") version "8.9.1" apply false

change to

id("com.android.application") version "8.7.0" apply false

gradle-wrapper.properties

distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-all.zip

change to

distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip

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

79759431

Date: 2025-09-09 01:54:49
Score: 2
Natty:
Report link

Currently the Next.js version 15.5.2 is having issues with Tailwind V4.

My temporal solution for now is to downgrade the version of tailwind to V3, it should works as expected:

yarn add -D tailwindcss@^3 postcss autoprefixer

npx tailwindcss init -p

enter image description here

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

79759428

Date: 2025-09-09 01:35:46
Score: 2.5
Natty:
Report link

Major facepalm moment! The issue turned out to be a bug in my application code, and the query was never run with an empty array. Once I discovered that, I saw the query run just fine.

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

79759426

Date: 2025-09-09 01:32:45
Score: 0.5
Natty:
Report link

You all have gotten me oh so close...... My data was even a bit more complex than I realized, so I'm trying to adjust. I feel like I'm almost there, but. . .

I do have XSLT 3.0 to work with on this.

Here's what I have so far. My last remaining problem is that the "except" doesn't like "wantedNode2/replacingSubNode3" so it is outputting both original and new SubNode3.

    <xsl:mode on-no-match="shallow-skip"/>

    <xsl:template match="headerNode2">
        <xsl:copy>
            <xsl:copy-of select="* except (wantedNode2/replacingSubNode3, unwantedNode4)"/>
            
            <ReplacementSubNode3>
                <stuff>
            </ReplacementSubNode3>          
        
        </xsl:copy>
    </xsl:template>

Everything else is coming out great.

Now if I could just stop hitting enter an posting before I'm done!

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

79759424

Date: 2025-09-09 01:26:44
Score: 1.5
Natty:
Report link

For a more secure browsing experience, HTTPS-First Mode is enabled by default in Incognito mode starting in Chrome 127. The warning that you mentioned would appear when users navigate to sites over insecure HTTP.

When browsing in Incognito mode, Chrome will try to connect via HTTPS first with a 3-second timeout.

If the site takes longer than 3 seconds to load, it will fall back to HTTP and display a warning.

This doesn’t affect every site, only those that take more than 3 seconds to respond.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Duy Phương Phạm

79759422

Date: 2025-09-09 01:22:42
Score: 7.5 🚩
Natty: 5
Report link

Are you using Copilot in the GitHub UI or in an IDE? The GitHub UI saves your previous selection on most every page... can you provide some more context?

Reasons:
  • RegEx Blacklisted phrase (2.5): can you provide some
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ashley Childress

79759416

Date: 2025-09-09 00:34:33
Score: 0.5
Natty:
Report link
Reasons:
  • Low length (1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: aepryus

79759410

Date: 2025-09-09 00:17:30
Score: 2.5
Natty:
Report link

Given 2 developers, 2 weeks, and React-only experience, the most realistic choice is React + Capacitor, since it lets you reuse your React skills/code for both web and Android while keeping FCM and charts integration simple.

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

79759408

Date: 2025-09-09 00:12:28
Score: 5
Natty:
Report link

@Ashavan is correct. Imagine if in future if for some reason the relationship between Block A and Room 3 were to change, will you go back to update all prior Appointment resources to fix this relationship? or will it not be easier to just adjust the relationship between Location "Block A" and Location "Room3" leaving your Appointment resources as is.

Reasons:
  • RegEx Blacklisted phrase (1.5): fix this relationship?
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @Ashavan
  • Single line (0.5):
  • Looks like a comment (1):
Posted by: BlessedHIT

79759407

Date: 2025-09-09 00:12:28
Score: 0.5
Natty:
Report link

You can extract JSON from Packages.gz and other files using the utility jc:

gzcat Packages.gz | jc --pkg-index-deb
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Scott Centoni

79759406

Date: 2025-09-09 00:10:28
Score: 0.5
Natty:
Report link

While it's written in Python rather than PHP, you can do that with the utility jc.

gzcat Packages.gz | jc --pkg-index-deb
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Scott Centoni

79759403

Date: 2025-09-08 23:50:24
Score: 4
Natty:
Report link

Turns out it was as simple as manually updating the Angular version (not Angular CLI) to 8. Thank to all of those who gave suggestions, and to @Eliseo for the answer in the comments!

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

79759392

Date: 2025-09-08 23:18:17
Score: 1.5
Natty:
Report link

tl;dr Objects can have multiple file names, and the "base script" answer doesn't find the secondary+ names. Start with git-filter-repo --analyze and work from there.

I think the implication is that one must purge, then check, then purge, then check... until all the undesired files are gone. I am not certain because I haven't done the purge yet.

---

I inherited a code base that had a lot of issues; one of which was things checked in that shouldn't have been; another was that the size was approaching the github-alike size limit and would shortly no longer be usable.

In an effort to clean up the repo I used the Base Script from this answer https://stackoverflow.com/a/42544963/1352761 (elsewhere on this question) to generate a list of files-in-the-repo sorted by size.

I came across this idiom (don't have a source now) git log --diff-filter=D --summary and as a double check ran it, and then compared the output to the above. I wanted to be sure that I didn't miss purging any files on the first go, because I am not looking to do this multiple times.

Lo and behold. A file of the shouldn't-have-been-checked-in variety was present in the "deleted files" summary but not present in the "base script" summary. How can that be? To verify the file, I checked out the commit that deleted it and verified the file's presence on disk. So it is still in the repo, but why doesn't the "base script" version find it?

Doing a lot of digging didn't turn up any solutions. Most or all of the "find big files" scripts are based on git rev-list --objects --all which simply... did not report the mystery file. Several tools built on git verify-pack -v .git/objects/pack/pack-*.idx also didn't return anything useful.

Finally I gave up, and moved on to having a look at filter-repo https://github.com/newren/git-filter-repo which is going to be the purging tool. One git-filter-repo --analyze to get started and there it is:

blob-shas-and-paths.txt:  8d65390d2b76d34a8970c83ce02288a93280ba01       5315       1459 [build_dir/qtvars_x64_Debug.props, build_dir/temp/qtvars_x64_Debug.props]

To be fair, the git rev-list documentation for the --object-names option https://git-scm.com/docs/git-rev-list#Documentation/git-rev-list.txt---object-names does say "and if an object would appear multiple times with different names, only one name is shown." so there error here is mine, I guess, except --object-names wasn't in use in the "base script". The documentation does not tell you how to find the other names which is frustrating.

It turns out that my repo has 178 objects with multiple names; one of them has 18 names. I am assuming that purging is done by pathname and that git-filter-repo will not remove the blob until all pathnames referencing it are purged. That means I'm in for 18 cycles of purge, check repo health, purge... unless git-filter-repo has some tricks up its sleeve.

Reasons:
  • Blacklisted phrase (1.5): any solution
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
Posted by: studog

79759388

Date: 2025-09-08 23:08:15
Score: 1
Natty:
Report link
=XIRR(VSTACK(E$11:E17,H17),VSTACK(B$11:B17,B17))

does the job now

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

79759386

Date: 2025-09-08 23:05:14
Score: 1.5
Natty:
Report link

I could find in 3.2.0 version this functionality was added in 2021. It is described in the documentation. You can use SparkSQL API https://spark.apache.org/docs/latest/api/sql/index.html#decode

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

79759364

Date: 2025-09-08 22:03:01
Score: 1
Natty:
Report link

I'm able to get Claude Code to deny access with:

"deny": [
  "Read(./.env)",
  "Read(./.env.*)"
]

Note that this file should be located at .claude/settings.local.json, not .claude/settings.json.

Perhaps that is the issue?

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Mark Shust at M.academy

79759361

Date: 2025-09-08 22:00:00
Score: 3
Natty:
Report link

(Get-WinEvent -ListLog $LogName).RecordCount

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: littleleshy

79759356

Date: 2025-09-08 21:49:57
Score: 3.5
Natty:
Report link

Use the extension Debugpy Old. That is the only way I found to debug 3.6 in VS Code.

https://marketplace.visualstudio.com/items?itemName=atariq11700.debugpy-old

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

79759353

Date: 2025-09-08 21:45:56
Score: 10
Natty: 7
Report link

I need help creating a e X.509 v3 c signature Texas compliant for my notary, can anyone help. Thanks

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (2.5): I need help
  • RegEx Blacklisted phrase (3): can anyone help
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Unicorn mom

79759350

Date: 2025-09-08 21:30:53
Score: 2.5
Natty:
Report link

Since a browser must send an Origin header for a cross-origin request with an unsafe method (I hope you don't use GET method for state changes), you can simply check if the origin is whitelisted.

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

79759345

Date: 2025-09-08 21:22:51
Score: 0.5
Natty:
Report link

In addition to @Joop Eggen’s answer, I would suggest also checking for extra bytes after decompression has completed, and handling DataFormatException, because as far as I can see you wanted to decompress a single "data" byte array.

val toParse: ByteByffer = TODO()

inflater.setInput(toParse)
var messageBytes = ByteArray(toParse.remaining())
var messageSize = 0
while (!inflater.finished()) {
  if (messageSize == messageBytes.size) {
    messageBytes = messageBytes.copyOf(messageSize * 2)
  }
  try {
    val decompressedSize = inflater.inflate(messageBytes, messageSize, messageBytes.size - messageSize)
    messageSize += decompressedSize
    // A return value of 0 indicates that needsInput() or needsDictionary() should be called in order
    // to determine if more input data or a preset dictionary is required.
    if (decompressedSize == 0) {
      if (inflater.needsInput()) {
        throw IllegalArgumentException("Malformed message: insufficient bytes to complete decompression.")
      }
      if (inflater.needsDictionary()) {
        throw IllegalArgumentException("Malformed message: deflate with custom dictionary is not supported.")
      }
    }
  } catch (error: DataFormatException) {
    throw IllegalArgumentException("Malformed message: invalid deflate data: ${error.message}", error)
  }
}
// Returns the total number of bytes remaining in the input buffer.
// This can be used to find out what bytes still remain in the input buffer after decompression has finished.
if (inflater.remaining > 0) {
  throw IllegalArgumentException("Malformed message: extra ${inflater.remaining} bytes detected after decompression was complete.")
}
inflater.end() // or .reset() if you want to reuse
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Joop
  • Low reputation (1):
Posted by: Artem Golovko

79759343

Date: 2025-09-08 21:19:50
Score: 0.5
Natty:
Report link

I have finally managed to share via whatsapp the two types of files I needed to: png images and gpx (xml) files. You have to bear in mind that the method is probably not universal and may not work for certain files. In both cases, I first saved the file to the external cache folder using capacitor's filesystem:

      const savedFile = await Filesystem.writeFile({
        path: file,       
        data: gpxText,
        directory: Directory.ExternalCache,
        recursive: true,
        encoding: Encoding.UTF8,
      });

Then, I share the file URI using Cordova's Social Sharing.

      await this.socialSharing.shareWithOptions({
        files: [savedFile.uri],
        chooserTitle: '...'
      });

However, in the case of the gpx file, you can send just the file, without any text. If you try to send both text and file, the transfer fails. ChatGPT suggests that this may be due to the following:

  1. Some sharing plugins (cordova-plugin-x-socialsharing, Capacitor Share API, etc.) treat a text + file share differently than a file-only share.

  2. On Android, if you only provide a file (with a valid MIME type, e.g. application/gpx+xml or application/octet-stream), the system share sheet is more likely to open correctly and show WhatsApp.

  3. When you add a message or text, certain apps (like WhatsApp) may try to interpret the share as a text-only share, which then hides the file.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Enric Terradellas

79759333

Date: 2025-09-08 21:01:45
Score: 1.5
Natty:
Report link

step 1 : sudo pacman-key --lsign-key "Levon 'noptrix' Kayan (BlackArch Developer) <[email protected]>"

step 2 : sudo pacman-key --keyserver keyserver.ubuntu.com --recv-keys 4345771566D76038C7FEB43863EC0ADBEA87E4E3

sudo pacman-key --lsign-key 4345771566D76038C7FEB43863EC0ADBEA87E4E3

step 3 : sudo nano /etc/pacman.d/blackarch-mirrorlist

Step 4 : reboot

step 5 : sudo pacman -Syyu

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

79759328

Date: 2025-09-08 20:55:43
Score: 1
Natty:
Report link

Google’s 10,000 English Words:
https://github.com/first20hours/google-10000-english

GitHub:
Search for “child-friendly word list” or “clean word list” for community-curated options.

Automated Filtering (for Offline use)

You can write a simple script to remove words that match patterns or are on a “blocklist.” Here’s a basic approach:

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

79759323

Date: 2025-09-08 20:49:42
Score: 1
Natty:
Report link

Just forget about filefield and writeyou your own file saver/getter once, trust my 10years django experience. In your DB so called "file field" is just simple charfield, so there is no magic, except django design headache.

If you go this way you won't lose anything as your project growup but you will definitely have more control over media files in your system.

In production you willuse something like nginx for file server, with different location, maybe even mounted network partition

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

79759318

Date: 2025-09-08 20:45:40
Score: 0.5
Natty:
Report link

As others pointed out, sed may not be the right command. However, if you really want to use sed and not any other command (awk might have been a good option) :

printf 'Hello wor=\r\nld\n' | sed -z 's/=\r\n//g'

Use -z option to handle multi-line matching.

Expected output :

Hello world
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Eternal Dreamer

79759313

Date: 2025-09-08 20:40:38
Score: 9.5 🚩
Natty: 6
Report link

I am trying to create an Android 13 based demo system, to demonstrate some audio post processing software that I created. (The software does things like: automatic gain control, and 4+ channel audio spatialization.) I need to capture (intercept) the audio data from all audio sources, just before it goes to the audio device, process it, and then send the audio to the appropriate ALSA device/channel.

On my test device, I have an Android 13 AOSP build that I did not create, so I am looking for a solution that does not require me to rebuild AOSP. I am cool with using ADB to modify system configuration and binary files.

Any suggestions???

Reasons:
  • Blacklisted phrase (2): I am looking for
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): I am trying to
  • Blacklisted phrase (1): ???
  • RegEx Blacklisted phrase (2): Any suggestions?
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Russ

79759306

Date: 2025-09-08 20:21:33
Score: 2
Natty:
Report link

You can try to use App instead of VueConstructor

import type { App } from 'vue'
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user116313

79759294

Date: 2025-09-08 20:03:29
Score: 0.5
Natty:
Report link

the solution that works for me is to change the place mnt/ram_disk is added to the container. It should not be mnt/ram_diskbut some place in the directory tree containing the web pages.

I added a bind to add /mnt/ram_disk to /var/www/html/ram_disk, and with that, I cann access any image inside that folder properly.

Thanks to Julien B. for suggesting that in a different thread.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Whitelisted phrase (-1): works for me
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Solderdot

79759282

Date: 2025-09-08 19:48:26
Score: 3
Natty:
Report link
@echo off
setlocal enabledelayedexpansion

REM Detecta si hay una cosola visible (interactivo)
if "%SESSIONNAME%" == "Console" (
    choice /M "¿Desea continuar?"
    if errorlevel 2 exit /b
)
REM aqui segun el caso, se continua con el script
REM Obtener la fecha actual desde la variable de entorno %date%
REM el formato de %date% depende de la configuración regional del sistema opetativo
REM Por ejem: DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD.
set fecha=%date%

REM Extraer día, mes, año usando substrings.
REM Ajusta los indices si tu formato de fecha es diferente.
REM Para formato DD/MM/YYYY
set dd=!fecha:~0,2!
set mm=!fecha:~3,2!
set yyyy=!fecha:~6,4!

REM Reconstruir la fecha en formato DD/MM/YYYY
set fecha_formateada=!dd!/!mm!/!yyyy!

REM Obtener el día de la semana (viene en inglés, asi que posteriormente lo traduciremos por comodidad al ver la consola.
REM El primer token suele ser el nombre del dia abreviado (Mon, Tue, etc.)
for /f "tokens=1 delims= " %%d in ('date /t') do set dia_en=%%d

REM Traducir el día de la semana al español
set dia_es=Lunes
if /i "!dia_en!"=="Tue" set dia_es=Martes
if /i "!dia_en!"=="Wed" set dia_es=Miércoles
if /i "!dia_en!"=="Thu" set dia_es=Jueves
if /i "!dia_en!"=="Fri" set dia_es=Viernes
if /i "!dia_en!"=="Sat" set dia_es=Sábado
if /i "!dia_en!"=="Sun" set dia_es=Domingo

REM 1) Verificar si es sábado o domingo y suspender el proceso si es así ------------------------------------------------------------------------------------------------
if /i "!dia_es!"=="Sábado" (
    echo Hoy es sábado. El proceso se aborta.
    pause
    exit /b
)
if /i "!dia_es!"=="Domingo" (
    echo Hoy es domingo. El proceso se aborta.
    pause
    exit /b
)
REM ------------------------------------------------------------------------------------------------------------------------------------------------------------------

REM 2) Obtener hora actual (lo ajustaremos por comodidad de lectura a formato de AM - PM, solo para la consola)
set hora=%time:~0,2%
set minutos=%time:~3,2%
set segundos=%time:~6,2%

REM Quitar espacios iniciales en la hora
if "!hora:~0,1!"==" " set hora=!hora:~1,1!

REM Determinar AM o PM
set ampm=AM
if !hora! GEQ 12 set ampm=PM
if !hora! GTR 12 set /a hora=!hora!-12
if !hora! EQU 0 set hora=12

REM Mostrar fecha y hora con AM/PM

REM echo Fecha actual: !fecha_formateada!
REM echo Dia de la semana: !dia_es!
REM echo: Inicio de ejecucion: !dia_es! !fecha_formateada! %time%

REM Mostrar en pantalla
echo Inicio de ejecucion: !dia_es! !fecha_formateada! !hora!:!minutos!:!segundos! !ampm! 
echo.

REM 3) A partir de aqui inicia el proceso de copia (y renombre del archivo si fuese el caso) -------------------------------------------------------------------------------
REM Configura los nombres y rutas
set "origen=D:\Proyectos\Batch Script\OperativaMacrobase\scc02525247.TXT"
set "destino=D:\Proyectos\Batch Script\000_ArchivoBase\scc02525247.TXT"

:INTENTAR
echo Verificando existencia de archivo en: !origen!
if exist "!origen!" (
    echo Archivo encontrado. Verificando que el archivo este totalmente copiado...
    for %%A in ("!origen!") do set size1=%%~zA
    echo Tamano inicial: !size1!
    timeout /t 10 >nul
    for %%A in ("!origen!") do set size2=%%~zA
    echo Tamano despues de 10 segundos: !size2!
    if "!size1!"=="!size2!" (
        echo El archivo esta listo para copiar.
        copy "!origen!" "!destino!"
        echo Copia de archivo completada.
        goto FIN
    ) else (
        echo El archivo aun se esta modificando. Reintentando en 5 segundos...
        timeout /t 5 >nul
        goto INTENTAR
    )
) else (
    echo Archivo no encontrado. Reintentando en 5 segundos...
    timeout /t 5 >nul
    goto INTENTAR
)

:FIN

REM Copiar archivo.txt de C:\Origen a C:\Destino
REM copy "\\MX2CT1HNASCIFNFSEVS1.mx.corp\Cartera_Sis390\scc02525247.TXT" "D:\Castor\Documentacion\Lenguajes\Batch Script\000_ArchivoBase\scc02525247.TXT"

REM Renombrar archivo.txt a nuevo_nombre.txt en C:\Destino
REM ren "D:\Castor\Documentacion\Lenguajes\Batch Script\000_ArchivoBase\scc02525247.TXT" "castor.txt"

REM 4) REM Bloque de conexión a Oracle usando SQL Plus --------------------------------------------------------------------------------------------------------------------

REM Reemplaza USUARIO, PASSWORD, y TNS con tus datos

set ORACLE_USER=user_developer
set ORACLE_PASS=11159286Cs
set ORACLE_TNS=FREE

REM Ejecutar un query y guardar el resultado en un archivo
sqlplus -S %ORACLE_USER%/%ORACLE_PASS%@%ORACLE_TNS% @consulta.sql > resultado.txt













REM Ejemplo de consulta.sql:
REM SELECT SYSDATE FROM DUAL;
REM EXIT;

REM ------------------------------------------------------------------------------------------------------------------------------------------------------------------

REM Obtener hora actual (lo ajustaremos por comodidad de lectura a formato de AM - PM, solo para la consola)
set hora=%time:~0,2%
set minutos=%time:~3,2%
set segundos=%time:~6,2%

REM Quitar espacios iniciales en la hora
if "!hora:~0,1!"==" " set hora=!hora:~1,1!

REM Determinar AM o PM
set ampm=AM
if !hora! GEQ 12 set ampm=PM
if !hora! GTR 12 set /a hora=!hora!-12
if !hora! EQU 0 set hora=12

echo Fin de ejecucion: !dia_es! !fecha_formateada! !hora!:!minutos!:!segundos! !ampm! 

REM ------------------------------------------------------------------------------------------------------------------------------------------------------------------

pause
Reasons:
  • Blacklisted phrase (1): ¿
  • RegEx Blacklisted phrase (2): encontrado
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Eliseo

79759256

Date: 2025-09-08 19:04:16
Score: 3.5
Natty:
Report link

Foreign Key it is as Barmar and David said in comments.

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

79759254

Date: 2025-09-08 19:01:15
Score: 1
Natty:
Report link

Your CMakeLists.txt mixes old ESP-IDF v4 style (register_component(), COMPONENT_* variables, manual project()/add_library()) with the new v5 style. That prevents IDF from correctly propagating the include path for esp_timer.h. The build system sees esp_timer in the requirements, but because of the legacy setup, the header isn’t actually on your target’s include path. Don’t call project(), add_library(), or register_component(). Instead, use only idf_component_register(..). By the way remove the ~ include paths. CMake won’t expand ~, and you don’t need them anyway. Delete all COMPONENT_ADD_INCLUDEDIRS, COMPONENT_REQUIRES, register_component(), target_link_libraries(... INTERFACE ...), etc. Those are legacy v4 constructs. No need for project() or add_library() inside an ESP-IDF component.

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

79759246

Date: 2025-09-08 18:53:14
Score: 2.5
Natty:
Report link

You cannot detect cookie deletion “instantly,” but you can detect it on the next request. That’s the standard, secure approach: let the backend validate tokens and let the frontend respond by logging out when unauthorized.

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

79759235

Date: 2025-09-08 18:41:10
Score: 6.5 🚩
Natty:
Report link

As I understand, the problem was with weight of font file? Maybe it can helps https://web.dev/articles/reduce-webfont-size ?

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Хорт Транс

79759234

Date: 2025-09-08 18:39:10
Score: 0.5
Natty:
Report link

I was running lazygit in another terminal, and upon closing it, it immediately allowed me to save the file.

This is very strange because lazygit is not suppoed to cause an issue like this, and I checked whether the file had any locks on it, and none were found. It seems very intermittent.

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

79759232

Date: 2025-09-08 18:31:08
Score: 1.5
Natty:
Report link
Rails.application.routes.draw do     

  resources :browse_items, only: [:index, :show]
  resources :reports, only: [:index, :show]

  resources :project, only: [:index, :create, :show]
  root to: "project#index"
end
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Eliseo

79759223

Date: 2025-09-08 18:17:04
Score: 1.5
Natty:
Report link

RememberDatePickerState crashes with kotlinx-datetime:0.7.1 because Compose Multiplatform Material3 still depends on an older unshaded version of kotlinx-datetime, so mixing in zero.7.X reasons runtime conflicts on Desktop/iOS. The safe workaround these days is to stay with kotlinx-datetime:0.6.X until Compose updates its dependency. You can still convert selectedDateMillis to a readable string manually the usage of platform-specific formatters (count on/real with SimpleDateFormat on Android and NSDateFormatter on iOS).

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

79759221

Date: 2025-09-08 18:14:04
Score: 2
Natty:
Report link

When compiling with updated code line, receive Compilation error: 'min' in namespace 'std' does not name a template type. and same error:

Compilation error: no matching function for call to 'I2Cdev::writeBit(uint8_t&, int, int, uint8_t&, void*&)'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: kole lutz

79759205

Date: 2025-09-08 17:57:59
Score: 2.5
Natty:
Report link

I have this issue, check the font family. in my case it was an arabic language font familiy which causes this.

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

79759202

Date: 2025-09-08 17:53:57
Score: 1.5
Natty:
Report link

In my case, I tried to connect to MS SQL 2008 without encryption, since only TLS 1.2 and 1.3 were enabled on the web server (Windows Server 2022). I experimented with many settings, but eventually discovered that when only TLS 1.3 is enabled, the connection to MS SQL works (unencrypted). We then enabled TLS 1.2 in the registry as well, but only for the “Server” role (to keep RDP working, etc.), not for “Client”.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: David Najman

79759192

Date: 2025-09-08 17:35:53
Score: 1
Natty:
Report link

You create both .aab, one for the watch and one for the phone, just like as you did at first...

On play console, after enabling the wear os form factor, you go to "Production" tab as you did. Right on the right top corner where there is the "Create new version" button, that you also clicked, there is the a dropdown with the text: "Smartphones, Tablets, Chrome OS, Android XR", click on it and select the wear os option, then create the version just like your did with the phone .aab.

Before publishing you need to go back to the screen where you enabled the wear os form factor and enable the last option manually (when you enable the form factor there are 3 list items to fill remember!?).

PS. I didn't post any pictures because I don't have my computer here and I'm not logged on my phone...

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

79759191

Date: 2025-09-08 17:33:52
Score: 1.5
Natty:
Report link

I figured this out, it was easier than I thought and I was overthinking things. Yes technically its not the exact solution I will use in production but atleast I was able to test if my code worked successfully.

I setup my /etc/hosts code to route both domains to the localhost ip and then handled rendering the correct domain for the url in the app based on the request host and things worked perfectly.

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

79759188

Date: 2025-09-08 17:31:51
Score: 5
Natty: 6.5
Report link

You need to have a Certificate to do this, read this article from Microsoft and you are ready to debug.

It works well with your solution on OneDrive

https://learn.microsoft.com/en-us/visualstudio/ide/how-to-sign-application-and-deployment-manifests?view=vs-2022

Reasons:
  • Blacklisted phrase (1): this article
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Benny Kristensen

79759186

Date: 2025-09-08 17:27:50
Score: 1
Natty:
Report link

if marginUpper can be null, you should use Integer instead of int

public class Margins {

    private int id;

    private Integer marginUpper;

    // Getter Setter NoArgConstructor AllArgsConstructor
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: wjfqvi

79759170

Date: 2025-09-08 17:06:44
Score: 1
Natty:
Report link
 public class LCM
{   
    int n1,n2;//input values from user,i.e the values who's LCM is to be found
    int large,sm;//compare n1 and n2. Store the larger number in large and smaller number in sm

   public int getLCM()
   {     
      if(large!=sm) 
      {   
          if (large>sm)  
          large=large-sm;  
          else if (large<sm)  
          sm=sm-large; 

       return getLCM(); 
      } 
     else 
     return (n1*n2)/large; 
   }
}
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Karthik

79759168

Date: 2025-09-08 17:04:43
Score: 2.5
Natty:
Report link

You can try ng-virtual-list It supports vertical and horizontal position, dynamic sizes, smooth scrolling. The README contains detailed usage examples.

npm https://www.npmjs.com/package/ng-virtual-list?activeTab=readme

examples https://ng-virtual-list.eugene-grebennikov.pro/

git https://github.com/DjonnyX/ng-virtual-list

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

79759165

Date: 2025-09-08 17:00:42
Score: 7 🚩
Natty: 5.5
Report link

I was hoping that the Apple would apply some logic to fix World Clock, which still assumes Daylight Savings is in effect in Mexico. Anyone aware of a fix for that?

Reasons:
  • RegEx Blacklisted phrase (1.5): fix for that?
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Andrew

79759157

Date: 2025-09-08 16:46:38
Score: 0.5
Natty:
Report link

You may start your adk server using following command.

adk api_server  --allow_origins="*" 

This will allow all origins and effectively disable cors for adk server.

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