SShortSingh.

Programming

0
ProgrammingDEV Community ·

Security Audit Flags Critical Upgrade and Access Control Risks in Binance Staked ETH

A security audit of Binance Staked ETH (BETH), a liquid staking protocol with approximately $10.17 billion in total value locked, identified significant vulnerabilities across reentrancy, access control, and upgradeability. Auditors found that critical functions such as validator set management, emergency pause, and contract upgrades are controlled by a single Binance hot-wallet address without multi-signature or timelock protections. The proxy admin being the same as the owner address means a compromised wallet could instantly replace the smart contract implementation with malicious code, earning a severity score of 9 out of 10. Narrower reentrancy risks were also identified in the claimRewards() function and the L2 bridge finalization process, where external calls occur before state updates are completed. The audit assigned an overall composite risk score of 7, noting that the protocol's large TVL significantly amplifies the potential impact of any exploit.

0
ProgrammingDEV Community ·

Power BI Project Turns Messy JCars Logistics Sales Data into Business Intelligence

A data analyst used Microsoft Power BI to build a business intelligence solution for JCars Logistics, working from a dataset of 276 vehicle sales transactions spanning 32 columns. The raw data contained numerous quality issues, including inconsistent order IDs, invalid customer ages, multiple currencies, and spelling errors in sales representative names. All monetary values recorded in USD, EUR, and ZAR were standardised to Kenya Shillings using fixed exchange rates before analysis could begin. The cleaning approach was guided by the business meaning of each field rather than applying uniform rules, with unreliable values converted to null where correction was not possible. The finalised model examines four key areas: sales performance, financial performance, operational efficiency, and customer and market behaviour.

0
ProgrammingDEV Community ·

Word Embeddings Explained: How Machines Learn Word Meaning Through Context

Word embeddings represent words as numerical vectors, capturing relationships between words rather than merely counting their occurrences in text. Introduced in 2013 by Mikolov and colleagues, Word2Vec learns these vectors by training a model to predict words from their surrounding context across millions of sentences. A key insight is that words appearing in similar contexts end up with similar vectors, enabling mathematical relationships between words to emerge — though this reflects usage patterns rather than true semantic meaning. However, Word2Vec has notable limitations: it assigns a single fixed vector per word regardless of context, meaning words like 'bank' cannot be distinguished by meaning, a problem later addressed by contextual models such as BERT. Embedding quality also depends heavily on training data, with biased or limited datasets producing vectors that can reflect and reinforce real-world biases.

0
ProgrammingDEV Community ·

VS Code Extension Renders Workday Orchestration Files as Visual Flow Diagrams

A developer has built a VS Code extension called Orchestrate Flow Viewer that renders exported Workday Orchestration Builder files as interactive visual flow diagrams. The tool addresses a common pain point where exported .orchestration files appear as a single, unreadable line of thousands of characters in standard code editors. The extension supports .orchestration and .suborchestration files and replicates the visual layout of Workday's browser-based Orchestration Builder, including triggers, branches, loops, and error handlers. Users can inspect step details, resolve CSV columns, and navigate between subflows directly within VS Code or Cursor. The extension is read-only and does not edit files, leaving Orchestration Builder as the authoritative source for validation and compilation.

0
ProgrammingDEV Community ·

Russia's Star Blizzard Targets 100+ Ukraine-Linked Orgs With Fake Event Invites

Microsoft has linked Russia's FSB-affiliated hacking group Star Blizzard to a campaign targeting over 100 organizations connected to Ukraine policy, primarily in the US and UK, beginning in January 2026. The attackers sent fake event invitations impersonating well-known think tanks such as Chatham House and the Atlantic Council to lure victims into downloading a new malware chain called RedFlick, which installs a Python backdoor named CosmicPulse. At least one confirmed infection has been identified across at least 13 large-scale campaigns, though the total number of breached organizations has not been disclosed. The group, assessed with high confidence to operate under Center 18 of Russia's FSB, marked a tactical shift by moving from its traditional credential-phishing methods to full malware delivery, using email accounts hosted on compromised WordPress and cPanel websites to evade reputation-based filters. Microsoft has published detection signatures and threat-hunting queries to help defenders identify and respond to the activity.

0
ProgrammingHacker News ·

TLA+ Formal Verification: Capabilities and Limitations Explained

A technical article published on Hillel Wayne's Buttondown newsletter examines the scope and boundaries of TLA+, a formal specification language used to verify system designs. The piece explores what kinds of correctness properties TLA+ can effectively check in distributed and concurrent systems. It also outlines scenarios and problem types where TLA+ falls short or cannot provide reliable guarantees. The article has gained attention on Hacker News, sparking discussion among engineers interested in formal methods.

0
ProgrammingHacker News ·

Comparing GPU Text Rendering Methods: SDF, MSDF, Slug, and Rive

