SShortSingh.

Programming

0
ProgrammingHacker News ·

Two High School Students Solve Problem That Stumped a Fields Medalist

Two high school students have reportedly solved a long-standing mathematical problem that had been posed by a Fields Medal-winning mathematician. The problem had remained unsolved for years despite attention from leading figures in the field. The achievement has drawn significant surprise and admiration from the academic and online communities. While details of the specific problem and the students involved have circulated online, the solution is being recognized as a remarkable feat for researchers of any age.

0
ProgrammingHacker News ·

XCancel service suspended amid ongoing legal proceedings

XCancel, a privacy-focused Twitter/X frontend proxy, has been suspended following a new development in active legal proceedings against it. The service posted a notice on its website citing the legal situation as the direct reason for the shutdown. XCancel allowed users to browse Twitter content without being tracked or requiring an account. No further details were disclosed about the nature of the legal proceedings or the parties involved. The suspension has drawn attention from the tech community, with the story gaining traction on Hacker News.

0
ProgrammingHacker News ·

Apple Siri Code Reveals Option to Replace AI with Claude or ChatGPT

Code discovered within Apple's Siri suggests the assistant can be swapped out for third-party AI models, including Anthropic's Claude and OpenAI's ChatGPT. The finding, reported by MacRumors in September 2026, indicates Apple may be building flexibility into Siri to support alternative large language models. This would allow users or developers to choose a preferred AI backend rather than relying solely on Apple's own system. The discovery points to a broader trend of AI interoperability as tech companies compete in the rapidly evolving assistant market.

0
ProgrammingHacker News ·

Developer builds Mac gesture control app using Meta Neural Band's sEMG sensor

A developer has created Kinesis, a macOS application that uses the Meta Neural Band wristband independently from its intended smart glasses to control a Mac via hand gestures. The project builds on a 10-month-old proof-of-concept repository that explored reading surface electromyography (sEMG) data from the band without the glasses. Kinesis currently supports gestures for switching desktops, opening Mission Control, and adjusting system volume through a virtual knob. The developer used an AI tool called Astra to accelerate work on the original codebase before extending it into the full application. The project has been shared on Hacker News in hopes of inspiring other Neural Band owners to explore creative uses for the device.

0
ProgrammingDEV Community ·

Key Gas Optimization Techniques That Can Cut Ethereum Smart Contract Costs by 70%

Gas fees on Ethereum represent the computational cost of executing smart contract operations, and poorly optimized contracts force users to pay unnecessarily higher transaction costs. Developers can significantly reduce gas consumption by packing storage variables into fewer 32-byte slots, minimizing expensive storage writes, and caching values in memory during loops. Choosing mappings over arrays for data lookups and placing input validation before computationally heavy operations also yields measurable savings. Additional gains come from using events instead of on-chain storage for historical data and setting correct function visibility. Together, these techniques can reduce a contract's execution costs by as much as 70%, improving user experience and making decentralized applications more competitive.

0
ProgrammingDEV Community ·

Why a desktop app developer chose transparency over DRM for license checks

A developer behind a paid Electron desktop app has explained why they deliberately avoided encryption or obfuscation for local license enforcement, acknowledging that any user can inspect or modify files on their own machine. Instead, the team stores the license status as a plain JSON cache and treats it as exactly that — a cache of a server-side answer, not an authoritative source. All sensitive actions, such as sending emails via the app's infrastructure or validating purchases, are verified server-side against a database on every request. The one-time purchase model simplifies the offline experience further, since a cached 'yes' never expires and a failed network call does not revoke access, meaning the system fails open in favor of the paying customer. The developer argues this approach is both more honest and more practical, as determined non-payers are unlikely to convert regardless, while wrongly locking out legitimate users creates real support and refund costs.

0
ProgrammingDEV Community ·

Developer open-sources lightweight React 19 Tailwind dashboard to replace bloated UI kits

