SShortSingh.
Back to feed

Sellers can cross US sales-tax nexus thresholds unnoticed, and a script can flag it

0
·3 views

Most US states set economic nexus at $100,000 in sales or 200 transactions, yet no alert warns sellers when they cross these limits. The author describes a stdlib-only Python script that reads a CSV of sales by state and classifies each state as OVER, NEAR, or UNDER its threshold. Thresholds vary by state and the test type matters: New York requires both sales and transaction legs, while Florida can be triggered by transaction count alone. The tool is a screening aid rather than tax advice, and its output should be verified with each state's Department of Revenue and a CPA. The author sells the tool for $12, and it excludes marketplace-facilitator sales and covers only eight bundled states.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

Why a join silently double-counts revenue, and three ways to fix it

A common reporting error shows revenue totals roughly twice the real figure, even though every individual row looks correct. The cause is a join between order items and product categories, since products belonging to several categories get duplicated. Using a PostgreSQL 16 example with four products, the join turns seven order items into sixteen rows, inflating the total to 1055.00 instead of the actual 525.00. The article recommends counting rows before and after each join to catch such duplication early. It then describes three possible fixes, the first being to assign a single primary category per product so each sale is counted once.

0
ProgrammingDEV Community ·

Common Image Augmentations Can Help Some Object Classes While Hurting Others

Researchers found that a standard augmentation like raising image contrast can improve detection for some damage classes in a bridge photo while degrading others. The effect stems from classes relying on different visual cues, such as shape for hairline cracks and colour for rust, while augmentations are usually judged by a class-averaged score that hides these losses. To measure this, the team trained 258 models across three datasets, RDD2022, dacl10k and PASCAL VOC, using two detector families and applying one edit at a time. On dacl10k with Faster R-CNN, contrast boosted cracks and hollow areas but consistently hurt rust and efflorescence across seeds. The authors report that contrast and mosaic remained statistically significant after correcting for multiple comparisons, and that mosaic's benefit varied across classes.

0
ProgrammingDEV Community ·

Learning Linux, Docker and CI/CD Through Real Troubleshooting in a Personal SRE Repo

A developer shares a practical learning log from building a personal SRE repository, covering the failures encountered and how each was debugged. The work spans Linux fundamentals, shell and file handling, systemd, Nginx and HTTPS debugging, Docker images and Compose, and GitHub Actions CI. A central theme is the shift from getting software running locally to making builds repeatable and repository changes safer. The author highlights practical lessons such as how relative paths resolve from the current working directory and how Docker WORKDIR affects COPY destinations. The post is organized by daily milestones, with the Day 05 Docker and CI incidents documented in most detail.

0
ProgrammingDEV Community ·

Dictation Apps for Windows and Mac in 2026: Where Your Voice Is Processed and What It Costs

A comparison of dictation software for Windows and Mac examines first whether speech is converted to text on the user's own computer or on remote servers. That distinction determines offline capability, how voice recordings are handled, and much of the cost. Windows Voice Typing and Dragon-era tools are compared against built-in options like Apple Dictation and Windows Voice Access, which are free but differ in accuracy and setup. Third-party apps such as Superwhisper, MacWhisper, Spokenly and Wispr Flow are listed with their pricing models, from one-time purchases to monthly subscriptions. The author discloses that one of the reviewed apps, Yap, is their own product, and notes that other apps may suit some users better.