StackOverflow.com

VN:F [1.9.22_1171]
Rating: 8.5/10 (13 votes cast)

Random snippets of all sorts of code, mixed with a selection of help and advice.

Why am I receiving emails with a specific List-Unsubscribe header even though I never subscribed?

3 March 2026 @ 9:24 am

I'm receiving some marketing emails that contain a specific List-Unsubscribe header like this: I never subscribed to these emails. I'm trying to understand technically: How is my email address being associated with these unsubscribe links? Does the presence of List-Unsubscribe-Post: List-Unsubscribe=One-Click mean my address was programmatically added to a mailing system? Is this header automatically generated by common email platforms (e.g., SES, SendGrid, Mailchimp)? Could this be caused by list scraping or random address injection? Additional info: The emails pass SPF but fail DMARC alignment. The sending domain changes but the unsubscribe format looks similar. My address is not publicly listed anywhere. What is the technical mechanism behind this behavior?

How can i choose a sort for my real time object tracking project

3 March 2026 @ 9:17 am

im developing a realtime object tracking with my custom trained yolo26x model. My camera is static and my objects move slowly. Sometimes they dont move at all. The objects dont quit the area and there is no new object. My yolo model is segmentation and it has high mAP score. i was using botsort for tracking but it gave me some issues. for instance, the same object has a id but when it move arround a little bit then the id changes. i need the id wont change at all.

Setting up a custom Wordpress Theme inside a docker compose, gets deleted when WP is updated

3 March 2026 @ 9:06 am

I have a Wordpress install running on a docker container. My issue comes from my custom theme folder which get emptied whenever WP updates itself. My docker-compose.yml is configured as followed version: '3.8' services: db: image: mariadb:latest container_name: seaf_db restart: unless-stopped environment: MYSQL_ROOT_PASSWORD: ${DB_ROOT_PASSWORD} MYSQL_DATABASE: ${DB_NAME} MYSQL_USER: ${DB_USER} MYSQL_PASSWORD: ${DB_PASSWORD} volumes: - db_seaf_data:/var/lib/mysql networks: - seaf-backend-wrwmqu wordpress: depends_on: - db build: context: . dockerfile: Dockerfile container_name: seaf_wp restart: unless-stopped environment: WORDPRESS_DB_HOST: db:3306 WORDPRESS_DB_NAME: ${DB_NAME} WORDPRESS_DB_USER: ${DB_USER} WORDPRESS_DB_PASSWORD: ${DB_PASSWORD} CACHE_API_URL: ${CACHE_API_URL} CACHE_API_URL_GLOBAL: ${CACHE_API_URL_GLOBAL}

ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "semantic-release" not found

3 March 2026 @ 8:57 am

I've changed from using npm to pnpm, but I'm now getting the following error on my CI. Run cd dist/my-library && pnpm exec semantic-release --branches main cd dist/my-library && pnpm exec semantic-release --branches main shell: /usr/bin/bash -e {0} env: PNPM_HOME: /home/runner/setup-pnpm/node_modules/.bin GITHUB_TOKEN: *** NPM_TOKEN: *** NPM_CONFIG_PROVENANCE: true undefined  ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL  Command "semantic-release" not found Error: Process completed with exit code 254. These are the steps I'm running inside my CI: jobs: publish: runs-on: ubuntu-latest if: github.ref_name == 'main' permissions: contents: write # to be able to publish a GitHub release issues: write # to be able to comment on released issues pull-requests: write # to be able to comment on re

NFC Reading fails when running android app via schema from another app on Android 15/16

3 March 2026 @ 8:54 am

NFC reading times out when running the NFC Reader app from another android app via schema on Android 15 and 16. NFC reading is successful when running NFC reader app manually on the same Android OS. What can be the reason of NFC reading failure? Thanks in advance.

Post-upgrade row count discrepancies in Vertica projections

3 March 2026 @ 8:41 am

I ran a VSQL query to capture the total row counts for each projection in a Vertica database before a version upgrade. After the upgrade, a few projections have different row counts than expected — some higher, some lower. The query I ran before and after the upgrade is as follows: SELECT schema_name, projection_name, SUM(total_row_count) total_rows FROM v_monitor.storage_containers WHERE projection_name <> 'c_license_metrics_super' GROUP BY schema_name, projection_name ORDER BY schema_name, projection_name

How to set a custom color for Nuxt UI UChip?

3 March 2026 @ 8:29 am

Given the Nuxt UI Chip component having a color property accepting fixed colors. I'm calculating a heatmap color ranging from the Tailwind colors "bg-transparent" to "bg-emerald-900" but how can I apply them? The color prop does not accept them and class="bg-emerald-900" sets the content background color. Is there a way to set the ui prop with that custom color? Given this sandbox This is not possible <UChip color="bg-emerald-900"> <UButton label="btn" /> </UChip> neither this <UChip c

Is putting tag hierarchally under a branch a bad idea?

3 March 2026 @ 8:24 am

I've seen that creating a branch hierarchical under another branch is not allowed, that is: > git branch foo > git branch foo/bar fatal: cannot lock ref 'refs/heads/foo/bar': 'refs/heads/foo' exists; cannot create 'refs/heads/foo/bar' But for tags it seem to be accepted at first glance: > git branch foo > git tag -m foo/bar foo/bar Is there any reason on shouldn't do that? I guess the question could be asked the other way around (ie put the branch under the tag), but to me it seems more logical to consider the tag under the branch (they're part of the branch IMHO).

Avoid initial request on rxResource creation?

3 March 2026 @ 7:44 am

When creating an angular rxjs interop using rxResource, an initial call to my http resource is made on creation. Is there a way to prevent this?

Is this a reliable way to prevent bots from scraping emails?

2 March 2026 @ 6:10 pm

Is this a reliable way to prevent bots from scraping emails and sending spam, without having to resort to janky methods like images/actual text splitting? <p id="at" data-domain="email.com" data-user="test"/> <script> var element = document.getElementById('at'); element.innerHTML = '<a href="mailto:' + element.dataset.user + '@' + element.dataset.domain + '">' + element.dataset.user + '@' + element.dataset.domain + '</a>'; </script> Combining the elements together after the fact.