SShortSingh.

Programming

0
ProgrammingDEV Community ·

How Redirect Chains and Fake Domains Can Mislead Users Before They Log In

A redirect chain occurs when a browser passes through one or more intermediate URLs before reaching a final destination, a process that is sometimes legitimate but can also signal deceptive intent. Security-focused guidance published on DEV Community explains that multiple redirects across unrelated domains, unusual URL structures, and a final page that differs from the promised content are all worth closer inspection. The article notes that HTTPS and a padlock icon do not guarantee a site is genuine, since fraudulent domains can also obtain valid TLS certificates. Typosquatting — registering domains with minor spelling variations — is highlighted as a common tactic used in phishing pages that can easily go unnoticed on a quick read. Users are advised to verify the exact domain name, check for misleading subdomains, and trace the full redirect path before entering any sensitive credentials.

0
ProgrammingDEV Community ·

How one team built shared memory for a multi-model AI agent fleet

A development team running a fleet of AI agents — each backed by a different language model — found that standard per-agent context windows caused repeated work, as no single agent retained knowledge discovered by another. The core problem was that passing more conversation history failed because a large context window on one model cannot be accessed by agents running on different models. Their solution was a model-agnostic shared memory system built on two layers: an append-only event log as the source of truth, and a derived index that agents actually query. Key design requirements included attribution of every memory entry to a specific agent and session, strict scoping so agents only access relevant context, and full auditability for regulated workflows. The team noted that most retrieval failures were actually scoping failures, and that narrowing the searchable candidate set per agent proved more effective than improving ranking algorithms alone.

0
ProgrammingDEV Community ·

Free Hands-On Lab for Microsoft Copilot Studio AB-620 Certification Launched

A developer has released a free hands-on lab for the AB-620 Copilot Studio certification exam on an independent, open-source platform called Examplar. The lab walks learners through creating an agent, writing instructions, testing prompts, publishing, and cleanup — with checkpoints at each step. Alongside the lab, a public preview section offers 25 original practice questions with no reliance on exam dumps. The project is self-funded and independent, with optional paid content packs also available. The free lab and practice questions are accessible at examplar.app.

0
ProgrammingDEV Community ·

Developer Builds Modular RAG Architecture for Internal Knowledge Assistant Guidely

A developer built Guidely, an internal knowledge assistant, using a Retrieval-Augmented Generation (RAG) architecture designed from scratch to handle organizational documents. The system follows a structured pipeline covering document parsing, chunking, embedding generation, vector storage, semantic search, and response generation with citations. Rather than bundling all logic into a single function, each stage was deliberately separated so it could be tested and maintained independently. Supported file types include TXT, PDF, and DOCX, with the upload layer kept isolated from the embedding and search logic. The project prioritized architectural clarity, ensuring that every component answered one specific question about how data moves through the system.

0
ProgrammingDEV Community ·

GitHub Actions Adds $/ Syntax to Self-Reference Actions Without Version Pinning

GitHub Actions now supports a new $/ syntax that allows workflows to reference actions or reusable workflows within the same repository without hardcoding version tags or using workaround paths. The $/ prefix automatically resolves to the repository's own context at the exact commit currently running, eliminating the need for a prior checkout step. Previously, developers had to use ./ references requiring a full checkout first, or manually maintain version tags that could drift from the active commit. The feature works across workflow steps, composite actions, nested compositions, and reusable workflow calls, and is currently available on github.com as of the August 2026 changelog. It requires GitHub Actions runner version 2.336.0 or newer, and GitHub Enterprise Server availability depends on the platform's release track.

0
ProgrammingDEV Community ·

useEffect Explained: A Practical Beginner's Guide to the React Hook

The useEffect hook is one of React's most widely used tools, enabling components to stay in sync with external data sources, props, or browser events. Common use cases include fetching API data on component mount, responding to changing prop values, and attaching event listeners for user interactions. When using event listeners, developers must return a cleanup function inside the hook to prevent duplicate listeners or memory leaks when the component unmounts. The hook accepts a dependency array as a second argument, controlling when the effect re-runs — an empty array means it runs once on mount, while listed variables trigger it on change. The guide aims to help beginners understand the structure and practical applications of useEffect through simple code examples.

0
ProgrammingDEV Community ·

Generative Engine Optimization Gains Traction, but Google Panda Comparisons Lack Proof

