SShortSingh.
0
ProgrammingDEV Community ·

Ollama vs llama.cpp in 2026: Key Differences and When to Use Each

Ollama and llama.cpp are two popular ways to run large language models locally, but they serve different use cases rather than being direct competitors. Ollama functions as a managed service that wraps a patched version of llama.cpp, handling model storage, scheduling, and automatic loading with a simpler interface. Direct llama.cpp, by contrast, gives users granular control over GPU placement, KV cache settings, and runtime flags, making it better suited for advanced or production configurations. Ollama is generally recommended for users who want a quick, low-friction setup for local chat, coding assistants, or scripting tasks. Those who need fine-grained performance tuning, immediate access to new llama.cpp features, or native Prometheus metrics are better served by running llama-server directly.

0
ProgrammingDEV Community ·

Developer Builds Proactive Discord AI Bot with Built-In Safety Monitoring System

A developer has built an autonomous Discord AI companion in Python that initiates conversations on its own, rather than waiting to be mentioned or commanded. The bot uses a probabilistic timing mechanism to decide when to speak, generating topics via the Gemini API to keep interactions feeling natural. A dual-channel safety system runs in the background, auditing messages for toxicity, prompt injection, and sentiment imbalance before they reach users. Server admins can monitor activity through a dedicated back-end logging channel, and a killswitch can immediately halt autonomous messaging if a safety issue is detected. Both the companion bot and the security monitor have been released as open-source projects on GitHub.

0
ProgrammingDEV Community ·

Google Now Treats AI Answer Manipulation as Spam, Risking Deindexation

Google updated its spam policies on 15 May 2026 to explicitly classify attempts to manipulate generative AI responses in Search as spam. The revised policy extends the existing spam framework — which can result in lower rankings or complete removal from search results — to cover AI Overviews and AI Mode. Tactics such as seeding fake mentions on forums, stuffing promotional phrases to influence AI recommendations, or paying services that promise guaranteed AI citations now fall under this definition. The policy change does not introduce a new penalty but broadens the scope of existing spam enforcement to include AI-generated answer surfaces. Legitimate optimization, such as creating high-quality content that AI models may naturally cite, remains acceptable under the updated guidelines.

0
ProgrammingDEV Community ·

Why AI Agent Loop Detectors Fail and How to Fix Them in Hours

A production AI agent was found repeating actions for 40 steps without triggering any errors or exceptions. The commonly recommended repetition detector failed because it only checked whether an action was repeated, not whether any real-world change had occurred. This subtle but critical flaw means agents can appear to be functioning normally while actually making no progress. The proposed fix involves implementing a progress signal that monitors changes in the environment rather than tracking the agent's own actions. Developers running unattended agents are advised that addressing this gap typically requires only a few hours of work, not a full system rebuild.

0
Crypto & Web3CoinDesk ·

Bitcoin rises to $78,000 as crypto decouples from AI-driven stock selloff

Bitcoin climbed 1.9% since midnight UTC to reach $78,000, moving in the opposite direction of broader tech markets. Nasdaq 100 index futures fell 1.65%, pressured by calls to slow artificial intelligence development. Crude oil prices also moved sharply, gaining nearly 4% following a Saudi pipeline closure. The divergence highlights crypto's relative independence from the AI-sector turbulence that rattled equity markets.

0
ProgrammingDEV Community ·

Open-Source Background Agents Brings Four-Layer Fault Tolerance to Long-Running AI Tasks

Background Agents, an open-source project built on the Open-Inspect framework, is designed to handle multi-hour autonomous coding sessions that typical agent demos cannot sustain. It implements a four-layer fault-tolerance system that escalates failures through limited retries, fallback model hand-off, parallel evaluator shadow monitoring, and feedback-injected reruns. The project runs tasks inside isolated Docker sandboxes, allowing parallel sub-tasks with independent file systems and git directories, while a control plane manages sandbox provisioning and graceful shutdown on failure. The architecture is based on an approach Ramp described publicly, but this open-source release exposes the orchestration logic that most agent frameworks leave undocumented. The project has reached 3,057 GitHub stars and is currently trending fourth among TypeScript repositories.

0
ProgrammingDEV Community ·

How 3 SMEs Cut Email Overload by Over 50% Using Client Portals

A service agency documented outcomes from deploying custom client portals across three small businesses over 18 months, including a marketing consultancy, an accounting firm, and a web agency. The marketing consultancy saw email volume fall by around 58% within six weeks, while file-retrieval time for the four-person team dropped to near zero. The accounting firm reduced routine client status emails by roughly 65% and cut client onboarding time in half, though an overly complex initial dashboard limited early adoption to just 40%. Simplifying the portal interface to three core elements pushed adoption to 71% within 30 days. The deployments highlighted that portals work best by eliminating low-value communication rather than replacing all client interaction.

0
ProgrammingDEV Community ·

Critical Sogou Input Method Flaw Lets Hackers Deploy GrayRabbit Backdoor via Single Link

