SShortSingh.

Programming

0
ProgrammingDEV Community ·

Serving HTML and Markdown from One Public URL via Content Negotiation

A developer explains how a public web page can offer both HTML and Markdown representations at the same URL, using HTTP content negotiation. The example project, Giorgio, exposes a read-only public catalog endpoint that needs no account or API key. The author shows a standard-library Python client that sends an identifying User-Agent, noting that a default request was rejected with HTTP 403 by the edge layer. Markdown is returned when clients request text/markdown, with responses varying on Accept so caches can distinguish them, while private chat and code session routes stay outside this negotiation. The piece stresses that such interfaces only improve access to public information and do not guarantee indexing, recommendations, or training use.

0
ProgrammingDEV Community ·

Developer Builds Psychologically Driven Calculator Game Called 1000-7 With Pure JavaScript

A developer describes 1000-7, a front-end project that turns a calculator into a psychological game rather than a standard tool. The game is built with plain JavaScript, with no external dependencies or build steps, and overlays and CSS animations are injected into the DOM at startup. Mistakes trigger penalties of different kinds, and every seventh step in a streak unlocks escalating on-screen messages. The developer also highlights handling of touch, mouse, and keyboard input to avoid double-firing bugs, and the project's persistence and lightweight performance.

0
ProgrammingDEV Community ·

Linkit: a free, local-first bookmark manager that summarizes and organizes saved links

The developer built Linkit after finding that their 2,000-plus browser bookmarks were rarely revisited, since standard bookmarks store only a URL. The desktop app fetches each saved link, generates a summary and key takeaways, and supports OpenAI-compatible APIs or local models via Ollama. It adds meaning-based semantic search, an interactive knowledge graph, duplicate detection, and background checks for dead or changed links. Data is stored in a local SQLite database, with an optional Supabase sync backend protected by row-level security, and the app is offered free of charge across Windows, macOS, and Linux.

0
ProgrammingDEV Community ·

Sentry Raises Open-Source Maintainer Funding to $1 Million Annually

Sentry has increased its yearly financial support for open-source maintainers to $1 million, spread across developers, dependencies, and foundations. The largest share, $495,000, is distributed through a platform that identifies code snippets and channels sponsorships. Another $305,000 goes to open-source organizations, with the Python Software Foundation and PHP Foundation among the top recipients. A further $100,000 was allocated by the Syntax team to individual projects such as FFmpeg and Caddy, with each receiving $5,000. The move coincides with the second anniversary of Sentry's initiative encouraging other businesses to fund the software they rely on.

0
ProgrammingDEV Community ·

Salesforce Quick Access: a free Chrome and Edge extension with a sidebar for daily admin tasks

A developer built Salesforce Quick Access, a free extension for Chrome and Edge that brings frequently used Salesforce admin tasks into a single sidebar. It works through the user's existing browser session without a separate server, and stores settings, pins and saved queries locally on the computer. Features include a unified search, a SOQL editor with CSV export, a record field inspector, a Log Analyzer, and a Quick Deploy tool for moving components between orgs. The author describes the tool as built to reduce small, repeated frictions in daily Salesforce work.

0
ProgrammingDEV Community ·

ForensicDbg Pits Claude-Driven Crash Analysis Against WinDbg, LLDB, and Raw AI

ForensicDbg, a Windows post-mortem debugger, is testing how well Claude Code can analyze crash dumps across four setups: its own MCP-accessible engine, WinDbg via the community mcp-windbg server, CDB used directly, and Claude working with no dedicated debugging tool. LLDB was dropped because Claude repeatedly failed to get its built-in MCP server running, so it was used directly instead. The benchmark uses 10 crash dumps, both real-world and synthetic, with each tool run 10 times and context cleared between runs, for 500 total runs. Evaluation criteria include analysis quality, consistency across runs, the actionability of suggested fixes, and token cost. The team's goal is to determine whether dedicated debugging tools add value beyond what AI achieves on its own.

0
ProgrammingDEV Community ·

Free Local Node CLI Cleans Email Lists Without Uploading Contacts

The author, who built and maintains the open-source MIT-licensed tool email-list-cleaner, describes a way to clean contact lists on your own machine to avoid sending data to third-party verification services. The Node.js command-line tool checks syntax, looks up mail servers via public DNS without contacting them, flags disposable and role-based addresses, suggests typo fixes, and removes duplicates. Results are appended as columns marking each address as valid, invalid, risky, or unknown. The free edition processes up to 500 rows per file, and a paid Pro version removes that cap and adds batch mode and a summary report.

0
ProgrammingDEV Community ·

EveryOS: A Browser-Based Personal Desktop for Self-Hosted Linux Servers

A developer has released EveryOS, a personal desktop environment that runs in a web browser on a Linux server the user already owns. It supports Ubuntu Server and Debian on hardware ranging from mini PCs and Raspberry Pis to standard x86-64 machines, including ARM64 devices. The interface offers features such as windows, a dock, a file manager, an app store, Home Assistant integration, and local AI assistants. The project is self-hosted and its source code is publicly available on GitHub.

0
ProgrammingDEV Community ·

Chainguard Released PHP Security Patch Hours Before Embargo Lifted, Drawing Criticism

On October 21, Chainguard published a PHP security patch more than six hours before the coordinated disclosure embargo was set to end. The PHP community, which had shared the fix under strict confidentiality terms, criticized the early release as a breach of agreed protocol. Because the patch was public before the official disclosure, attackers could study it and work out the underlying flaw before most users had updated. The episode highlights how coordinated disclosure relies on trust and voluntary compliance, since embargo violations currently carry no formal penalties. Observers warn that such breaches could weaken collaboration on vulnerability response and leave web infrastructure more exposed.

0
ProgrammingDEV Community ·

