SShortSingh.

Programming

0
ProgrammingDEV Community ·

How Uber Predicts Your Driver's Arrival Time With Remarkable Accuracy

Uber calculates ETAs by dividing roads into roughly 100 million segments and measuring real-time crossing times using GPS pings sent by drivers every four seconds, effectively creating a free, city-wide traffic sensor network. Because live data only reflects the recent past, Uber built a deep learning system called DeepETA in 2022 to forecast traffic conditions up to three hours ahead, processing around two million requests per second. The model prioritizes fresh signals — such as a new accident — over historical patterns, and infers conditions on quiet roads from surrounding traffic data. A second correction model, trained on millions of completed trips, then adjusts for systematic errors like slow left turns or unaccounted stop signs. Uber reports that deploying DeepETA improved long-trip arrival accuracy by 6 percent, which the company estimates translates to approximately $100 million annually in retained gross bookings.

0
ProgrammingDEV Community ·

Developer Shares 3 AI Workflow Systems Built After 3 Months of Real-World Testing

A developer and client automation builder spent three months testing AI automation frameworks, courses, and prompt collections, ultimately settling on three core workflow patterns that saved over 10 hours per week. The key finding was that individual prompts have little value on their own; they must be embedded within structured workflows that include triggers, defined outputs, and next steps. The three workflows cover content creation from raw ideas, process documentation extracted through structured interviews, and rapid research-to-decision briefs. Five prompt engineering principles underpin the entire system, including assigning the model a specific role, declaring output format upfront, and prompting the model to flag missing information rather than guess. The author argues that most widely shared AI prompt advice treats prompts as isolated tricks rather than components of a repeatable system.

0
ProgrammingDEV Community ·

AICOM and AIMarket launch as linked AI factory and agent marketplace platform

AICOM is a multi-agent pipeline platform that takes a plain-language brief and moves it through thirteen specialized roles — including analyst, architect, developer, QA, and DevOps — to produce a deployable page. AIMarket serves as the connected marketplace where agents can discover capabilities, invoke them, and receive signed, verifiable receipts of completed work. Both platforms share the same MIT-licensed stack and are currently live, with guest access available at magic-ai-factory.com without requiring a login for the first build loop. The project also includes seventeen live mathematical oracles at oracles.modelmarket.dev and a chain-estimation studio called HEPHAESTUS at forge.modelmarket.dev. The team highlighted a key early lesson: using asyncio.gather without return_exceptions=True caused a single LLM timeout to cancel all parallel agents, underscoring that model failures in multi-agent pipelines are correctness issues, not just operational ones.

0
ProgrammingDEV Community ·

ChatGPT US Traffic Surged 48% Year-Over-Year in July 2026, Semrush Data Shows

Semrush Traffic Analytics estimates that chatgpt.com received approximately 1.09 billion US visits in July 2026, representing a 48.38% year-over-year increase. Over the same period, Bing referrals fell roughly 50%, while Google direct figures rose about 11%, though these metrics measure different signals and are not a direct market-share comparison. The data, drawn from a panel of around 200 million anonymized users, are third-party estimates rather than figures reported by OpenAI, Google, or Microsoft. Separate Semrush research found that outbound referral traffic from ChatGPT grew 206% during 2025, with about 21.6% of those referrals directed toward Google. For marketers, the findings highlight growing attribution challenges, as traffic originating in AI chat interfaces is harder to track consistently through standard analytics tools like GA4.

0
ProgrammingDEV Community ·

SQL Basics Explained: DDL, DML, Joins, and Subqueries for Beginners

SQL is a foundational language for managing and querying databases, and understanding its core categories helps beginners get started quickly. Data Definition Language (DDL) covers commands like CREATE, ALTER, DROP, and TRUNCATE, which are used to build and modify database structures. Data Manipulation Language (DML) includes INSERT, UPDATE, DELETE, and SELECT, enabling users to add, change, remove, and retrieve data records. SQL Joins allow data from multiple tables to be combined using related columns, with Inner, Left, Right, and Full Outer Joins serving different matching needs. Subqueries and Common Table Expressions (CTEs) offer more advanced ways to nest or temporarily name query results for cleaner, more readable SQL code.

0
ProgrammingDEV Community ·

Three Commands to Diagnose and Free Up Disk Space on Linux

A full disk is one of the most common causes of unexpected service failures on Linux systems. Administrators can identify which partition is full using the 'df -PhT' command, which provides a clear overview of disk usage across all partitions. The largest space-consuming directories can then be pinpointed by running a 'du' command that lists the top 10 folders by size. Quick cleanup options include truncating large log files, clearing the package cache with 'apt clean', and checking for deleted files still held open by processes using 'lsof'. These three steps form a practical checklist for resolving low-disk-space issues without advanced tools.

0
ProgrammingDEV Community ·

Engineers Build Pure TypeScript Engine to Model Next-Gen Refrigerant Thermodynamics