A developer has released Exo-Dash, a free open-source dashboard boilerplate on GitHub, built as an alternative to heavyweight UI libraries like MUI and Ant Design. The project uses React 19 and Tailwind CSS v4, adopting a shadcn-style primitive architecture that gives developers full design control without CSS override conflicts. Performance is prioritized through Vite-powered builds, React Router v7, and lazy loading of resource-heavy routes such as Kanban boards and analytics views. Form handling relies on react-hook-form and Zod to minimize re-renders, while a global theming context supports light/dark modes and dynamic color schemes persisted via localStorage. A free Community Edition is available on GitHub, with a paid Pro version offering advanced layouts and commercial licensing.

0
ProgrammingDEV Community ·

How to ship Playwright's Chromium inside a packaged Electron app

Electron apps that use Playwright for scraping require a second, separate Chromium instance because Electron's built-in Chromium is tied to the UI renderer and incompatible with Playwright's automation expectations. In packaged builds, Playwright cannot find its browser cache, so developers must manually resolve the executable path per platform and pass it explicitly at launch. The Chromium build number is hardcoded in the directory path, meaning an unpinned Playwright version upgrade silently breaks packaged apps while development environments continue working from a refreshed cache. On macOS, the correct executable sits deep inside an app bundle rather than at the bundle root, and both arm64 and x64 variants must be present for universal builds with runtime architecture detection. Because Electron's asar packaging prevents the OS from executing binaries stored inside the archive, the browser binaries must be explicitly unpacked to an app.asar.unpacked directory via a dedicated prebuild copy script.

0
ProgrammingDEV Community ·

LiteLLM PyPI Hack Exposed 153GB of Data from 2,488 Organizations in 40 Minutes

A March 2025 supply chain attack on the LiteLLM PyPI package lasted roughly 40 minutes but resulted in the theft of a 153GB archive containing 433,909 files, according to analyses published by Hudson Rock and CloudSEK in August 2026. The malicious payload gained root access on compromised CI runners and harvested SSH keys, AWS, GCP, and Azure credentials, Kubernetes tokens, .env files, and LLM API keys across 2,488 corporate domains. Researchers identified 118,829 individual CI runner dumps tied to those organizations, with one unnamed company alone accounting for 17 compromised pipeline dumps exposing multiple sensitive tokens. A significant portion of the stolen records contain no company email, domain, or hostname, making attribution impossible and preventing any disclosure to the affected organizations. Hudson Rock conducted an ethical disclosure program and CloudSEK released a public lookup tool, but both efforts are limited by the absence of identifying information in many of the compromised records.

0
ProgrammingDEV Community ·

AI Memory Is a Distraction — Shared Decision State Is What Orgs Actually Need

A software practitioner argues that the AI industry's focus on memory and context drift misframes the real challenge facing organizations deploying AI. The core issue, they contend, is that modern organizations operate as hybrid decision networks where humans and AI agents must share a common state to remain aligned. Without a structured, real-time record of decisions and their relationships, humans and AI systems end up working at cross-purposes. The author proposes decoupling reasoning from decisions and tracking each decision through explicit states — such as proposed, ratified, and superseded — with an actor, timestamp, and reason attached to every transition. This approach, grounded in distributed systems thinking and organizational theory, aims to preserve human authority while enabling AI to operate at speed without losing institutional continuity.

0
ProgrammingDEV Community ·

How a Domain-Lock Guard Prevents Rental Automation from Straying to Third-Party Sites

A rental app that automates form-filling for listing inquiries uses a domain-lock guard to prevent its automation from following redirects to unrelated third-party websites. Without such a guard, the automation could silently create accounts or submit data on sites the user never intended to visit. The guard computes the registrable domain (eTLD+1) using a public suffix list, treating ambiguous cases as mismatches to err on the side of caution. Crucially, the check is applied at the recording stage as well, so any steps taken on a foreign domain are discarded and never saved to the replay recipe. The design principle behind this approach is to guard data at the point it enters the system, not only at the point it is later used.

0
ProgrammingHacker News ·

Solar Power Costs Keep Falling, Making It Increasingly Affordable

Solar power is becoming dramatically cheaper, with costs dropping to levels once considered unimaginable by industry analysts. The trend is being driven by advances in manufacturing, economies of scale, and growing global investment in renewable energy infrastructure. This price decline is making solar an increasingly competitive option compared to fossil fuels in many markets. The shift is seen as a significant development in the broader transition toward cleaner energy sources worldwide.