Generative Engine Optimization (GEO) is emerging as a structured approach to improving brand and publisher visibility within AI-generated search answers. Unlike traditional SEO, GEO focuses on making content extractable, credibly sourced, and clearly organized so AI systems can accurately retrieve and cite it. Some industry discussions have drawn parallels between GEO tactics and the low-value content patterns that preceded Google's Panda algorithm updates around 2011–2014, but no evidence confirms that AI platforms use similar evaluation methods. SEO experts including Aleyda Solís and guidance from Search Engine Land frame GEO around content quality, structure, and governance rather than volume-based strategies. Experts caution that treating the Panda analogy as established fact could mislead teams into optimizing for unproven loopholes instead of building genuinely useful, well-sourced content.

0
ProgrammingDEV Community ·

How Vehicle-to-Vehicle Communication Could Eliminate Phantom Traffic Jams

Connected and Automated Vehicles (CAVs) use Vehicle-to-Vehicle (V2V) communication to share real-time sensor data, allowing cars to coordinate speed and behavior with each other and a central server. One key application is reducing phantom traffic jams, where a single braking event cascades into widespread gridlock, by having vehicles share acceleration and deceleration data up to ten times per second. The technology also enables intersection management without traffic lights, pre-cleared corridors for emergency vehicles, and automatic crash response to prevent secondary collisions. Additional benefits include improved fuel efficiency for heavy trucks, real-time pothole detection and alerts, and the ability for drivers to see hazards beyond large vehicles using shared camera feeds. Researchers at the University of Michigan have already demonstrated CAV convoy behavior, suggesting these capabilities are moving closer to real-world deployment.

0
ProgrammingDEV Community ·

DFlash Boosts 30B Model Speed to 84 tok/s on Single GPU via Speculative Decoding

A developer tested the DFlash speculative decoding method on a Meta Muse Glimmer 30B model running on an NVIDIA RTX PRO 4000 GPU with a 256K context window. Using a five-layer drafter generating up to 15 candidate tokens per block, DFlash pushed decode speed from a baseline of 17.98 tokens per second to over 84 tokens per second on structured code tasks. Performance varied significantly by workload, with code generation achieving high acceptance rates while mixed agent tasks involving planning and prose dropped to around 38 tokens per second. Two separate integration bugs in the NVFP4 quantization pipeline — a skipped RoPE permutation and missing FFN scale paths — were found to corrupt output while the model still loaded without errors. Ultimately, Q5_K_M quantization was selected as the best overall configuration, balancing perplexity, throughput, and acceptance rate.

0
ProgrammingDEV Community ·

Developer builds on-device real-time translator for Mac using Apple's native macOS 26 frameworks

A developer working at a German company built Wakaru, a macOS menu bar app that generates real-time translated subtitles for any audio playing on a Mac, including meetings, videos, and podcasts. The app was created in response to privacy concerns about existing captioning tools that send audio to external cloud servers. Wakaru runs entirely on-device using three frameworks Apple quietly introduced in macOS 26: SpeechAnalyzer for speech recognition, the Translation framework, and FoundationModels for an optional higher-accuracy LLM-powered translation mode. The app supports speech recognition in 10 languages and can display subtitles in 22 languages, with no account, API keys, or internet connection required. Written in approximately 3,000 lines of Swift with no external dependencies, the developer noted a dramatic speed improvement over an earlier Electron-based prototype, with captions now appearing while a sentence is still being spoken.

0
ProgrammingDEV Community ·

EU AI Disclosure Rules Echo a 30-Year-Old Internet Problem That Never Got Solved

The EU AI Act's Article 50, taking effect August 2026, will require AI systems to label synthetic content and disclose when users are interacting with AI. A developer tested the core assumption behind such self-declaration rules by analyzing 30 days of server logs tracking AI web crawlers via their User-Agent headers. Of 1,290 attributable requests, 916 — roughly 71 percent — came from IP addresses unrelated to the AI company the crawler claimed to represent. In two striking cases, a single residential broadband address impersonated four different AI crawlers, while one Google-owned IP cycled through seven distinct crawler identities in the same period. The analysis argues that self-reported identity declarations are unreliable without independent verification, raising questions about how enforceable AI disclosure mandates will be in practice.

0
ProgrammingDEV Community ·

Governed Client Context Layers Could Make Marketing AI Assistants More Reliable

AI assistants are becoming capable of handling marketing and SEO tasks, but their output often lacks reliability due to missing client-specific context. A concept explored in a Search Engine Land analysis proposes a 'client brain' — a structured, per-client memory layer that retains brand rules, campaign history, data sources and prior decisions across tasks and sessions. Rather than requiring teams to re-supply account details with every new prompt, this persistent context layer would ground AI recommendations in the client's actual operating environment. The model identifies key information categories including brand voice, CMS constraints, analytics data and governance requirements as essential inputs for consistent AI-driven marketing work. Experts note that while the concept is not a vendor product, it addresses a real challenge for teams seeking repeatable, accountable AI assistance in marketing workflows.

