SShortSingh.
Back to feed

19 of 39 small-business sites from one Krasnodar map query failed to open

0
·8 views

A developer pulled website links tagged on OpenStreetMap for small businesses in central Krasnodar, Russia, and took the first 40. Each link was loaded once with a plain HTTP request, with one unencodable Cyrillic domain dropped, leaving 39 sites tested. Nineteen of them failed to open at all, most often because the domain did not resolve, while 18 loaded real content and two returned empty placeholder pages. Among the sites that loaded, many lacked basic features such as a viewport tag, a usable title, or a lang attribute. The author released a short Python audit script that checks ten basic items per site, and the full run took under two minutes.

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 ·

Shipkeep backup flaw let a genuine but outdated archive pass restore checks

Shipkeep, an open-source platform for deploying apps on your own servers, backs up its PostgreSQL database and encryption key together in an age-encrypted archive. Its restore process verified archives with an HMAC tag, which confirmed that the archive was made by a server holding the installation's backup key. However, the check did not confirm that the archive was the specific one the operator requested, so anyone able to write to the storage could substitute an older valid backup. Such a rollback would restore revoked tokens, old passwords, and removed members while every check still passed. The fix adds a version 2 manifest that includes the archive's name under the HMAC, and the restore now compares that name against the one requested.

0
ProgrammingDEV Community ·

New API Flags Disposable Emails and Risky Signups in Real Time

A developer has released a lightweight API that screens email addresses during SaaS signups to curb abuse of free trials and freemium tiers. The service returns an ALLOW, REVIEW, or BLOCK decision for any given address. It checks against a daily-synced list of over 5,000 temporary email providers and uses RDAP data to flag newly registered domains and shared inboxes such as admin or support addresses. The article includes a sample JavaScript integration and a sample response showing a high-risk score for a disposable domain lacking MX records. The tool is offered through RapidAPI with a free tier, and the author invited readers to share other signals they use to stop fake signups.

0
ProgrammingDEV Community ·

A Timed-Out RPC Call Can Still Send Two OTPs, Here's Why

A single timeout during a remote login-code request can leave the caller unsure whether the operation failed, because the server may have accepted the message before the response was lost. The article follows one call from a Go authentication service to a Java notification service, illustrating how a generated client stub turns a method call into a network exchange. It explains that Protocol Buffers encode the request for a shared wire format and that gRPC transmits it over HTTP/2. Because a failed call does not always mean a failed operation, blind retries can cause users to receive duplicate codes. The piece concludes by describing how to make such retries safe.

0
ProgrammingDEV Community ·

Why Pre-Tax and Post-Tax Paycheck Deductions Are Applied in Different Order

A developer building a paycheck calculator found that the sequence of deductions affects take-home pay as much as their amounts. Pre-tax deductions such as traditional 401(k) contributions and Section 125 health premiums lower the wages used for income tax, while post-tax items like Roth 401(k) contributions are taken after taxes are calculated. A traditional 401(k) reduces federal income tax but not Social Security or Medicare, so a calculator must track income-tax wages and FICA wages separately. The article illustrates this with a $1,000 weekly paycheck, showing how each deduction changes the figures used for withholding. The author concludes that every deduction must be classified by which wage figures it reduces to produce accurate estimates.