A critical vulnerability (CVE-2026-51990) in Tencent's Sogou Input Method for Windows is being actively exploited by threat actor UNC3569 to deploy the GRAYRABBIT backdoor. Attackers send victims a crafted sgbiz: URI link that chains an unvalidated parameter, an outdated sandboxless Chromium 80 instance, and a separate V8 exploit (CVE-2021-38003) to achieve remote code execution with a single click. Once executed, a downloader drops legitimate 7z.exe alongside a malicious DLL and encrypted payload into C:\Users\Public\Documents\, ultimately loading GRAYRABBIT into memory via DLL sideloading. The backdoor communicates with a command-and-control server over raw RC4-encrypted TCP on port 443, supporting shell access, file transfer, and in-memory plugin loading. Tencent has released a patch in version 16.3.0.3498, and users are urged to update immediately and audit process chains and network traffic for signs of compromise.

0
ProgrammingDEV Community ·

GraphQL @oneOf Directive Now Standard, Enforcing Exactly One Input Field in Schemas

The GraphQL specification's September 2025 edition officially standardizes the @oneOf directive, which enforces that exactly one field is supplied in an input object. Previously, developers had to choose between multiple root fields or nullable arguments with manual resolver-level validation — both error-prone approaches. By marking an input type with @oneOf, the schema itself rejects invalid combinations before a resolver ever runs, moving constraint logic out of application code. The directive also enables polymorphic inputs, filling a long-standing gap since GraphQL has supported union types only on the output side. Major server libraries including GraphQL.js v16+, GraphQL Ruby, GraphQL Java, and others already ship support for the feature.

0
ProgrammingDEV Community ·

Python Basics Explained: Functions, Error Handling, and File Operations

A new developer guide published on DEV Community breaks down core Python programming concepts without requiring prior coding experience. The guide covers how functions work, including parameter types such as positional, keyword, default, and variable arguments, as well as scope and return values. It also outlines eight common built-in exceptions in Python, explaining the conditions that trigger each error. The article further explains error handling using try, except, else, finally, and raise blocks to manage runtime failures gracefully. Finally, it addresses file operations, covering read, write, and append modes alongside the context manager for safe resource handling.

0
ProgrammingHacker News ·

ChaosTree: Open-Source Java Library Offers Four Tree Implementations With No Dependencies

A developer has released ChaosTree, a zero-dependency Java library that implements four sorted tree data structures: AVL Tree, Red-Black Tree, B-Tree, and B+Tree. The library targets JDK 21 and above, implementing standard Java interfaces such as NavigableSet, NavigableMap, SequencedSet, and SequencedMap. The project grew out of the developer's personal effort to deepen their understanding of data structures, evolving from a Set-only library into a full Set and Map solution with attention to memory layout and JVM performance. ChaosTree has been validated through multiple testing approaches including Guava Testlib compatibility checks, property-based testing with jqwik, and differential testing against Java's built-in TreeMap and TreeSet. The source code and benchmarks are publicly available on GitHub, and the developer is actively seeking community feedback on API design and benchmark methodology.

0
ScienceWIRED ·

Young Woman Fights Back After Being Exploited by Anonymous Online Sports Fan Network

Maddie Kowalski is among numerous young women whose lives have been severely impacted by a loosely connected online community known as the 'burnerverse.' The network consists of anonymous men, largely identifying as sports fans, who have exploited women on camera without consent. Kowalski's case highlights a broader pattern of harm caused by this online ecosystem. Rather than staying silent, she has chosen to take action against those responsible for her exploitation.

0
IndiaTimes of India ·

Sooryavanshi benched for Afghanistan T20I despite standout Zimbabwe tour

Fifteen-year-old Vaibhav Sooryavanshi was left out of India's playing XI for the first T20I against Afghanistan, despite a strong recent run of form. He had been named Player of the Series after India swept Zimbabwe 3-0 in a T20I series. Sooryavanshi also contributed runs for East Zone in the Duleep Trophy 2026. His omission has drawn criticism from a former India cricketer, who questioned the selection decision in favour of Sanju Samson.

0
IndiaTimes of India ·

US National Park Service Eyes Cumberland Island Land Swap to Boost Conservation

The National Park Service is considering a land exchange program on Cumberland Island, a protected federal area in the United States. The proposal would involve acquiring privately owned land parcels in return for federal lands, which would remain under conservation restrictions. The initiative is designed to improve the management and consolidation of protected zones across the island. The agency is currently seeking public feedback on the potential environmental impacts of the plan.

0
ProgrammingHacker News ·

pkgsrc: The Cross-Platform Package Manager Worth Knowing About

pkgsrc is a cross-platform package management system originally developed by the NetBSD project. It allows users to install and manage software across a wide range of operating systems, not just BSD variants. The system is valued for its portability and consistency across different Unix-like environments. A 2021 blog post resurfaced on Hacker News highlighting its practical advantages for developers and system administrators. Despite limited discussion, the post drew attention to pkgsrc as an underappreciated tool in the open-source ecosystem.

0
IndiaTimes of India ·

Australian Couple Turns Accidental Aquifer Discovery Into $10-a-Bottle Water Brand

An Australian couple in South Australia discovered a pristine underground aquifer beneath their property, which they have since turned into a premium bottled water business. Their product earned a perfect score of 100 points from international water judges, signaling exceptional quality. The find has propelled the couple into the growing fine-water industry, where mineral-rich, ultra-pure water is increasingly sought after by consumers. Their story reflects a broader shift in how water is perceived, moving from a basic commodity to a high-end luxury product.

← NewerPage 1204 of 5362Older →