SShortSingh.
Back to feed

STAY: Interactive Web App Lets Users Memorialize Real Dog Moments on Blockchain

0
·1 views

STAY is an interactive web experience created for a weekend development challenge that simulates the life of a dog named Milo from puppyhood to old age through a series of small, everyday choices. The project compresses a dog's entire lifespan into a few minutes, with Milo's behavior and movements evolving across multiple life stages as a counter tracks his remaining days. Once the simulation ends, users can preserve chosen in-game moments as cryptographic proofs on the Solana devnet blockchain. The experience then extends to real life, allowing users to upload a photo of their own dog, add a name, date, and note, and generate a verifiable blockchain attestation of that memory using local SHA-256 hashing. The developer intentionally made Solana central to the concept of permanence rather than treating it as an add-on, with the goal of ensuring a fleeting moment can leave a lasting, verifiable record.

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 ·

Kubernetes Basics: How to Deploy a Local App to Production Using K8s

Kubernetes is an open-source container orchestration platform that automatically manages application availability by maintaining a user-defined desired state. Developers describe their system configuration in YAML files, specifying details such as replica count, container images, and network ports, and Kubernetes continuously works to match the actual cluster state to those specifications. Core building blocks include Pods, Deployments, Services, and Ingress, which together handle container lifecycle, load balancing, and external traffic routing. A simple Node.js API can be containerized with Docker, pushed to a registry, and deployed on a local Kind cluster using a Deployment manifest that enforces resource limits and prevents unintended image pulls. This approach allows developers to move beyond manual container management and achieve basic high-availability setups with version-controlled infrastructure.

0
ProgrammingDEV Community ·

Developer's harassment evidence tool was silently saving Cloudflare error pages as proof

A developer building a web service to preserve evidence of online harassment discovered that screenshots meant to capture offending posts were instead saving Cloudflare block pages, due to a retired third-party embed wrapper and a misconfigured setting that treated errors as successful captures. The tool used automated browser screenshots as its core evidence feature, but platform-level restrictions from X and YouTube forced multiple infrastructure changes along the way. A setting called ignore_host_errors allowed the pipeline to store plausible-looking error screens without raising any alerts, meaning the flaw only surfaced when someone tried to actually use the evidence. Additional issues included a timezone parameter silently breaking all captures after a provider update, and a switch to asynchronous processing that inadvertently decoupled screenshot storage from saved records. The developer resolved these problems by switching to official platform embeds, logging raw API error responses to the database, and managing timestamps independently rather than relying on third-party rendering.

0
ProgrammingDEV Community ·

Hardcoded Business Logic in Code Is an Unqueryable, Ungovernable Database

Software engineers routinely embed business rules—such as pricing tiers, customer exceptions, and rate limits—directly into application code as conditional statements. Over time, these scattered conditionals become impossible to audit, since there is no central way to list which rules are active in production or trace why each one exists. Inconsistencies emerge when different services implement the same rule in different ways, with no mechanism to detect the drift. Changing even a simple numeric threshold requires a full code review and deployment cycle, and non-engineers accountable for business policy cannot read or modify the rules without developer help. While external rule or feature-flag services solve visibility, they introduce network dependencies that can fail during the high-stakes incidents when reliable kill-switch controls matter most.

0
ProgrammingDEV Community ·

Developer Builds Minimal RAG Pipeline in TypeScript Without LangChain in 200 Lines

A developer built a fully functional Retrieval-Augmented Generation (RAG) pipeline from scratch using TypeScript, deliberately avoiding popular frameworks like LangChain and LlamaIndex. The project spans six files and just over 200 lines of code, covering five core stages: text extraction, chunking, embedding, retrieval, and generation. Voyage AI handles embeddings via a free-tier API, while a locally run model through LM Studio replaces cloud-based LLMs, eliminating per-token costs. The author wrote the pipeline after finding existing RAG tutorials too abstracted to explain underlying concepts like embeddings and cosine similarity. The post documents the full pipeline, key data structure decisions, and four notable bugs encountered during development.