SShortSingh.

Programming

0
ProgrammingDEV Community ·

Kinewright adds Wheels, a kinematic engine for four-wheeled bodies

Kinewright, a project with an existing human engine, now includes a second engine called Wheels that models how a four-wheeled body moves. It is kinematics only, with no tyres, suspension, or physics, and all reported figures are traced from the engine's own runs rather than measured. The engine has passed three stages, covering a baseline turning-radius check, a capability contract across shell types and nine manoeuvres, and a driveable shell that a person can control from a keyboard. Each drive is recorded in a journal that replays identically across Linux, Windows, and macOS. The project explicitly is not a path planner, autonomy stack, vehicle simulator, or hardware controller, and it still lacks obstacles and collision handling.

0
ProgrammingDEV Community ·

hivemux: a tmux sidebar that flags which Claude Code session needs input

Developer Esteban Kim built hivemux, a free, MIT-licensed tmux sidebar for managing several Claude Code sessions at once. The sidebar shows whether each session is running, waiting for user input, or finished, and sends a macOS notification when one needs attention. Keyboard shortcuts and clicks let users jump straight to a session, including the one that has waited longest. Because state lives in tmux, sessions survive closing the terminal, and tmux-resurrect restores them with claude --resume after a reboot. The tool runs without a server or telemetry and currently targets macOS, with Linux likely but untested.

0
ProgrammingDEV Community ·

Claude and a weather MCP server used to plan a Menorca trip

A Meteosource employee planned a family trip to Menorca by connecting Claude to the company's weather MCP server using only a free API key. The model requested forecasts for two locations on opposite sides of the island, then hourly data for the specific south-coast village where the group was staying. Using that data, Claude produced a day-by-day itinerary matched to rain, temperature, and wind conditions. It also linked wind direction to geography, sending the group to sheltered south-coast beaches on a windy north-wind day. Follow-up requests, such as adding lighthouse visits, were answered with suggestions split by which coasts were suitable under the forecast conditions.

0
ProgrammingDEV Community ·

US Army solicits self-erasing autonomous offensive agents, raising forensic concerns

The US Army has opened a solicitation for ECHOTRIBBLE, a framework of offensive autonomous agents that reportedly infiltrate systems, replicate to other machines, neutralize targets, and delete themselves before detection. The named targets include iPad, macOS, and Windows devices, and the design calls for minimal human oversight. Analysts argue that the self-destruct feature threatens forensics, since traces left on endpoints would be erased and attribution would become difficult. The same week, Microsoft expanded its Guardian Agents offering, which emphasizes identity, logging, and containment for AI agents. The article also notes that legal responsibility for breaches caused by autonomous agents remains unassigned.

0
ProgrammingDEV Community ·

Where Coding Agents' Token Costs Come From, and Seven Ways to Reduce Them

A coding agent's bill can rise even for a simple question, because each request re-sends the entire session history. Claude Code includes the full conversation with every request, and tool use adds further requests that resend that context. Prompt caching lowers the price of repeated context but does not eliminate it, while long sessions, cache misses, background tasks and compaction all add cost. Output tokens, including extended thinking, are priced at five times the base input rate, so the model's responses are a significant driver too. The article recommends measuring usage first, then applying seven levers in order: caching, scoping, controlling output, routing, batching and budgeting.

0
ProgrammingDEV Community ·

Brief: A Browser-Only AI Tool That Distills Notes in Under a Second

A developer has released Brief, a free web app that converts raw text and Markdown files into keypoints, study Q&A, executive summaries, or action items. The app has no backend database, sending requests directly from the browser to Groq Cloud using the user's own API key so that data never passes through an intermediate server. Its creator says Groq's LPU hardware lets even lengthy inputs, such as a 4,000-word lecture transcript, render in under a second. Brief supports drag-and-drop uploads of .txt and .md files and runs on Firebase Hosting without requiring account creation. The developer is seeking feedback and feature suggestions on which output formats would be most useful.

0
ProgrammingDEV Community ·

Quantum Machine Learning Could Reshape AI by Moving Beyond Classical Hardware Limits

