SShortSingh.

Programming

0
ProgrammingDEV Community ·

Attic: Open-Source Tool Lets AI Coding Assistants Retain Knowledge Across Sessions

A developer has released Attic, an open-source knowledge persistence tool designed for AI coding assistants like Claude Code and Codex CLI. The tool addresses a recurring inefficiency where AI agents repeat the same investigative steps across separate sessions because prior discoveries are lost when a session ends. Attic works by writing findings to a file and maintaining a small index, allowing assistants to retrieve relevant knowledge without reloading entire histories into context. The project, available on GitHub, has also added browser-based saving so users can capture insights outside their coding environment. The goal is to preserve not just bug fixes but the reasoning behind them, including architectural decisions, failed approaches, and undocumented code behaviour.

0
ProgrammingHacker News ·

Insufficient content to generate a reliable headline

The source material provided does not contain enough factual information to produce an accurate and neutral summary. Only a GitHub repository URL and Hacker News metadata were supplied, with no descriptive text about the project. Fabricating details about 'hister' would violate editorial accuracy standards. Please provide the full article text or repository description for proper coverage.

0
ProgrammingHacker News ·

Developer Builds AIM-Style Buddy List to Track Claude and Codex API Rate Limits

A developer has created a nostalgic project called 'Die With Me' that displays AI API usage limits as AIM-style away messages. The tool visualizes rate limit and token usage data for Claude and OpenAI's Codex in the format of the classic AOL Instant Messenger buddy list. The creator was motivated by a desire to bring back the casual, social feel of early internet culture. The project was shared on Hacker News, where it received early feedback from the community.

0
ProgrammingDEV Community ·

AODM: Open Vocabulary Standard Released for AI-Readable Web Knowledge

AODM (AI Optimized Data Markup) is a newly released open vocabulary designed to represent knowledge on the web, including entities, relationships, facts, and rules. It is built to be readable and usable by both humans and AI systems for validation and data exchange. The project, licensed under Apache 2.0, includes XML and JSON schemas, an HTML embedding profile, reference parsers in Python, JavaScript, Java, and C#, a graph compiler, inference engine, and an XBRL converter. A conformance suite ensures consistency by requiring all four parsers to produce identical results. The repository is publicly available on GitHub, and a browser-based validator requires no installation.

0
ProgrammingHacker News ·

Skillsync Lets Developers Move AI Coding Sessions Across Agents Without Starting Over

Y Combinator W26 startup Skillsync, founded by Nars and Nishant, has launched a tool that lets developers transfer AI chat sessions between coding agents such as Claude Code, Codex, and Cursor. The platform addresses a growing pain point where conversation history, reasoning traces, and tool calls get locked into a single agent's proprietary on-disk format. At its core is an open-source Rust engine called txcript that translates sessions between agent formats, functioning similarly to how ffmpeg converts media files. A local-first desktop app surfaces all sessions in one searchable interface, while skills and memory are stored as portable markdown files exposed to any agent via MCP. Everything runs locally by default, with data leaving the machine only when a user explicitly shares a session to a team workspace.

0
ProgrammingDEV Community ·

DEV Community Delays Summer Bug Smash Winners Announcement to September 24

DEV Community has announced a short delay in revealing the winners of its Big Summer Bug Smash event, which was powered by Sentry. Organizers cited the need for more thorough review of all submitted fixes and optimizations as the reason for the postponement. The competition drew entries across five categories, with a total of 23 winners to be recognized. The official winner announcement has been rescheduled for September 24. Participants were thanked for their patience and the effort put into their submissions.

0
ProgrammingDEV Community ·

DNS and Mail Setup: One Credential Works Only When Platform Owns the Zone

A technical analysis outlines when to combine DNS and mail verification under a single credential versus keeping them as separate systems with explicit reconciliation. The core principle is that a successful DNS record write does not confirm that a mail provider has verified the domain. For platform-managed domains, a single credential allows DNS publication and mail verification to run as one retryable workflow, reducing missed-verification incidents. When a customer owns the DNS zone due to registrar contracts or compliance requirements, DNS and mail must remain separate systems linked by a durable reconciliation job with a clear owner and deadline. The choice ultimately depends on who has authority to modify the authoritative DNS zone, not on vendor preference.

0
ProgrammingDEV Community ·

Microsoft and GitHub add free AI and data science courses to GitHub Skills

