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

79759155

Date: 2025-09-08 16:45:38
Score: 1.5
Natty:
Report link

clean the migration dependencies.

a solution that has just worked in my case was resetting existing migrations, creating and running migrations afresh, then reinstalling djoser. it's likely that a mixup of migration dependencies so anything from; 1) deleting the database, 2) deleting pycache to 3)running replacement and recovery is a great approach to this problem.

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

79759154

Date: 2025-09-08 16:43:36
Score: 10 🚩
Natty: 6.5
Report link

didnt worked for me , can any one help me here ?have the same issue in RN 0.77.1

Reasons:
  • Blacklisted phrase (1): help me
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (3): can any one help me
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): have the same issue
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): did
  • Low reputation (1):
Posted by: Eren yeager

79759131

Date: 2025-09-08 16:21:30
Score: 1
Natty:
Report link

In MacOS you can install just the client library from MySQL, in case you don't need the server.

brew install mysql-client

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gabriel López Valencia

79759127

Date: 2025-09-08 16:17:28
Score: 4
Natty:
Report link

iOS 26+ New API

labelReservedIconWidth(_:)

https://developer.apple.com/documentation/swiftui/view/labelreservediconwidth(\_:)

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

79759110

Date: 2025-09-08 15:54:22
Score: 3.5
Natty:
Report link

You can rename it as different name then press the big blue "Save" when you opened it up.

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

79759109

Date: 2025-09-08 15:52:22
Score: 0.5
Natty:
Report link

I was fighting this a bit with while using Tiled and figured I'd throw up what I landed on here. In Tiled it's just a width/height with the ellipse flag toggled so this works for that.

static std::vector<std::pair<float, float>> ellipsePoints(const float &centerX, const float &centerY,
                                                          const float &horizontalRadius, const float &verticalRadius) {
    // Box2d only lets us have a max of 8.
    static constexpr size_t MAX_SEGMENTS = 8;
    std::vector<std::pair<float, float>> points;
    for (size_t i = 0; i < MAX_SEGMENTS; i++) {
        float theta = 2.0f * M_PI * i / MAX_SEGMENTS;
        float x = centerX + horizontalRadius * cosf(theta);
        float y = centerY + verticalRadius * sinf(theta);
        points.emplace_back(x, y);
    }

    return points;
};

enter image description here

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

79759106

Date: 2025-09-08 15:51:21
Score: 4
Natty: 4.5
Report link

JazzCash MWallet Integration in C# or asp dot net
https://github.com/owais924/JazzCash-Integration-ASP.NET-CSharp

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

79759101

Date: 2025-09-08 15:46:20
Score: 1
Natty:
Report link

A mixin in Ruby is a way to include reusable modules into classes without using traditional inheritance. Instead of extending a single parent class, you can mix in shared behavior across multiple classes using Ruby modules. This makes your code more modular, flexible, and easier to maintain.

Mixins are especially useful when you want to share functionality across unrelated classes, avoid code duplication, and keep your application clean and scalable. For example, you might create a module for logging, authentication, or payment handling and then mix it into different classes as needed.

👉 To dive deeper into how Ruby modules and mixins work, check out this detailed guide: Ruby Module

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

79759091

Date: 2025-09-08 15:37:18
Score: 0.5
Natty:
Report link

If you are using edge or chrome, do a hard reload in the browser. That fixed it for me.

