SShortSingh.
Back to feed

Deterministic 7-Axis Personality Scoring and Lightweight SVG Radar Charts in TypeScript

0
·1 views

The article describes building a browser-based multi-dimensional assessment that scores answers deterministically instead of relying on server-side or LLM-driven logic. Each scenario maps to a fixed weight vector across seven axes, and totals are summed and normalized against the respondent's highest axis so the profile shows relative dominance. The author argues this approach is transparent and zero-latency. Instead of pulling in a heavy charting library, the results are drawn as a radar chart using roughly fifteen lines of polar trigonometry, which keeps mobile load times low. The piece points to a live implementation of this pattern as a reference.

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 ·

SMS OTP Alone Falls Short of GDPR, PSD2 and NIST Login Requirements

A text message confirming delivery does not show that the intended person received or read it, or that the number still belongs to them. Under GDPR, PSD2 and NIST, SMS one-time passwords are not sufficient on their own to establish login compliance. NIST treats authentication over the public telephone network as restricted and does not count manually entered OTPs as phishing resistant. SIM swapping and phishing can undermine SMS codes even when they expire quickly. The article suggests separating notification decisions from account access decisions, with each recorded as its own evidence trail, and using deterministic policy checks to govern any automated messages.

0
ProgrammingDEV Community ·

Freelancer's substring-based scope-creep detector flags a blog request but misses a disguised one

A freelance developer built a small Python tool to split client work requests into in-scope and out-of-scope lists based on contract deliverables. It correctly flagged a blog section request halfway through a three-deliverable build. However, when the same feature was rephrased to begin with an exact contract deliverable, the case-insensitive substring match classified it as in scope. The author concluded the rule was working as specified but that a matching prefix should trigger a review rather than an automatic decision. The author also argued that deliverables must be short and concrete, since vague contracts make nearly every later request appear in scope.

0
ProgrammingDEV Community ·

Marketplace DNS Design: Guarding Zone Deletion Against Tenant Offboarding Errors

A marketplace that assigns every tenant a subdomain must decide who controls the parent DNS zone, platform or customer. The article suggests platform-owned zones when the platform owns the parent domain and can keep zone deletion away from tenant automation. Tenant offboarding should be a narrowly scoped record change, with zone deletion requiring a separate, guarded destructive operation. Customer-owned zones fit cases where customers must keep authority over their domains, with that boundary made explicit in the pipeline. The core requirement is that one tenant's departure must never authorize removing the DNS container shared by the others.

0
ProgrammingDEV Community ·

Lastbook 1.1.17 Offers Offline Library, Maps and Optional Local AI

Lastbook version 1.1.17 is now available for supported macOS and Windows systems, with x86_64 Ubuntu 24.04 and 26.04 LTS packages. During setup, users pick a Small, Medium or All library, a detailed state map, and optionally a local AI model, or can reuse library files already on their computer. The resulting offline library holds manuals, PDFs, videos and encyclopedias, and the optional AI answers questions with citations to source pages. The map and address search work offline for the chosen state, and the project says it does not detect user location. The developers state the desktop app opens no listening port, uses HTTPS-only downloads with SHA-256 verification, and has no telemetry, though these claims are project assertions rather than independent audits.