Microsoft and GitHub have expanded the GitHub Skills platform to include free courses on artificial intelligence, data science, and machine learning, areas previously absent from its catalogue. The platform, which replaced GitHub Learning Lab, teaches through real repositories where students complete guided exercises triggered by GitHub Actions workflows. Access requires only a free GitHub account, with no credit card or trial period needed, and courses can be completed in the browser via GitHub Codespaces or locally. The new AI-focused content covers practical topics such as prompt writing, using GitHub Copilot, and basic Python data workflows, though it does not constitute a formal professional certification. The expansion aligns with Microsoft's broader push for free AI education through Microsoft Learn, bringing similar training directly into the GitHub environment where developers already work.

0
ProgrammingDEV Community ·

How the Log4Shell Flaw Works: Inside CVE-2021-44228's Devastating Impact

Log4Shell (CVE-2021-44228) is a critical remote code execution vulnerability discovered in November 2021 by Chen Zhaojun of Alibaba Cloud Security Team within Apache Log4j 2, a widely used Java logging library. The flaw was publicly disclosed on Twitter on December 9, 2021, and is widely regarded as one of the most severe cybersecurity vulnerabilities of the past decade. It affected Log4j versions 2.14.1 and below, putting major organizations including Apple, Cloudflare, Twitter, and Minecraft at risk. The vulnerability stemmed from Log4j's JNDI Lookup feature, which allowed attackers to inject malicious payloads into logged request fields — such as the User-Agent header — to trigger remote code execution on vulnerable servers. Evidence suggests the flaw was being actively exploited by malicious actors even before its public disclosure, classifying it as a zero-day vulnerability.

0
ProgrammingDEV Community ·

How to Build Automated Integration Tests for a Serverless AWS API

A developer tutorial published on DEV Community outlines a two-part workflow for building and testing a serverless Hello World API using AWS SAM, Python 3.11, and API Gateway. The guide distinguishes between unit tests, which validate code logic in isolation, and integration tests, which verify how components such as API Gateway and Lambda function together end-to-end. The tutorial walks through three testing stages: local integration testing against a SAM-simulated environment, manual verification of the live AWS deployment via browser and curl, and automated integration tests against the real deployed stack. The author also shares challenges encountered during the process and explains why passing unit tests alone does not confirm that a deployed API works correctly. A hands-on challenge is included, asking readers to add a new endpoint and push it through all three test layers independently.

0
ProgrammingHacker News ·

Stolen Phone Leaves User Locked Out of Google, Banking, and Email Accounts

A user on Hacker News has been locked out of multiple critical accounts after their phone was stolen, losing access to Google, banking, email, and cloud storage. The situation arose because all recovery options — including backup phone, current phone, and an old email address — are either unavailable or inaccessible. Google's automated account recovery system requires verification through one of these pre-registered methods, leaving the user with no viable path forward. The post highlights a broader concern about society's growing dependence on phone-based two-factor authentication for essential services. The user is seeking advice from others who may have navigated similar situations or have knowledge of alternative recovery options.

0
ProgrammingDEV Community ·

Forgotten PoC Cloud Environments Are Silently Draining Company Budgets

Proof-of-concept cloud environments are routinely left running long after their purpose is served, because no one is formally assigned to shut them down once the real build begins. Industry data shows non-production environments account for roughly 27% of total cloud infrastructure spend, with PoC and staging systems sitting idle about 88% of the billed week. In some audited cases, idle non-production environments wasted up to 99.7% of their runtime, and switching to scale-to-zero reduced that waste by nearly 95%. The problem is compounded by the fact that 48% of developers do not track or shut down idle resources, and a continuously running development instance costs around 3.4 times more than one limited to working hours. Over time, these forgotten environments also accumulate informal dependencies — demo requests, cron jobs, or ad hoc API connections — making teams reluctant to decommission infrastructure that may have become quietly load-bearing.

0
ProgrammingDEV Community ·

Open-Source Scanner Exposes Unauthenticated MCP Servers Hidden Inside Corporate Networks

A developer has released an open-source tool called shadow-mcp-scanner that detects Model Context Protocol (MCP) servers running inside internal networks, including those unknown to platform or security teams. MCP servers are lightweight HTTP services that teams often spin up informally to connect AI agents to internal systems like databases, CRMs, and build pipelines, rarely appearing in official service catalogs. The scanner identifies MCP servers by sending a JSON-RPC handshake request and checking for a protocol-specific response, requiring no credentials and completing a scan in roughly 15 seconds using only Docker. A 2025 Trend Micro report found 492 internet-exposed MCP servers running without authentication or encryption, collectively exposing over 1,400 tools — a figure the author notes has never been updated despite rapid ecosystem growth. The tool highlights that internal, VPN-accessible MCP servers pose an equal or greater risk than public-facing ones, as they are reachable by every workload and device on a corporate network.