As global regulations like the AIM Act and Kigali Amendment phase down high-GWP refrigerants, HVAC software engineers face a key mathematical challenge with newer zeotropic blends like R-454B. Unlike legacy refrigerants that evaporate at a single temperature, zeotropic mixtures exhibit a temperature glide of 1.5°F to 8°F, requiring separate bubble point and dew point curves for accurate calculations. Using a single saturation curve for these blends introduces errors of 2°F to 3°F in subcooling and superheat readings, which can lead technicians to incorrectly adjust refrigerant charge. To address this, developers built a zero-dependency thermodynamic engine in pure TypeScript, using polynomial regression equations validated against NIST REFPROP Standard 23 data. The client-side implementation avoids bulky binaries and remote API calls, keeping calculations fast and privacy-friendly.

0
ProgrammingDEV Community ·

USB-C Shape Alone Doesn't Guarantee Video: Free Tool Checks Monitor Compatibility

A developer has built a free portable monitor connection checker to address widespread confusion around USB-C compatibility, which does not inherently guarantee video output, power delivery, or signal support. The tool evaluates five separate factors — the computer's documented video output, the monitor's video input, cable capability, power source, and external display limits — before returning a result. Rather than issuing a simple pass or fail, it produces one of several explainable outcomes, including native one-cable video, separate power required, software-managed USB graphics, or unknown. The checker also accounts for model-specific display rules, such as Apple's M3 MacBook Air requiring the built-in screen to be closed for dual external displays, unlike the M4 model. No sign-up is needed, and users with unlisted laptops can enter port details manually to identify whether a cable, adapter, driver, or power source needs further verification.

0
ProgrammingHacker News ·

Documentary 'Naza' Examines Allegations of Israeli Genocidal Policy in Gaza

A new documentary titled 'Naza' has been reviewed by Variety, drawing significant attention on platforms like Hacker News. The film is described as an exposé focusing on Israeli military and government policies in Gaza. The review, published in 2026, characterizes the documentary as a devastating examination of the conflict. The film appears to have sparked online discussion, garnering points and comments on Hacker News shortly after its coverage.

0
ProgrammingDEV Community ·

How to Deploy a Node/TypeScript Express API to Railway in 15 Minutes

A step-by-step guide outlines how to deploy a simple Express API built with Node.js and TypeScript to Railway, covering environment variable configuration and HTTPS setup. The process involves connecting a GitHub repository to Railway, setting production environment variables such as NODE_ENV and DATABASE_URL, and using Railway's auto-assigned PORT rather than hardcoding values. Developers can verify a successful deployment by hitting a /health endpoint that returns a JSON status response. The guide also explains how to extend the setup by adding a second Railway service as a background worker using tools like BullMQ, sharing environment variables and a Redis add-on between services. The walkthrough is aimed at solo developers or small teams seeking a straightforward cloud deployment without managing virtual machines.

0
ProgrammingDEV Community ·

Agent Actions Need Valid Justification Chains, Not Just Fresh Context, Research Finds

New research in AI agent architecture challenges the assumption that keeping shared state synchronized is sufficient for safe, coherent multi-agent systems. A paper titled 'Fresh Memory, Stale Plans' demonstrates that an executor agent can read updated shared state while still carrying out a plan built on outdated information, a flaw the authors call stale-plan execution. Their proposed PlanFence protocol addresses this by recording which specific records justify a pending action and checking those dependencies before execution, rather than revalidating the entire world state each time. A separate study found that tool-using agents across 14 models adopted corrupted tool outputs more than one-third of the time on average, even when internal reasoning flagged inconsistencies. Together, the findings shift focus from memory freshness to preserving the full justification chain — covering evidence, policy, authorization, and execution — before any external action is taken.

0
ProgrammingHacker News ·

Txt: New Keyboard-Driven Terminal Text Editor Built for Engineers

A new terminal text editor called Txt has been introduced, targeting engineers who prefer keyboard-driven workflows. The tool is designed for speed and efficiency, operating entirely within the terminal environment. It emphasizes fast performance as a core feature, distinguishing itself from other text editors in the space. The project was shared on Hacker News, where it received initial attention from the developer community.

0
ProgrammingDEV Community ·

Developer Builds AI Companion 'Kith' Using Google AI Studio Without Coding

A developer created an AI chatbot called Kith as a submission for the DEV Education Track challenge focused on building apps with Google AI Studio. Kith is designed to function as a friendly conversational companion where users can chat freely without social judgment. The developer built the project with no prior coding knowledge, relying entirely on Google AI Studio's tools to bring the concept to life. The experience proved more engaging than expected, with the creator noting that the platform delivered closely on its promises. The project is accessible online via Google AI Studio's hosting.

0
ProgrammingDEV Community ·

Better scaffolding, not bigger models, can make weak local AI reliable for coding

Developer and Atlarix creator argues that most failures seen with small or local language models stem from missing system infrastructure rather than model capability limits. The core problem is that weak models frequently report task completion even when edits never applied or tests still fail, a behavior frontier models exhibit less often but do not eliminate. The proposed fix is a "harness" — scaffolding that independently verifies every file change on disk and re-routes failed checks back to the model instead of surfacing them as finished results. This means the agent cannot declare a task complete while the repository's own tests are still failing, removing the most damaging failure mode: wrong code reported as correct. The author claims this approach enabled a small local model to produce code merged into open-source projects including Remix, Caddy, Traefik, and Valkey.