A technical article published on AlphaPixel Dev compares several GPU-based text rendering approaches, namely SDF, MSDF, Slug, and Rive. The piece examines how each method handles the challenge of rendering crisp, scalable text on the GPU. Each technique differs in complexity, quality, and performance trade-offs relevant to game and real-time graphics developers. The article was shared on Hacker News, where it attracted a small number of points and comments from the developer community.

0
ProgrammingDEV Community ·

Anthropic Launches Claude Sonnet 5.5 on GitHub Copilot with Lower Task Costs

Anthropic released Claude Sonnet 5.5 on September 28, 2026, positioning it as a faster, more efficient complement to the higher-tier Opus 5.5 model. GitHub simultaneously made it generally available within Copilot, giving developers direct IDE access on launch day. Despite carrying the same per-token list price as its predecessor Sonnet 5, the model is claimed to complete tasks in fewer tokens and steps, reducing actual invoice costs by up to 30%. Anthropic recommends Sonnet 5.5 for well-scoped everyday work such as bug fixes, feature development, and document drafting, while reserving Opus 5.5 for complex, open-ended tasks requiring sustained judgment. The model also supports a native 1-million-token context window and introduces an adjustable effort dial that influences thinking depth, speed, and overall task cost.

0
ProgrammingDEV Community ·

Developer Builds BaZi Birth Chart Engine Using State Machines and Graph Theory

A software developer has spent the past year building a computational engine for BaZi, a traditional Chinese astrology system, by modeling it as a directed graph of five elemental nodes with defined interaction rules. The developer treats BaZi not as a mystical practice but as an ancient modeling system, mapping classical rules onto graph traversal logic and representing personality archetypes as weighted activation dimensions. Significant engineering effort went into handling edge cases such as true solar time at the birthplace, daylight saving transitions, half-hour UTC offsets, and disagreements between schools on day boundaries. Key boundary issues include the fact that the Chinese solar year begins with Lichun in early February rather than Lunar New Year, and that a 30-minute clock error near a solar term transition can shift an entire birth pillar. The developer has published a full derivation on the AcrosStar blog and notes the system is intended as a cultural and cognitive framework, not medical, legal, or financial guidance.

0
ProgrammingDEV Community ·

PDF Perfect compresses files entirely in-browser using pdf.js and Web Workers

Developer Arun built PDF Perfect, a browser-based PDF compressor that processes files entirely on the user's device without uploading them to any server. The tool uses Mozilla's pdf.js to render each PDF page onto an OffscreenCanvas, then encodes it as a JPEG using the browser's native canvas API before assembling a new PDF with pdf-lib. All processing runs inside a Web Worker to avoid blocking the main thread, with results transferred back efficiently using ArrayBuffer transfers to prevent memory duplication. Three compression presets pair JPEG quality with render scale, while a Target File Size mode automatically tries progressively smaller settings until the output meets a user-specified size limit. The approach works best on scan-heavy or image-rich PDFs but involves a trade-off for text documents, which lose sharpness due to rasterisation.

0
ProgrammingDEV Community ·

Developer Builds AI Tournament Judge for Tabletop Games to Eliminate Rules Disputes

A developer has submitted TableTop Arbiter to the Sanity Challenge, an AI-powered tournament judge designed for competitive tabletop games such as Magic: The Gathering. The tool addresses a common problem in high-stakes play where rules disputes stall matches, and standard AI models give unreliable answers by confusing outdated rulebooks with current official errata. Unlike typical large language models, TableTop Arbiter grounds its responses in a structured content database using GROQ graph queries to resolve rule contradictions deterministically. The system streams its live reasoning process directly in the user interface, allowing players and judges to verify each decision in real time. The project is live on Vercel and its source code is publicly available on GitHub.

0
ProgrammingDEV Community ·

Open-Source Tool 'Malfilter' Aims to Block Malicious npm Packages Before Install

The npm ecosystem faces growing threats from malicious packages that impersonate legitimate libraries through typo-squatting and name-squatting tactics. Once installed, such packages can steal data, exploit vulnerabilities, or hijack system resources, with automated tools making the problem worse by installing packages without human review. A GitHub project called 'malfilter' has been developed as an open-source script to screen packages before installation by analyzing metadata such as name similarity, download counts, and creation timestamps. Packages with zero downloads or those created within the past two hours are flagged as suspicious, intercepting potential malware before it reaches a developer's environment. Security experts note that while malfilter offers a useful proactive layer of defense, it works best when combined with code scanning tools and broader developer awareness.

0
ProgrammingDEV Community ·

Only 5 of 14 AI Gateways Expose Model Lists Without an Account, Audit Finds

A developer tested 14 AI gateway services on September 30, 2026, by querying their documented OpenAI-compatible endpoints without any credentials or API keys. Only five gateways — OpenRouter, Requesty, Vercel AI Gateway, LLM7.io, and FreeModel — returned publicly accessible model catalogues, while eight required authentication to view their listings. Two gateways, Mistral and Gemini's OpenAI-compatible endpoint, were entirely unreachable from the test network. Notably, every reachable gateway's chat route returned an authentication error rather than a 404, confirming that all documented base URLs were technically valid. The author argues that whether a gateway publishes a public model list has practical consequences for migration costs and vendor lock-in, particularly because model identifier formats vary significantly across providers.

