SShortSingh.

Programming

0
ProgrammingDEV Community ·

A Go-Live Checklist for Small-Business WhatsApp Automation: Alerts, Fallbacks and a Kill Switch

The article offers a short pre-launch checklist for developers helping small businesses vet an agency that will automate WhatsApp customer flows. It recommends owner-controlled feature flags so each automated behavior, such as draft replies or order-status messages, can be switched off without outside help, and tests that confirm nothing automated is sent once disabled. Each workflow step should define a fallback, such as routing unsent drafts to a shared inbox or logging failed CRM writes, so no failure goes unnoticed. The author suggests tiered alerts (info, warning, error) delivered via WhatsApp or a daily summary, since email alerts are often ignored. Finally, it advises documenting a five-minute rollback to the old process and asking agencies to answer each checklist item in writing to reveal whether their monitoring is substantive.

0
ProgrammingDEV Community ·

Guide Compares 10 Self-Hosted Portfolio Management Tools for Enterprise Teams

A new guide examines how organizations can choose self-hosted portfolio management software while keeping their data under internal control. It argues that hosting alone does not solve portfolio management, and that the key test is whether a tool links priorities to requirements, schedules, risks, capacity, and delivery evidence. The guide compares ten products on deployment fit, workflow, resource decision support, visibility, and adoption effort. It notes that some tools emphasize detailed scheduling or financial governance while others tie portfolio planning more closely to day-to-day delivery work. Readers are advised to confirm deployment models and features with vendors during procurement, since they may depend on edition and contract.

0
ProgrammingDEV Community ·

Building a Qibla Finder in Flutter: Bearing Math and Compass Handling

A developer who built a Qibla finder for the Punj Surah app explains that the feature involves two main challenges: calculating the bearing to the Kaaba and reading the device compass smoothly. The guide demonstrates computing the great-circle bearing using plain Dart math, since a flat-map line is inaccurate over long distances. It then shows how the flutter_compass plugin streams heading data, with an emphasis on handling null values on devices lacking a magnetometer. The article also notes that compass readings report magnetic rather than true north, so developers should account for magnetic declination. Finally, it warns that raw sensor data is noisy and needs smoothing before being shown on a rotating dial.

0
ProgrammingDEV Community ·

One Wrong Column in a Stock Upload CSV Can Get an Entire Batch Rejected

A creator lost a weekend after a single misnamed column header caused Adobe Stock to reject an entire 120-asset upload, not just the faulty row. Each stock platform requires its own CSV layout, with Adobe, Vecteezy and Dreamstime demanding different column counts and orders. Hand-editing per-platform copies invites drift, so the author built a script that writes each platform's hardcoded header from a master folder. A separate upload-tracking ledger prevents duplicate submissions after crashes, since repeated posting can be flagged as spam. The account notes that keyword and title judgment still needs human input, and that the whole pipeline runs on a modest server without a GPU.

0
ProgrammingDEV Community ·

Weekly Stock Upload Batches Automated on a Small Server Around a Full-Time Job

A creator describes a duplicate-upload mishap from running a 40-asset batch late at night on a phone, which led to rebuilding the workflow. Batches now run once a week on a modest 1-core, 2 GB RAM server, orchestrated by a free agent tool, with each step executed sequentially and retried individually on failure. A standard-library ledger script tracks completed assets so reruns skip anything already uploaded, preventing duplicate submissions that can get accounts flagged. A metadata script generates the specific CSV header each stock platform requires, and memory habits such as per-step subprocesses and garbage collection keep the pipeline within the server's limits.

0
ProgrammingDEV Community ·

OpenAI lança Codex CLI, agente de código que roda no terminal

OpenAI's Codex CLI is a lightweight coding agent that runs locally in a computer's terminal. The tool also offers integrations with editors such as VS Code, Cursor and Windsurf, a desktop app, and a cloud-based option called Codex Web. It targets software developers who want coding assistance on macOS, Linux or Windows, and supports sign-in with a ChatGPT plan or an API key. Installation varies by system, using shell scripts, npm or Homebrew, with manual downloads also available on GitHub. After installing, users launch it with the codex command and choose their authentication method.

0
ProgrammingDEV Community ·

Four Gemini 4 Argon Agents Complete Minecraft's Ender Dragon Without Human Guidance