0
ProgrammingDEV Community ·

Fitz Framework Lets WASM Components Call Server Functions Without HTTP Boilerplate

Fitz, a full-stack web framework, introduces an @rpc decorator that automatically generates both a server-side HTTP endpoint and a client-side fetch stub from a single async function declaration. Developers can call server logic directly from a WebAssembly component as if it were a local function, using standard await syntax, with no hand-written HTTP handlers, fetch calls, or JSON parsing required. The same type definition is compiled for both the server and the WASM client, eliminating type drift between front and back ends. This is the seventh installment in a series documenting Fitz's component model, and the feature draws conceptual parallels to server actions in Next.js, tRPC, and Remix. The framework handles serialization, routing, and async state updates automatically, requiring no external dependencies beyond the built-in HTTP stack.

0
ProgrammingDEV Community ·

Fitz Framework Lets WASM Components Call Server Functions Without Manual API Wiring

Fitz, a web framework, introduces an @rpc decorator that allows developers to mark server-side async functions and call them directly from WebAssembly client components as if they were local calls. The compiler automatically generates both the server-side HTTP endpoint (POST /__rpc/function_name) and a client-side fetch stub, eliminating the need to write routes, JSON glue code, or duplicate type definitions. A single shared type defined in the server module is compiled into both a native struct for the backend and a WASM struct for the frontend, preventing type drift between the two sides. The approach draws comparison to existing solutions like Next.js Server Actions, tRPC, and Phoenix, but requires no external dependencies, code generators, or special directives beyond the single decorator. This feature is presented as Part 7 of the ongoing FitzLiveViews series, building on earlier work covering server-rendered and WebSocket-based component compilation.

0
ProgrammingDEV Community ·

Open-Source AgentJIT Compiles AI Agent Workflows from 30s LLM Chains to 0.1ms Python

A developer has open-sourced AgentJIT, a just-in-time compiler designed to eliminate latency and cost inefficiencies in AI agent workflows. The tool works by tracing an agent's tool-call sequence on its first run and compiling the resulting execution path into a deterministic Python AST pipeline for all subsequent runs. This approach reduces multi-step LLM chain execution times from up to 45 seconds down to under 0.1 milliseconds, with no token costs on compiled runs. The compiler automatically inserts runtime input guards that trigger a fallback to the original LLM agent if unexpected inputs are detected, preventing crashes or regressions. AgentJIT is available as a self-contained Python library with no mandatory external dependencies and can be applied via simple decorators.

0
ProgrammingDEV Community ·

Oracle Autonomous AI Database 26ai Merges AI, Analytics, and Vector Search in One Platform

Oracle's Autonomous AI Database 26ai is a converged database platform designed to handle relational data, JSON, graph, spatial data, and vector embeddings within a single system. The platform aims to eliminate the complexity of managing multiple specialized tools by combining database storage, machine learning, analytics, and application development capabilities together. A key feature is its autonomous operation, which automates routine administrative tasks such as patching, backups, and performance monitoring, reducing the need for dedicated database administrators. Oracle AI Vector Search, another highlight of the platform, enables semantic similarity searches using numerical embeddings rather than exact keyword matching, powering technologies like Retrieval-Augmented Generation and enterprise knowledge search. The platform targets organizations looking to adopt AI solutions without building and maintaining complex multi-technology architectures.

0
ProgrammingDEV Community ·

How to Design a User Management System Using JWTs, Ktor, and Exposed

A developer tutorial from the Vesper Design Diaries series explains the critical distinctions between identity, authentication, and authorization in app development. Identity refers to who the user actually is, typically represented by a stable value like an email address, while authentication is the process of verifying that claim through passwords, OTPs, or biometrics. Authorization, by contrast, governs what a verified user is permitted to do within the system. The article argues that conflating these three concepts causes problems when apps need to support multiple login methods, role-based access, or account suspension without deletion. The series uses Kotlin Multiplatform app Vesper as a practical case study for implementing a production-grade user management system on a limited budget.

0
ProgrammingDEV Community ·

What HSMs Do and Why Buying a Used One Can Be a Smart Move

A Hardware Security Module (HSM) is a tamper-resistant device designed to generate, store, and use cryptographic keys entirely within the hardware, ensuring keys never leave the module in plaintext. Common use cases include protecting PKI certificate authority keys, code signing in CI pipelines, TLS offload, and serving as a PKCS#11 backend for enterprise identity systems. New network HSM appliances from vendors like Thales or Atos can cost between €15,000 and €50,000, but used units decommissioned from banks or telecoms offer the same physical tamper-resistance and FIPS certification at a fraction of the price. The key risks when purchasing second-hand include receiving a unit that has not been properly zeroized or one with broken tamper-evident seals, so buyers should request a zeroization certificate or perform a factory reset themselves. Prospective buyers should also verify the exact model string against the vendor's firmware support matrix to confirm eligibility for security patches and ongoing support.

← NewerPage 1459 of 3361Older →