0
ProgrammingDEV Community ·

How a Real-World Agent Deployment Failed Despite Strong Benchmark Scores

A developer built an AI agent for a non-profit foundation to process volunteer interview recordings of elderly residents, validating it against real-world benchmarks before deployment. The agent was designed to transcribe dialect-heavy audio, identify speakers, and surface longitudinal insights that manual questionnaires had consistently failed to capture. Despite strong evaluation results, volunteers refused to use the tool after their first attempt, exposing a critical gap between technical performance and actual usability in the field. The developer concluded that benchmarking an agent's processing capability is insufficient if the end-user workflow is never independently evaluated. The case highlights how production readiness requires testing not just what an AI can do, but whether real users can effectively work with it to complete their tasks.

0
ProgrammingDEV Community ·

12-Year-Old Rebuilds Broken AI Chatbot KODA in 72 Hours After Model Deprecation

A 12-year-old developer revived his AI mentorship chatbot, KODA, after it collapsed due to API key leaks, Markdown rendering failures, and Groq's sudden deprecation of the llama-3.3-70b-versatile model. Working on a $150 phone, he rebuilt the app within 72 hours, releasing KODA v24 with a three-model automatic failover system so future deprecations cause no visible downtime. He fixed core bugs including orphan database rows, ghost errors that vanished on re-render, and a Markdown parser that corrupted code blocks in tutorials. Live web search was added via the Tavily API to prevent the chatbot from hallucinating outdated information, such as fabricated software release dates. The project serves as a technical post-mortem, documenting how each failure was diagnosed and resolved using only Cloudflare's browser-based dashboard and free-tier developer tools.

0
ProgrammingDEV Community ·

Developer outlines plan to polish Strokeline whiteboard animation tool beyond basic functionality

A developer behind Strokeline, a text-scripted whiteboard animation tool, has shared a detailed roadmap after identifying a gap between their working product and professional-quality whiteboard videos. A full codebase review revealed several technical shortcomings, including real-time-only video export, camera-zoom conflicts with text sizing, missing multi-line text support, and an unwired ICON statement. Planned improvements focus on four areas: motion polish with eased reveals and natural ink tapering, procedurally generated board textures like chalk and grain effects, a layout engine that positions elements relationally rather than by manual coordinates, and a design linter to catch visual errors the compiler cannot. The developer emphasized that none of the fixes require a rewrite, as the existing core pipeline — which keeps rendering deterministic and React-free — provides a stable foundation. The post distinguishes between software that is functionally correct and software that feels polished, framing the upcoming work as closing that gap.

0
ProgrammingDEV Community ·

Why AI Agent 'Completed' Status Does Not Mean the Outcome Has Succeeded

When an AI coding agent marks its execution as COMPLETED, that state only describes what happened to the runtime process — not whether the intended real-world outcome was achieved. A pull request generated at 10:00, for example, may not be merged until 10:17, after tests pass and a human reviewer approves it. The core architectural problem is that execution state and outcome evidence operate on separate, independent timelines. Treating a COMPLETED status as proof of success can create misleading data models, especially when confirming evidence must arrive from an external system after the execution has already ended. A more accurate approach separates execution state from outcome state, explicitly allowing for an UNKNOWN outcome until sufficient evidence is received.

0
ProgrammingDEV Community ·

GitHub Is More Than Code Storage: A Practical Guide to Actions and Automation

A developer reflection piece highlights how GitHub functions far beyond a code repository, serving as a build server, deployment platform, and automation engine through built-in tools. The guide covers essential Git commands for branching, stashing, bisecting bugs, and tagging releases that many beginners overlook. GitHub Actions, the platform's native automation system, allows developers to define workflows in YAML files that trigger on events such as pushes, pull requests, schedules, or manual commands. Key features like branch protection rules, Dependabot, CODEOWNERS, and secret scanning further extend GitHub's capabilities for team collaboration and security. The article aims to serve as a foundational reference for developers who want to use GitHub's full feature set from the start.

0
ProgrammingDEV Community ·

Developer Builds Typed MCP Server to Query Basketball Player Stats via Sportmicro

A developer has built a lightweight MCP (Model Context Protocol) server that allows AI clients to query basketball player data sourced from the Sportmicro API. The project, written in TypeScript, uses the MCP SDK and Zod schema validation to ensure that only documented, verified player statistics are returned to clients. A core design principle is the explicit separation of available facts from missing or undocumented statistics, preventing AI agents from fabricating data. The server is intentionally narrow in scope, functioning as a typed bridge between MCP clients and the Sportmicro data source rather than a full-featured basketball analytics platform. The repository has been made public and is described as a practical research tool for AI agents working with sports data.

← NewerPage 780 of 3167Older →