Google DeepMind placed four Gemini 4 Argon agents in a random Minecraft survival world with no assigned roles or custom strategies, relying only on the standard Mineflayer library. After 27 hours and 14 minutes, they defeated the Ender Dragon, writing 2,783 JavaScript programs and exchanging 229 chat messages along the way. The agents died 605 times and spontaneously divided responsibilities, with one taking on cleanup work, while a fifth observer agent reviewed the run. The session consumed about 1.35 billion input tokens, costing roughly $1,620 at standard pricing. The researchers noted caveats including a single run on easy difficulty, the model's likely prior exposure to Minecraft in training data, and an unknown repeatability rate.

0
ProgrammingDEV Community ·

Virtual Memory Explained: Address Spaces, Paging, and How malloc Gets Memory

A new post in the Operating Systems Explained series covers virtual memory, the mechanism that gives each process its own address space. It explains paging and page tables, the translation lookaside buffer (TLB), and how page faults and swap are handled. The article also describes how system calls such as mmap and brk, along with malloc, obtain memory from the operating system. It connects back to an earlier post in the Computers Explained series, showing how identical addresses in two processes map to different physical frames under hardware enforcement.

0
ProgrammingDEV Community ·

GitHub Actions pull_request_target policy changes take effect November 2, 2026

GitHub has introduced a new default Actions event policy for eligible public repositories, which begins enforcement on November 2, 2026 for affected repos that used the default before general availability. The policy is initially running in evaluate mode, meaning workflows still execute while potential blocks are identified. The change does not stop all public repositories from building, nor does it mean every use of pull_request_target is unsafe. Maintainers are advised to review which workflows depend on the event, which policy applies, and whether those jobs need privileged access. Developers are generally encouraged to use the lower-privilege pull_request event for building and testing proposed changes.

0
ProgrammingDEV Community ·

Two-Phase Slot Holds with Human Confirmation for Bridal Jewellery Visits

Bridal jewellery buying in India typically involves planned, weekend family visits that need a salesperson's undivided attention, so double-booking is a serious concern. The author describes a booking pattern for WhatsApp-based appointments in which the system first places a 30-minute hold on a slot and staff then confirm it. Confirmation involves checking salesperson availability, whether the space suits the family size, and any requested collections, with a salesperson assigned rather than just a time. Customers receive a hold message asking about the occasion and date so pieces can be prepared, plus an automatic reminder the day before with the store location and no prices. The author argues that fully automatic booking suits a salon, but for high-value, emotional visits human confirmation is part of the service.

0
ProgrammingDEV Community ·

Five Ways a Side Project Can Use Cloudflare's Free Tier

A developer describes five ways they rely on Cloudflare's free tier for side projects, requiring no credit card. Their first tip is Email Routing, which lets a registered domain forward addresses like shop@ or support@ to a single existing inbox for the cost of the domain. They also praise Cloudflare DNS for its speed and scoped API tokens, plus an audit log for tracking changes. The article highlights Workers for lightweight JavaScript endpoints with 100,000 requests per day, and cloudflared tunnels for exposing localhost over HTTPS. The author notes limits: Email Routing is forwarding-only, and Workers has per-request CPU caps.

0
ProgrammingHacker News ·

OpenBSD 8.0 Released

The OpenBSD project has announced version 8.0 of its open-source Unix-like operating system, as shown on its official release page. The source material provided is limited to the headline, the article link, and community engagement figures from Hacker News, which reports 15 points and 3 comments on the post. Specific details about the release's new features, changes, or improvements are not included in the available text. Readers seeking those details would need to consult the official OpenBSD announcement directly.

0
ProgrammingDEV Community ·

Coding agents copy your worst test files, so cleaning them up matters

A developer argues that the existing tests in a codebase act as a prompt, since coding agents imitate their patterns closely. Simon Willison has observed that agent-written tests tend to match the quality of a project's clean baseline tests. A common flaw he points to is heavily duplicated test setup, which he addresses by asking the agent to refactor with parametrize or shared fixtures. He notes that even a few well-written examples can steer an agent toward a preferred testing style. The author also notes that Anthropic and OpenAI docs recommend keeping instruction files short and letting conventions live in the code itself.

0
ProgrammingDEV Community ·

Four Laravel Query Fixes That Make Slow Database Code Much Faster