0
ProgrammingDEV Community ·

Python script automates daily LinkedIn job search to target fresh, low-competition listings

A developer has shared a roughly 40-line Python pipeline that automates daily LinkedIn job searches, filtering for postings under 24 hours old with fewer than 10 applicants. The tool uses an Apify Actor to query LinkedIn's job search API and return structured results without requiring manual login or browser cookies. Key fields such as job ID, workplace type, and promotion status are parsed to deduplicate listings and surface only new roles each day. The script is designed to solve the timing disadvantage job seekers face when applying to postings that have already accumulated hundreds of candidates. By running the pipeline automatically each morning, users can consistently identify and apply to roles before applicant volume makes screening less thorough.

0
ProgrammingDEV Community ·

Fine-Tuned Model Hit 100% Accuracy — Until a Better Benchmark Exposed the Truth

A developer fine-tuned Mistral 7B using LoRA on a personal laptop to detect personal data in log lines and support messages, initially achieving a perfect 100% score on a self-generated test set. The result was misleading because the test data was built from the same templates as the training data, effectively measuring memorisation rather than generalisation. When the benchmark was rebuilt using real public data, the fine-tuned model dropped to 95% accuracy while few-shot prompting collapsed from 94% to just 66%. The experiment — run entirely on an Apple Silicon Mac at zero cost — showed a genuine 29-point performance gap in favour of fine-tuning, reversing the original conclusion. The author highlights that overly easy or template-matched test sets can silently corrupt evaluation results, making benchmark design as critical as model training itself.

0
ProgrammingDEV Community ·

Developer builds self-sufficient project repos with full AI agent context built in

A developer has outlined a workflow aimed at making project repositories entirely self-contained, embedding documentation, issues, backlogs, and roadmaps directly within the repo. The goal is to enable AI coding agents like Claude Code to operate with full project context from any machine or environment without additional setup. The approach prioritizes simplicity, requiring no external databases, indices, or special configuration files beyond what the repo already holds. This makes the tooling non-invasive, meaning it adds no dependencies that wouldn't otherwise exist in a standard project directory.

0
ProgrammingDEV Community ·

Developer's Two-Year Detour Building AI Agent Scaffolding Pays Off Overnight

A software developer spent two years building the underlying infrastructure for autonomous AI agents, rather than the agents themselves. Last night, two agents independently merged eleven pull requests while the developer slept, including a 6,500-line feedback pipeline built across nine PRs. The developer draws on the MAST taxonomy — derived from over 1,600 annotated traces across seven frameworks — which identifies fourteen failure modes in multi-agent systems, arguing that trustworthiness must precede autonomy. The core insight is that most long-horizon agent failures stem from absent scaffolding, not model capability. The developer credits multiple community contributors, including Jesse Vincent's brainstorm-design-plan pipeline, as foundational to the architecture built.

0
ProgrammingDEV Community ·

Developer Builds App-Free Photo Sharing Platform Using QR Codes After Wedding Woe

A software developer built Picshots, a no-download photo sharing platform, after his cousin's wedding left thousands of candid guest photos uncollected. The platform works entirely through QR codes and browser cameras, requiring no app installation, account creation, or email verification. Users simply scan a QR code, which opens the device camera in a browser, and photos are automatically added to a shared event gallery. The developer found that removing even a single extra step — such as a name-entry field — tripled photo submissions, with frictionless flows achieving roughly 90% participation versus about 5% for app-based alternatives.

0
ProgrammingDEV Community ·

Overcap: Open-Source Tool Tracks AI Usage Across Windows, Linux, and Mac

A developer has released Overcap, a free open-source utility that lets users monitor their remaining usage across multiple AI coding tools such as Claude Code, Codex, and Grok. The tool was built to address the lack of a cross-platform solution, as an existing alternative called Open Usage by Robin Ebers supports only macOS. Overcap runs on Windows, Linux, and macOS, making it accessible to a wider range of developers. The project is publicly available on GitHub, where the developer is seeking community feedback and contributions.

0
ProgrammingHacker News ·

New drugs may target brain disorders as effectively as Ozempic targets obesity

A new wave of treatments could represent a breakthrough for brain-related conditions, drawing comparisons to the transformative impact of GLP-1 drugs like Ozempic on obesity. The Economist reported on this development in August 2026, suggesting neuroscience may be approaching a similar paradigm shift. Researchers appear to be closing in on medications that could meaningfully alter the course of neurological or psychiatric disorders. If the analogy holds, such treatments could have widespread clinical and societal implications, much as weight-loss drugs reshaped metabolic medicine.

← NewerPage 209 of 1341Older →