Here's how to do that from How to Geek
Chrome, Firefox, or Edge for Windows: Press Ctrl+F5 (if that doesn't work, try Shift+F5 or Ctrl+Shift+R.)

Chrome or Firefox for Mac: Press Shift+Command+R.

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

79759085

Date: 2025-09-08 15:28:15
Score: 4
Natty:
Report link

Can you check related questions first

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Shineed Basheer

79759082

Date: 2025-09-08 15:24:14
Score: 2.5
Natty:
Report link

Have you found a solution?

Setting extendedLayoutIncludesOpaqueBars = true in my viewController doesn't work.

Is your viewController containing a UIScrollView? I discovered there's a subview of type _TtCE5UIKitCSo15_UIScrollPocket12BackdropView in UIScrollView, and by setting its backgroundColor to nil, the extra backgroundColor disappears, allowing content to extend behind the TabBar. But again, this approach feels too hack.

I tried to find where the backgroundColor was being set to an actual color value, but found nothing.

Strangely, my tabBarController has four viewControllers - three tabs exhibit your issue, but one tab's viewController has no occlusion and extends properly... yet I can't find any different property setting that would cause this behavior...

Reasons:
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Jpache

79759071

Date: 2025-09-08 15:12:11
Score: 5.5
Natty: 5.5
Report link

I don't have an answer, but which library are you using for force Atlas 2?

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

79759047

Date: 2025-09-08 14:56:07
Score: 3.5
Natty:
Report link

So i find out. I was executing the python from another path and as i used a ./ path to get the images it couldn't find it.

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

79759043

Date: 2025-09-08 14:51:04
Score: 4
Natty:
Report link

Chayim Friedman was correct in her comment.

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

79759037

Date: 2025-09-08 14:48:02
Score: 3.5
Natty:
Report link

Some years ago, I made a glossary plugin for Jekyll. It is not automatic as you describe, but still easy to use.

Check it out here: https://github.com/erikw/jekyll-glossary_tooltip/

Reasons:
  • Blacklisted phrase (0.5): Check it out
  • Contains signature (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Erikw

79759023

Date: 2025-09-08 14:31:57
Score: 3.5
Natty:
Report link

you could've just const { id } = pb.collections("posts").create()

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

79759020

Date: 2025-09-08 14:27:56
Score: 3.5
Natty:
Report link

Common causes for this error include:

Reasons:
  • Blacklisted phrase (1): this link
  • RegEx Blacklisted phrase (1): check this link
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nisal Umayanga

79759014

Date: 2025-09-08 14:24:55
Score: 1.5
Natty:
Report link

@snhou answer helped me figuring out a bug in FTPHost, it always defaults to port 21:


    class ImplicitFTP_TLS(FTP_TLS):
        port = 990
        _sock = None
        def __init__(self, *args, **kwargs):
            super().__init__(*args, **kwargs)
            self.prot_p()
        ...

Then you can do:

    fhost = FTPHost(host, user, pw, session_factory=ImplicitFTP_TLS)
Reasons:
  • Has code block (-0.5):
  • User mentioned (1): @snhou
  • Low reputation (1):
Posted by: jonragnarsson

79759006

Date: 2025-09-08 14:20:54
Score: 1
Natty:
Report link

I ran into the same issue with **Laravel’s `temporaryUrl()` and MinIO** that you’re discussing here.

To solve it, I built a small package: [hosni/laravel-temporary-urls-minio](https://packagist.org/packages/hosni/laravel-temporary-urls-minio)

It works like this:

* Laravel still works with your internal `AWS_ENDPOINT` (e.g. `http://minio:9000`).

* But it uses (`MINIO_PUBLIC_URL`) which you have defined in your `filesystems.php` config file as `temporary_url` to sign URLs.

* The result is a valid, signed, **publicly accessible** temporary URL that works with `Storage::disk('minio')->temporaryUrl()` or even packages like [spatie/laravel-medialibrary](https://github.com/spatie/laravel-medialibrary).

Installation is one line:

```bash

composer require hosni/laravel-temporary-urls-minio

```

Then just add:

```php

'temporary_url' => env('MINIO_PUBLIC_URL'),

```

to your disk config. After that, everything **just works**, no need to duplicate the S3 driver or rely on `/etc/hosts` hacks.

Full README: [https://github.com/hosni/laravel-temporary-urls-minio](https://github.com/hosni/laravel-temporary-urls-minio)

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

79759004

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

https://github.com/web3infra-foundation/mega is a monorepo & monolithic codebase management system that supports Git, it is designed to manage large-scale codebases, streamline development, and foster collaboration. Mono is an unofficial open source implementation of Google Piper.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): is a
  • Low reputation (0.5):
Posted by: Quanyi Ma

79758994

Date: 2025-09-08 14:09:51
Score: 1
Natty:
Report link

Adding another source that could cause this issue:

In the module settings of the project -> module affected -> check if the folder of the classes that you want to import, are set as "source folder" multiple times.

If the folder is present multiple times IntelliJ will have internal conflict and will start to add the classes in the folder only by their fully qualified names.

Remove the voices of such folder until only one remains and then do a maven reload.

Now the classes should be imported correctly on top of the file.

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

79758992

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

There's no need to rely on Google Translator's Kit to batch translate HTML or PHP-coded files. A good approach is to extract your translatable strings into PO files, translate them with a proper translation memory tool, then rebuild your localized HTML or templates. This prevents your PHP tags or attributes from being altered.

**Option 1: Translate Toolkit (html2po / po2html)**

1. Extract strings to a POT template:

```

html2po -P src/ locale/templates.pot

```

2. Create a per-language PO file and translate:

```

msginit -i locale/templates.pot -l fr -o locale/fr.po

# translate locale/fr.po with your editor (Poedit, Virtaal, etc.)

```

3. Build the localized HTML:

```

po2html -t src/ locale/fr.po build/fr/

```

Repeat for each language. Your original HTML remains untouched; only new or changed strings need translating when you update your source.

**Option 2: po4a (PO for anything)**

This is useful when you have many files. Configure a `po4a.cfg`:

```

[po4a_langs] fr de es

[po4a_paths] locale/$lang.po

[type: xhtml] src/*.html $lang:build/$lang/%.html

```

Run `po4a-updatepo` to extract or update strings, then `po4a-translate` to produce localized HTML once translations are done.

**Best practices**

- Use UTF-8 encoding.

- Do not translate IDs, anchors or data- attributes. Do translate `alt` and `title` attributes if you need them localized.

- Keep your sentences well-formed so they extract cleanly.

- Test the output with a link checker.

If you prefer a hosted workflow instead of running tools locally, there are many translation management services that accept HTML or PO and preserve your tags. For example, Pairaphrase can import PO or HTML files, apply translation memory and glossaries, and then export localized HTML without stripping your PHP tags. Other platforms like Smartling, memoQ and Weblate offer similar features. The key is to use a tool designed for software translation rather than a general web translator.

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

79758988

Date: 2025-09-08 14:05:50
Score: 1
Natty:
Report link

from datetime import datetime

import pytz

from flatlib.chart import Chart

from flatlib.datetime import Datetime

from flatlib.geopos import GeoPos

# بياناتك

your_birth_date = '1996-06-06'

your_birth_time = '16:30'  # 4:30 PM

your_birth_place = GeoPos('31.2653', '32.3019')  # بورسعيد، مصر

# بيانات الشريك (نفترض 12:00 ظهرًا)

partner_birth_date = '1983-08-15'

partner_birth_time = '12:00'

partner_birth_place = GeoPos('39.9208', '32.8541')  # أنقرة، تركيا

# إعداد التواريخ

your_dt = Datetime(your_birth_date, your_birth_time, '+02:00')

partner_dt = Datetime(partner_birth_date, partner_birth_time, '+03:00')  # توقيت تركيا

# إنشاء الخرائط الفلكية

your_chart = Chart(your_dt, your_birth_place)

partner_chart = Chart(partner_dt, partner_birth_place)

# الكواكب المراد تحليلها

planets = ['SUN', 'MOON', 'VENUS', 'MARS', 'MERCURY']

# استخراج مواقع الكواكب

your_positions = {planet: your_chart.get(planet).sign for planet in planets}

partner_positions = {planet: partner_chart.get(planet).sign for planet in planets}

print("مواقع كواكبك:")

print(your_positions)

print("\nمواقع كواكب الشريك:")

print(partner_positions)

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

79758973

Date: 2025-09-08 13:53:46
Score: 2.5
Natty:
Report link

@Zegarek:

I'm using only one db, only one session, only one connection, so by PgAdmin and ODBC.

The function has the variable "doppie_ricette" declared locally, and this name is never used elsewhere.

The very problems are:

  1. In the test cases, the query used in the cursor "doppie_ricette" never returns any row.

  2. If I execute - like all the processing data before this procedure - in the PgAdmin environment, everything goes well, without errors; but if I do this in a PowerBuilder (12.6) program, doing exactly the same steps, when I call this procedure I obtain the error. The sequence of operations (INSERTs, CALLs) is obviously the same, and it's on a unique connection on the same PG 17 DB.

I have done only one direct setting of the ODBC connection: "SET CLIENT_ENCODING TO 'UTF8'", for the rest the configuration of the ODBC is the original one.

A

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • User mentioned (1): @Zegarek
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Andrea Ricci

79758971

Date: 2025-09-08 13:51:46
Score: 2
Natty:
Report link

reportXmlFile value is " D:\Repos\<redacted>\<redacted>\<redacted>.ViewModel.Test\TestResults\dc51ad10-1170-46f2-8717-e0be4990e439\coverage.cobertura.xml". I did not notice the preceding spaces and this seems to have caused the weird behaviour, though I'm not sure why. Trimming the input string to remove the two leading spaces has the FullName property returning a complete path now.

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

79758967

Date: 2025-09-08 13:49:45
Score: 0.5
Natty:
Report link

If there are multiple handlers attached to the logger, following returns the file name from logger.

[os.path.basename(handler.baseFilename) for handler in logger.handlers if isinstance(handler, logging.FileHandler)]
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Abhishek Sourabh

79758958

Date: 2025-09-08 13:43:43
Score: 2
Natty:
Report link

There were some limitations with the official AWS Geo Library (one being it is now deprecated!), so I ended up going back to basics and doing this manually with geohashes. I've written up my approach with an example repo here: https://dev.to/ianbrumby/effective-handling-of-geospatial-data-in-dynamodb-1hmn

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

79758957

Date: 2025-09-08 13:42:43
Score: 3
Natty:
Report link

One of the possible reasons for PEP 517 error - library python3.x-dev not installed for the relevant python version.

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

79758924

Date: 2025-09-08 13:15:35
Score: 1.5
Natty:
Report link

According to the documentation TailwindsCss Margin, by default it has a limited values based on the most used spaces. But you can define your own theme.
And sometimes based on my experience with some PDF libs not all classes works. Try to use Style instead of class.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abdullah Almofleh

79758922

Date: 2025-09-08 13:13:34
Score: 3
Natty:
Report link

add the transform "...transform="rotate(180 1731 -1211)"" in your exsisting text dy next to font size. That should solve the issue.


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

79758916

Date: 2025-09-08 13:10:33
Score: 0.5
Natty:
Report link

Put an empty file in src folder to pydoc detecets your folders too.

main.py
src/
├── __init__.py   # Empy file
├─ cli.py
└─ ui.py

you can run this command in linux:

touch src/__init__.py

or create this file by gui.

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

79758915

Date: 2025-09-08 13:09:32
Score: 4
Natty: 5
Report link

Submitted:

# softly kill Finder

killall -SIGINT Finder

-> received error msg “No matching processes belonging to you were found,” but continued anyway with:

“sleep 0.3

# open Finder

open /Developer/Applications/Finder.app”

-> received error msg “The file /Developer/Applications/Finder.app does not exist.”

Thanks for any help you can provide to relaunch Finder.app without reboot! 🙏🏽

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): any help
  • Blacklisted phrase (0.5): 🙏
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Sleo007

79758908

Date: 2025-09-08 13:03:30
Score: 1
Natty:
Report link

The answer which i came up with for my situation in the end was way simpler than i thought it was going to be, i just needed a password text input field so:

using BasicSecureTextField instead of TextInput which as parameter has textObfuscationMode = TextObfuscationMode.RevealLastTyped, this is definitately the preferred way of making a password input field for accessibility as well as all the inert functionality you would want in a password input field

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

79758906

Date: 2025-09-08 13:03:30
Score: 0.5
Natty:
Report link

I had the same problem, setting :autodetect="false" fix it

props: {
      language: 'javascript',
      autodetect: false,
      code: codeSnippet
    }
Reasons:
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Yoav Karpeles

79758905

Date: 2025-09-08 13:03:30
Score: 1.5
Natty:
Report link

For me The issue was that I had only uploaded the production APNs Auth Key.

For development builds, you also need to upload the Development APNs Auth Key (.p8) from Apple Developer (sandbox key) into Firebase. Once I uploaded that as well, push notifications started working. That was the missing piece.

Get your keys from :
https://developer.apple.com/account/resources/authkeys/add

And upload it to Firebase:
enter image description here

Reasons:
  • Probably link only (1):
  • No code block (0.5):
Posted by: Adel Mourad

79758888

Date: 2025-09-08 12:47:26
Score: 2.5
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes.

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

79758886

Date: 2025-09-08 12:45:25
Score: 2.5
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes.

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

79758884

Date: 2025-09-08 12:44:23
Score: 7.5 🚩
Natty: 6.5
Report link

Can you pls help me to know how to pass header in EDIFACT request in Jmeter

HEADER_COOKIE...1...............EDIFACT.........................sender001recv....4382............000056449485...MDRES...........4334

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can you pls help me to
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): Can you
  • Filler text (0.5): ...............
  • Filler text (0): .........................
  • Filler text (0): ............
  • Filler text (0): ...........
  • Low reputation (1):
Posted by: anil kumar

79758879

Date: 2025-09-08 12:37:21
Score: 0.5
Natty:
Report link

Try this VideoSurface custom view:

import android.content.Context
import android.graphics.SurfaceTexture
import android.media.MediaPlayer
import android.net.Uri
import android.util.AttributeSet
import android.view.Surface
import android.view.TextureView
import android.view.TextureView.SurfaceTextureListener

/**
 * A [TextureView]-based custom video surface that wraps [MediaPlayer] for
 * lightweight video playback. This class allows playing looping videos inside
 * a Compose `AndroidView` or traditional Views without requiring ExoPlayer.
 *
 * Usage:
 * ```
 * val videoSurface = VideoSurface(context).apply {
 *     setSource(videoUri)
 *     setOnPreparedListener { mp ->
 *         // do something when ready, e.g. hide loader
 *     }
 *     setOnCompletionListener {
 *         // handle completion if looping is disabled
 *     }
 *     setOnErrorListener { mp, what, extra ->
 *         // handle error
 *         true
 *     }
 * }
 * ```
 *
 * Notes:
 * - Releases its [MediaPlayer] automatically on [onDetachedFromWindow].
 * - You must call [setSource] before the surface is available.
 * - Starts playback automatically once prepared.
 */
class VideoSurface @JvmOverloads constructor(
    context: Context,
    attrs: AttributeSet? = null,
    defStyle: Int = 0
) : TextureView(context, attrs, defStyle), SurfaceTextureListener {

    private val mediaPlayer = MediaPlayer()
    private var source: Uri? = null
    private var completionListener: MediaPlayer.OnCompletionListener? = null
    private var preparedListener: MediaPlayer.OnPreparedListener? = null
    private var errorListener: MediaPlayer.OnErrorListener? = null

    init {
        surfaceTextureListener = this
    }

    /**
     * Sets the video source [Uri].
     *
     * Must be called before the surface is available for playback to start.
     */
    fun setSource(source: Uri?) {
        this.source = source
    }

    /**
     * Registers a listener to be notified when playback completes.
     */
    fun setOnCompletionListener(listener: MediaPlayer.OnCompletionListener?) {
        completionListener = listener
    }

    /**
     * Registers a listener to be notified when the video is prepared.
     */
    fun setOnPreparedListener(listener: MediaPlayer.OnPreparedListener?) {
        preparedListener = listener
    }

    /**
     * Registers a listener to be notified when an error occurs during playback.
     */
    fun setOnErrorListener(listener: MediaPlayer.OnErrorListener?) {
        errorListener = listener
    }

    /**
     * Releases the [MediaPlayer] when the view is detached.
     */
    override fun onDetachedFromWindow() {
        mediaPlayer.reset()
        super.onDetachedFromWindow()
    }

    override fun onSurfaceTextureAvailable(
        surfaceTexture: SurfaceTexture,
        width: Int,
        height: Int
    ) {
        val surface = Surface(surfaceTexture)
        try {
            mediaPlayer.apply {
                setOnCompletionListener(completionListener)
                setOnErrorListener(errorListener)
                setSurface(surface)

                isLooping = true
                source?.let { setDataSource(context, it) }

                setOnPreparedListener { mp ->
                    start()
                    preparedListener?.onPrepared(mp)
                }

                prepareAsync()
            }
        } catch (e: Exception) {
            e.printStackTrace()
            mediaPlayer.reset()
        }
    }

    override fun onSurfaceTextureSizeChanged(surface: SurfaceTexture, width: Int, height: Int) = Unit

    override fun onSurfaceTextureDestroyed(surface: SurfaceTexture): Boolean {
        surface.release()
        return true
    }

    override fun onSurfaceTextureUpdated(surface: SurfaceTexture) = Unit
}
Reasons:
  • Blacklisted phrase (2): Try this Video
  • Blacklisted phrase (1): this Video
  • Long answer (-1):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Homayoon Ahmadi

79758877

Date: 2025-09-08 12:35:20
Score: 2
Natty:
Report link

You can solve this using the flutter_device_apps plugin. It works on Android and lets you list installed apps, get details, launch them, open App Settings, uninstall, and listen for app changes. About permissions, I don’t have information.

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

79758873

Date: 2025-09-08 12:31:19
Score: 0.5
Natty:
Report link

This will likely be possible through the clusterOptions directive. However, this depends on how the SLURM servers were set up, and if you can specify CPU types through the normal cluster submit commands.

If you can choose specific CPUs through a normal job submission, you can just add the relevant parameters to the process block. See the examples in the documentation link above.

Reasons:
  • No code block (0.5):
Posted by: dthorbur

79758864

Date: 2025-09-08 12:26:17
Score: 1
Natty:
Report link

I have found a lot of garbage in my application produced by proxy that is created around of lazy injected dependency. In my case it was a cause of 5% of total allocation rate.

I strongly do not recommend to fix cyclic dependencies via Lazy annotation in case of huge request rate on that dependency(in my case it was ~60000 per second).

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