A Laravel developer explains that slow pages and jobs usually stem from everyday query habits rather than complex issues. Common culprits include wrapping columns in functions that block index use, computing totals in PHP instead of the database, and loading large row sets into memory just to aggregate them. Benchmarks on a one-million-row MariaDB table show dramatic gains, such as sums dropping from 5.8 seconds to 0.15 seconds and grouping falling from 25.8 seconds to 1.1 seconds. The author also recommends wrapping bulk inserts in a single transaction to avoid paying the commit cost on every row. The fixes center on letting the database do the heavy lifting and returning only the results that are actually needed.

0
ProgrammingDEV Community ·

Estonia's September 2026 Incidents Prompt Call for Repeatable Public-Sector Exposure Baselines

Estonia's Information System Authority (RIA) reported several security failures in September 2026, including DDoS attacks on multiple public-service sectors and over 86 million requests against the national authentication service. A health-data breach at a dental IT processor and an e-bookstore intrusion through an unpatched flaw were also recorded. An analysis argues that organisations should maintain a documented, re-runnable exposure baseline with defined scope, verbatim queries, units, time windows and interpretation limits. The analysis measured Estonian exposure externally in mid-October 2026, counting 263 government-sector assets, 21,335 HTTPS domain assets, 135,740 hosts on port 443 and 98,788 SSH matches. It cautions that visibility does not equal compromise and that counts from overlapping layers should not be summed.

0
ProgrammingDEV Community ·

A Ten-Second Formatting Habit That Speeds Up Code Reviews

A developer describes how they now normalize code formatting before reviewing any pull request, after noticing that formatting noise had slowed them down and made their reviews worse. They paste code into a browser-based formatter, run it, and copy the result back, which takes roughly ten to fifteen seconds and leaves a diff showing only real changes. The author applies the same step before submitting their own pull requests, finding that reviewers respond faster and comment more on design. Because they often work on machines that aren't their own, they prefer a no-install web tool over a configured formatter, while still recommending CI linting for repositories they control. The piece argues that removing formatting noise lets reviewers focus attention on logic and design.

0
ProgrammingDEV Community ·

Judged passage labels, not clicks, should gate RAG retrieval releases

The author argues that a RAG retrieval evaluator for a documentation-monitoring alert system should rely on judged relevance labels rather than click proxies as its release gate. Recall@K is computed against a versioned set of question-to-passage labels, and builds fail when agreed slices regress, while clicks serve as a separate online signal. Averaging across all queries can hide complete misses on high-risk cases such as removed configuration constraints, so per-slice reporting by change type, template, language, and freshness is recommended. Labels should be defined at the same granularity the retriever returns, and the corpus should be frozen during evaluation. The approach does not by itself measure ranking quality, citation correctness, or answer faithfulness.

0
ProgrammingDEV Community ·

Developer's Hackathon AI File Organizer Sparks Naming Debate With ChatGPT

In October 2026, during Week 3 of the DEV Community Hacktoberfest AI Challenge, a developer asked ChatGPT for practical project ideas and received a list. One proposal was a local, open-weight AI app that reads documents, suggests meaningful filenames, and sorts files into subfolders after user approval, avoiding cloud uploads of personal data. The developer objected to the name FileJanitor AI, and a suggested rename was later revised after the AI component was dropped from the domain. The developer describes the exchange with humor, recounting how ChatGPT's changes led to back-and-forth over the final domain name.

0
ProgrammingDEV Community ·

Orphaned Dev Subdomains Can Expose Client Data After Projects End

Agencies and contractors often create staging and preview subdomains for client projects that outlive their usefulness. When the project ends, the underlying cloud resource may be deleted or its IP released, while the DNS record pointing to it remains active. Such dangling records can be claimed by others, letting them serve content under the client's trusted domain. Security researchers classify this as subdomain takeover, a known and still common vulnerability. The article warns that the resulting risks include phishing and data exposure, and it highlights the gap between contract termination and DNS cleanup.

0
ProgrammingDEV Community ·

AI Coding Assistants Shift Software Engineers Toward Architecture and Problem Solving

An opinion piece on DEV Community argues that AI coding assistants are changing how software is written by taking over repetitive tasks. Tools such as GitHub Copilot, Cursor, and ChatGPT, built on large language models trained on vast code repositories, now analyze entire codebases and generate boilerplate, tests, and server scaffolding within seconds. The author says these tools also help translate legacy code, such as Python 2, into modern frameworks. Engineers' value is therefore moving from memorizing syntax toward system design, reviewing generated code, and meeting business needs. The piece also suggests non-programmers can now build prototypes, though it contends AI will not replace skilled engineers.

← NewerPage 293 of 3061Older →