Artificial intelligence has advanced largely on classical silicon hardware such as GPUs and TPUs, but these chips face physical limits in transistor scaling and energy use. The article presents Quantum Machine Learning as a possible successor, combining quantum mechanics with neural network design to handle complex, high-dimensional data. It explains that qubits exploit superposition and entanglement, which could let quantum neural networks represent certain probability spaces more naturally than classical models. Potential uses cited include molecular modeling, financial risk optimization, and logistics optimization. The author expects near-term systems to be hybrid, with classical GPUs handling preprocessing while quantum processors accessed via cloud APIs tackle optimization tasks.

0
ProgrammingDEV Community ·

How Browsers Convert CSS Logical Properties into Physical Styles

Developers often find that CSS logical properties like margin-inline-start do not always behave as expected when text direction changes. Traditional physical properties such as margin-left stay fixed to the box edges, while logical properties are defined relative to the writing mode and text flow. Browsers translate logical properties into physical ones during style computation, mapping inline-start to left in LTR horizontal text and to right in RTL. In vertical writing modes, the inline and block axes swap, so logical properties can map to top or bottom edges instead. The layout engine ultimately only works with physical properties, which explains many unexpected layout results.

0
ProgrammingDEV Community ·

Three Policy Gaps That Let Session Keys Exceed Their Permissions

Session keys and agent wallets are meant to act within tightly scoped limits, but their policy code often contains flaws that undermine those limits. One common gap is that spending policies count only transfers, so an approval call can grant an attacker a lasting claim on funds that survives revocation of the session. Allowlists keyed on contract addresses are another weak point, since allowing a contract exposes every function on it, including dangerous generic execution or admin methods. Fixed-window spending caps can also be exploited at window boundaries, allowing roughly double the intended amount in a short span, a risk amplified by automated agents that retry rapidly.

0
ProgrammingDEV Community ·

Forma Chat: open-source team chat with auto-drafted standups and bring-your-own AI

Forma Chat is an Apache-2.0 open-source team chat that runs on your own server as a single Go binary backed by SQLite. It offers channels, direct messages, threads, search, and task creation from messages, along with daily standup drafts generated from each person's task events without using any AI model. Drafts stay private to their author until submitted, and private work is never summarized automatically. Optional AI agents can use a team's own API key or connect a user's Claude Code over MCP, and answers are limited to what the asking channel can already see. The project is in early release, with files, huddles, and mobile apps not yet available.

0
ProgrammingDEV Community ·

Sorting Prompts by Topic Speeds Up Mixture-of-Experts Batch Jobs

A mixture-of-experts model must read every expert that any request in a batch selects, so mixed-topic batches force many expensive weight reads. Because similar prompts tend to route to the same experts, grouping them together reduces the number of experts read per step. Hugging Face measured this on unchanged vLLM and found throughput gains of 5 to 17 percent. The approach works because a batch server fills its slots from the front of the queue, so neighboring prompts decode side by side. The technique matters chiefly for offline jobs on self-hosted mixture-of-experts models, and clustering prompt embeddings can achieve similar gains when labels are unavailable.

0
ProgrammingDEV Community ·

Neuro-Symbolic AI Pairs Deep Learning With Formal Logic to Address Trust and Explainability

Deep learning systems have achieved major advances in tasks like image recognition and text generation, but they operate as black boxes whose decisions cannot be verified or explained. They also tend to produce confident false statements when they fail. Neuro-Symbolic AI responds to these weaknesses by combining neural networks, which process unstructured data, with symbolic logic engines that apply explicit rules and auditable reasoning. Proponents argue this hybrid design is better suited to safety-critical areas such as autonomous driving, healthcare, and financial compliance. The approach is presented as a step toward AI that can both recognize patterns and understand the rules governing them.

0
ProgrammingDEV Community ·

Disconnecting a Crypto Wallet Does Not Remove Smart Contract Token Approvals

Many crypto users assume that ending a website session disconnects their wallet's permissions, but the two are separate. Token approvals recorded on-chain under ERC-20 standards can stay active after a user leaves a decentralized application. Some apps request allowances far larger than a single trade needs, and those leftover permissions may let a spender move tokens up to the remaining limit. Such allowances can become a risk if the spender is compromised or malicious, or if a phishing site disguised the approval as routine. Users are advised to review active allowances with a reputable checker and revoke any they no longer need.

0
ProgrammingHacker News ·

Why Fire Escapes Have Fallen Out of Use in Modern Buildings