0
ProgrammingDEV Community ·

Developer Reflects on the Hidden Obsession Behind a Career in Tech

A software developer shares a candid account of what working in tech actually looks like day-to-day, far removed from the hacking stereotypes portrayed in movies. Most of the job involves long hours staring at a screen, debugging code — sometimes for days — before a breakthrough finally arrives. While the satisfaction of solving complex problems is deeply rewarding, the developer admits the work rarely stays at the office, with coding problems often intruding on family dinners and weekends. This constant mental engagement has made it difficult to truly disconnect, highlighting a common struggle among tech professionals around work-life balance. The developer is now actively exploring boundaries — such as screen-free days — and is seeking advice from others on how to stay present outside of work.

0
ProgrammingDEV Community ·

4 Pre-Submission Fixes Every First-Time WordPress.org Plugin Developer Should Know

A developer submitting a WooCommerce plugin to the WordPress.org directory for the first time documented four critical issues that had to be resolved before the review process even began. The plugin's name had to be restructured to avoid trademark conflicts and generic labeling, which triggered a cascade of changes across file names, text domains, and documentation. All premium features needed to be fully removed from the free build's codebase rather than simply hidden or disabled, as gating code violates directory guidelines. Build-time code transformations caused Plugin Check errors that were absent in the source, requiring the developer to always test the final generated zip rather than the original files. The author noted that version bumps and other housekeeping overhead are inevitable even before any users exist, and plans to share a follow-up once the formal review concludes.

0
ProgrammingDEV Community ·

Looking to Connect with Developers and Open-Source Communities

Hi everyone! 👋 I'm excited to join this developer community and connect with people building interesting projects. I'm particularly interested in open source, developer tools, self-hosted software, DevOps, technical documentation, and GitHub projects. I'm currently exploring ways to help useful projects reach the right developers and communities through genuine discussions, feedback, testing, and collaboration. I'd love to connect with developers who are: Building open-source projects Feel free to share what you're currently building!

0
ProgrammingDEV Community ·

How to Security-Test a LangChain Agent Using a 15-Line FastAPI Wrapper

Developers often ship AI agents to production after a successful demo without conducting adversarial security testing, leaving a critical gap between functional validation and real-world safety. Functional tests only verify expected inputs and miss scenarios like prompt injection, scope violations, tool misuse, and goal hijacking — threats categorized in the OWASP Top 10 for Agentic Applications. The article demonstrates how a tool called Humanbound red-teams a live agent using OWASP-aligned attack scenarios, grading transcripts into a security posture score. Because Humanbound operates as a black-box HTTP tester, agents built with frameworks like LangChain must first be wrapped in a lightweight HTTP service, such as a FastAPI endpoint, to be compatible. The post walks through a sample LangChain support agent with order lookup and refund tools, then shows how a minimal server wrapper bridges the gap between a local .invoke() agent and the security testing interface.

0
ProgrammingDEV Community ·

Developer builds tool that auto-generates architecture explainers from AI-written code

A developer has released 'show-me-the-build', an open-source skill compatible with Claude Code, Cursor, Codex, and other LLM-based agents. The tool analyzes any codebase or cloud deployment and generates a self-contained, interactive HTML presentation explaining what was built, how it works, and why each component exists. Architecture diagrams are rendered step by step, reflecting the actual order in which resources were created, with clickable elements that surface real reasons drawn from the code or infrastructure docs. The tool requires no server or build step and is aimed primarily at hackathon participants who need to quickly explain AI-assisted projects to judges. It can be installed via a single npx command and invoked directly inside a supported coding agent.

0
ProgrammingHacker News ·

StemJSON: New JSON-Based Language Lets AI Build and Customize Mobile Apps On-Device

A developer has introduced StemJSON, a domain-specific language built on JSON and designed to work with large language models for native mobile app development. The tool allows AI to generate mobile features, screens, and full applications directly on the user's device without requiring external processing. One of its key propositions is enabling end users to customize app behavior in real time through AI-driven interactions. The project was shared on Hacker News as a community showcase, inviting feedback from developers and technical users. StemJSON is positioned as a way to accelerate mobile development while opening new possibilities for personalized user experiences.

← NewerPage 1285 of 3251Older →