Embedding a Responsive Video Player: Layout, Permissions and Access Control

A video player embedded in a course or business app involves three separate concerns: page layout, browser permissions, and application access rules. The guide uses Kinescope as its example provider and recommends wrapping the iframe in a fixed aspect-ratio container, such as 16:9 for landscape lessons, with CSS that makes the frame fill the available width. It stresses that the iframe's allow attribute governs browser capabilities like fullscreen, not who may watch, and that autoplay depends on browser policy, so a manual play option should exist. It also warns that hidden URLs are not access control, so enrollment checks and provider-side playback restrictions must be designed separately, with API credentials kept on the server.

0
ProgrammingDEV Community ·

Nomus: A .NET Package for Converting Between String Naming Conventions

Developers working across APIs, databases, and frontends often face inconsistent naming styles such as camelCase, snake_case, PascalCase, and kebab-case. The article introduces Nomus, a NuGet package for .NET 8.0 and later that detects and converts text between these formats through a simple API. It explains installation via Visual Studio or the dotnet CLI, along with quick usage examples for each conversion method. The author demonstrates transforming a DTO's property names into camelCase, building a reusable extension helper, and generating kebab-case URL slugs. The package is presented as a way to reduce repetitive code and manual conversion errors while keeping naming consistent across a project.

0
ProgrammingDEV Community ·

Anthropic and Musk Propose Competing Plans to Share AI Wealth With the Public

Anthropic announced it will commit 5% of its shares to a public benefit fund that could support charities or make direct payments, including to workers displaced by AI. Days later, Elon Musk called for shares to go straight to the public and pledged that every American child would receive one share of SpaceX next year. The announcements follow an AP-NORC poll in which 64% of Americans said AI is developing too fast. Anthropic has also committed $200 million to studying and addressing AI's effects on employment. Critics note that a company-controlled fund raises governance questions, while a single share per child may be symbolic and not targeted at those most affected.

0
ProgrammingHacker News ·

Question Raised on How Fable 5.1 Conceals Messages Inside Images

A post on LessWrong asks how the Fable 5.1 system manages to hide messages within images. The item was shared on Hacker News, where it gained 9 points and one comment. The provided material is limited to the link and discussion metadata, so the technical method itself is not described in the available text. Readers would need to consult the linked post for the details of the proposed explanation.

0
ProgrammingHacker News ·

Hacked Phone Data Tied to Jared Kushner Reportedly Reveals Negotiations and Transactions

A Vanity Fair report examines material said to come from a hacked phone belonging to Jared Kushner. The article reportedly describes private negotiations and financial transactions that the device contained. The source material provided to me is limited to the headline, a link, and a Hacker News discussion summary, so the full details, dates, and verification of the claims could not be confirmed here. Readers should consult the original Vanity Fair article for the specifics of what was reported.

0
ProgrammingHacker News ·

Why Not Have OpenAI and Anthropic Build Their Own Companies on Frontier Models?

A Hacker News user asks why leading AI labs such as OpenAI and Anthropic primarily sell model access rather than launching their own applications. The post argues that building products on top of frontier models could potentially earn more than selling tokens. It also questions whether falling token prices, as models become commoditized, suggest greater profit lies in the application layer. The question was posted as an Ask HN thread, drawing 41 points and 22 comments.

0
ProgrammingHacker News ·

Arc Browser to Be Sunset on December 22, 2026

The Browser Company has announced that its Arc web browser will be discontinued on December 22, 2026. The news was shared through the company's release notes, which are linked from the Hacker News discussion. The source material provided is limited to the headline and links, so the reasons behind the decision and details about any user migration path are not stated here. Readers seeking the full rationale and transition guidance should consult the original release notes.

0
ProgrammingDEV Community ·

Storing User Documents: Database Blobs Versus Object Storage for Large Files

For most SaaS document uploads, the recommended approach is to keep file bytes in object storage while saving searchable metadata in a relational database like Postgres or MySQL. This separation tends to scale more cheaply and keeps the database smaller and faster, with a clearer audit trail. Large files such as scanned contracts can turn a database-blob design into a backup and replication burden. The article suggests the database row act as the source of truth, storing ownership, status, checksum, and an object key, and it advises using unique keys per upload so originals are never silently overwritten. It also compares options including Postgres bytea, Amazon S3, Cloudflare R2, and MinIO, noting that Postgres can still suit small, tightly coupled files.

0
ProgrammingDEV Community ·

Hammock condenses WhatsApp group chats into two lines using an in-browser Gemma model

Hammock is an open-source tool that turns an exported WhatsApp group chat into a short digest: what happened, and what needs the user's attention. Code first filters out noise such as greetings, forwards, stickers, and deleted messages, and keeps only messages after the user's last reply that mention their name or nickname. Gemma, a small language model, then writes the summary and phrases each item needing action as a to-do, with one-tap reply drafts. Everything runs inside the browser with no server or account, and the model is downloaded once and cached for offline use. The project is MIT-licensed, with the first model download being about 0.8 GB.

0
ProgrammingDEV Community ·

Delayed JavaScript Broke a WordPress Mobile Menu Despite Strong PageSpeed Scores

A WordPress site scoring in the high 90s on mobile PageSpeed Insights had a hamburger menu that failed to respond reliably when tapped on a real phone. The site used the Kadence theme and LiteSpeed Cache, with JavaScript deferral enabled to reduce initial page load work. Desktop and emulated mobile checks did not reproduce the issue, but bypassing LiteSpeed's Page Optimization layer made the menu work again. The author then excluded the Kadence navigation scripts from delayed loading, noting these filename-based exclusions depend on the specific theme and setup. The author stresses this was not a controlled experiment and that the exact cause was not fully confirmed.

← NewerPage 17 of 2834Older →