A Practical Engineering blog post examines why fire escapes, once a common feature of city buildings, are less prevalent today. The article is published on the author's site and was shared on Hacker News, where it received a small amount of attention. The provided material offers only the headline, link, and engagement figures, so the specific reasons discussed in the post cannot be confirmed here. Readers interested in the engineering and regulatory factors behind the change would need to consult the full article.

0
ProgrammingDEV Community ·

Deriving Roof Pitch and Azimuth from Drone Point Clouds Using Python

A drone survey of a roof produces a point cloud of millions of 3D points describing the surface. For solar and roofing work, the key figures are each roof plane's steepness, its facing direction, and its surface area. The approach described uses Python with techniques such as SVD, RANSAC plane fitting, and basic trigonometry to convert raw points into these measurements. The author suggests testing the method on real scans, comparing results against hand measurements, and adjusting thresholds to match the physical roof. Readers are invited to extend the work, for instance with alpha-shape area calculations or obstruction detection.

0
ProgrammingDEV Community ·

Why AI Demos Stall Before Production, and What Teams Must Engineer

Impressive AI demos often take an afternoon to build, but projects can stall for months because a demo tested on a handful of hand-picked examples says little about performance on real cases. Moving to production is mostly ordinary engineering rather than model selection, covering output correctness, integration with software, permission controls, cost tracking, and safe rollout. A central practice is an evaluation set of real inputs with expected correct outputs that can be scored automatically, growing over time as production failures are added. For open-ended outputs, using a second model as a judge can scale evaluation, but it must be calibrated against human labels and its false passes and false fails tracked separately. Structured, schema-validated outputs and specific yes/no rubric questions are also recommended over vague scores or assumed-valid free text.

0
ProgrammingDEV Community ·

How Developers Can Tell Whether Traffic Spikes Signal a Real Data Breach

A common security disclosure phrase says traces of unauthorized access were confirmed, but the article explains how developers can check this themselves. A sudden spike in requests or data egress on a platform like Supabase often stems from internal problems such as buggy client code, heavy unindexed queries, or large unoptimized assets rather than an external attack. Row-Level Security can block unauthenticated reads by returning empty results with a 200 status, so request volume alone does not show data was stolen. The author recommends comparing request counts against egress, reviewing HTTP status codes such as 401, 403, and 429 for signs of automated probing, and checking the network origin of unfamiliar IPs. Together these signals help distinguish harmless internal issues from genuine exposure.

0
ProgrammingDEV Community ·

How Ruby's Method Lookup Really Works Beneath the Object Model

A developer article argues that the common belief that Ruby objects contain their own methods is misleading. Examining CRuby's internals, it notes that an object holds only its instance variables, internal flags, and a pointer to its class. Methods are stored in a method table belonging to the class, which Ruby searches when a method is called. This shared structure keeps memory use efficient, since many instances reuse one table. The piece also explains how defining a method on a single object works, through a hidden eigenclass that Ruby creates behind the scenes.

0
ProgrammingDEV Community ·

RatePeek v1.2 adds multiple conversion windows and clipboard-based amount input for Windows

The independent developer behind RatePeek has released version 1.2 of its Windows exchange-rate utility. The update lets users open up to five Quick Conversion Windows, each keeping its own amount and currency pair and offering its own always-on-top setting. A new auto-receive option detects a single number copied from a webpage or spreadsheet and converts it automatically, though manual entry remains available. The app also includes a floating desktop display, currency lookup by country, name or code, and reference rates for precious metals. The developer notes that displayed rates are reference values from third-party data services, not guaranteed transaction rates, and that bank or card fees may differ.

0
ProgrammingDEV Community ·

Fixing Russian stress errors in text-to-speech for a language-learning site

A developer running a reading site for language learners found that the text-to-speech audio for Russian kept putting stress on the wrong syllables, which matters because stress can change a word's meaning. The cause was a cleaning step that stripped the stress marks before the text reached the voice, along with the common practice of writing е in place of ё. Restoring the marks and ё, and adding instructions about them, raised accuracy on the test set only modestly, but restoring ё brought its error rate down sharply. The developer built a pipeline that determines each word's stress from overrides, a learner glossary, and an open-source accent model, with an LLM reviewing disagreements, and re-generates clips that fail a phone-level stress check. The approach reduced wrong ё from about 40% to about 2% and other stress errors from 13% to under 1%, for roughly $35 of API time. Single-word clips that still fail after three attempts are sent to a human listener.

← NewerPage 192 of 2983Older →