0
ProgrammingDEV Community ·

How to Secure and Deduplicate Telegram Webhooks in Laravel Using Redis

A Laravel tutorial outlines how to build a production-ready Telegram webhook ingestion pipeline that handles duplicate updates and slow processing. The approach uses a custom middleware to validate Telegram's secret token header, ensuring only legitimate requests reach the application. Incoming payloads are immediately dispatched to a queued job and a 200 OK response is returned, preventing Telegram from timing out and resending updates. Redis is used to enforce idempotency by storing processed update IDs with a 24-hour expiry, using atomic SET NX operations to block duplicate processing. The guide focuses strictly on the webhook ingestion layer and does not cover full bot framework setup or worker daemon management.

0
ProgrammingDEV Community ·

Study finds Japanese typography broken on 5 major global brand websites due to font errors

A developer scanned the Japanese-language pages of 146 websites — including 109 global brands — using a custom tool and found widespread typography rendering issues. The core problem stems from a Unicode design decision that assigns identical code points to characters used differently in Japanese and Chinese, leaving visual rendering dependent on whichever font loads first. Five global brands were found to be displaying Japanese text using Chinese glyph shapes for every visitor, due to Chinese fonts like Microsoft YaHei or PingFang SC being declared ahead of any Japanese font in their CSS. Notably, in three of those five cases, the problematic font stack was not in the companies' own stylesheets but embedded inside third-party tools such as cookie-consent banners and live-chat widgets. The audit, conducted on 18 August 2026, highlights how outsourced front-end components can silently undermine localisation efforts without site owners being aware.

0
ProgrammingDEV Community ·

Python Pattern Uses Anchor Tags to Fix JSON Parsing Errors in Local LLMs

Developers using local large language models via Ollama frequently encounter a parsing problem where models like Llama3 and Mistral return JSON wrapped in markdown code fences instead of plain JSON. This causes json.loads() to raise a JSONDecodeError, and common workarounds like regex replacements are considered unreliable for complex outputs. A proposed solution called Anchor Tag Framing instructs the model through a system prompt to place its JSON output strictly between custom XML-style boundary tags. A lightweight Python parser then extracts content between those tags, with a fallback regex search for raw JSON objects if the tags are absent. The technique leverages how smaller LLMs assign higher attention to distinct token delimiters, making structured output extraction more deterministic and robust.

0
ProgrammingDEV Community ·

Five viral 'AI bot made me rich' posts fact-checked — not one held up to scrutiny

A developer running a logged trading system spent a week investigating five viral social media posts claiming AI agents turned small sums into thousands of dollars. Each claim was tested against primary sources including on-chain pool data, official fee schedules, project websites, and the authors' own public demos. None of the five posts survived scrutiny: problems included unverifiable wallets, mathematical contradictions in the posts' own rules, referral-fee incentives that benefited authors regardless of reader outcomes, and platforms that did not support the trades being described. Where real mechanisms existed — such as stablecoin arbitrage on Uniswap — profits were shown to be structurally capped, time-limited, and captured almost entirely by bots. The investigation concludes that while isolated small gains are possible, the gap between claimed returns and verifiable reality was consistent across all five cases.

0
ProgrammingDEV Community ·

Blockchain vs. Databases in Gaming: It's About Trust, Not Just Functionality

A developer analysis argues that while blockchain is not technically required to build games like Axie Infinity or The Sandbox, replacing it with a centralized database fundamentally changes the trust model. In a traditional setup, the game operator holds sole authority over player data, asset ownership, and historical records. Blockchain shifts that authority by allowing independent verification of ownership and transaction history by anyone, including third-party developers. However, the analysis cautions that on-chain NFTs do not guarantee a game's survival if servers, assets, or game logic remain under the original operator's control. The key question, the author concludes, is not whether blockchain is strictly necessary, but which parts of a game are genuinely independent from its operator.

0
ProgrammingHacker News ·

Vinix: A Modern Operating System Built with the V Programming Language

Vinix is a newly showcased operating system developed using the V programming language, a statically typed compiled language known for its simplicity. The project aims to demonstrate that V can be used for low-level systems programming beyond typical application development. Vinix was shared on Hacker News, where it garnered community attention and discussion. The operating system is presented as a modern, experimental platform, with its official site hosted at vinix-os.org.

← NewerPage 1171 of 3223Older →