SShortSingh.

Trending

Most upvoted and discussed in the last 48 hours.

0
ProgrammingDEV Community ·

Adjusting Image Brightness, Contrast and Saturation in the Browser Without Libraries

CSS filters can handle basic visual effects, but pixel-level control requires the Canvas API and direct pixel manipulation. The article shows how to extract image data from a file using a canvas element. It explains per-channel brightness changes, the conversion of RGB values to HSL for saturation adjustments, and sharpness via a convolution kernel. It also notes that processing a large 4000×3000 image takes about 200ms, so previews can run at quarter resolution with full resolution reserved for download.

0
ProgrammingDEV Community ·

Six Common Causes of GBase 8s oninit Startup Failures and How to Diagnose Them

A guide explains why the GBase Database (GBase 8s) instance may fail to start when oninit -ivy is run, and suggests checking the environment before reinstalling. The six common causes covered include unset or incorrect ONCONFIG settings, port conflicts, directory permission problems, shared memory and system resource limits, and full disks. It also flags a missing or misconfigured sqlhosts file, which mainly affects client connectivity. For each cause, the article offers Linux commands to investigate, along with cautions against blindly killing processes, applying arbitrary memory values, or deleting files.

0
ProgrammingDEV Community ·

Directories Are Crowding Out Agency Pages in Search Results for Agency Queries

A live check of Google results for "content marketing agency" found seven of nine first-page results were listicles and directories rather than agency sites. Only two results were agencies' own pages, both regional service pages. The author argues buyers now find agencies through intermediaries, so agencies must compete to be listed. He recommends checking how many page-one results are directories, confirming that money pages are indexed in Search Console, and adding a GA4 segment for AI-referred traffic. The post comes from the author's own company, which builds a marketing-data tool, and he notes the same checks work with any analytics stack.

0
ProgrammingDEV Community ·

Five Common Causes of GBase 8s Connection Failures After Installation

A GBase Database (GBase 8s) instance can be running yet still refuse dbaccess or remote client connections. The guide lists five frequent culprits to check before reinstalling: sqlhosts misconfiguration, firewall restrictions, port conflicts, server name mismatches, and client connection settings. A typical sign is that local connections succeed while remote ones fail, often because the sqlhosts entry uses localhost or 127.0.0.1 instead of a reachable address. Administrators are advised to verify host addresses, test port reachability, and identify any process already using the database port without disabling firewalls or stopping unrelated services. The article recommends confirming server names and client configuration files before making changes.

0
ProgrammingDEV Community ·

Testing a Retro Text Generator Across Logo and Poster Use Cases

A text-image generator serves different creative goals, so a logo route and a poster route need distinct success criteria. The article argues that logo users need a compact identity asset that stays recognizable at small sizes, while poster users need a headline that reads clearly within a layout. It proposes a black-box test plan built on observable workflow stages such as text entry, preview, and download, without assuming anything about the product's internals. The author recommends a simple state vocabulary so bugs can be described and reproduced precisely, and suggests checking how previews hold up at several scales. The piece also cautions that automated checks can confirm a preview exists, but human review is still needed to judge letter legibility and cropping.

0
ProgrammingDEV Community ·

DEV's AI labels: 1 in 25 posts carries one, and a timed burst skewed the figures

A study of DEV's public API found that since the platform added Hand Written, AI-Assisted and Fully Autonomous labels in late August, about 4.1% of new posts carry one. A single burst of 1,912 identical AI-Assisted posts, with no reactions or comments, accounted for roughly a quarter of all AI-Assisted labels and produced a false spike in one week. Removing it lowers the labelled share to 3.5%, with AI-Assisted at 2.0%. The author notes that labelled posts tend to include cover images and tags more often, so labels may mostly mark authors who complete every field. The study also reports that Hacktoberfest challenge entries are labelled at nearly five times the platform rate, though the reason is unclear.

0
ProgrammingDEV Community ·

FollowUp Local: Offline Gemma Tool Diagnoses Why Chat Customers Go Silent

A developer has released FollowUp Local, a small open-source tool for sellers who close deals over chat apps like Instagram, WhatsApp, and WeChat. Users paste a conversation, and a Gemma model running on their own computer identifies the stage where the customer stalled, the underlying concern behind their words, and supporting evidence quoted from the chat. The tool also suggests the next message to send and the timing for it. The developer says the model runs locally, so customer conversations never leave the machine and there is no per-message cost. Sample runs on a CPU-only Linux machine took about 19 seconds, and the tool also handles Chinese-language chats. It was built for the DEV Hacktoberfest 2026 Open-Source AI Challenge.

0
ProgrammingDEV Community ·

How to Stop AI From Repeating the Same Mistakes

AI systems often repeat errors even after users correct them, because a correction made within a conversation does not change the model's underlying behavior. Corrections can also get lost when long conversations are truncated or summarized. The article argues that vague warnings are less effective than explicit, scoped rules that define exactly what the AI must do. It recommends turning recurring corrections into reusable instructions stored in persistent locations such as system prompts, project settings, or version-controlled files. It also suggests keeping a structured mistake log and adding automated validation so errors are caught before output reaches the user.

0
ProgrammingDEV Community ·

Laravel Eloquent vs Query Builder: When to Use Each and Why It Matters

Eloquent suits working with individual records that need behavior such as validation, casts, relationships, events and soft deletes, while the query builder suits rows treated as plain data for reports, joins, aggregates, bulk writes and large exports. The two share nearly identical SQL, but Eloquent adds a soft-delete condition automatically and wraps every row in a model. Benchmarks on a 50,000-row MariaDB table using Laravel 13.35.0 showed that loading rows as models took roughly six times longer than plain objects and used about twice the memory. The gap matters most for bulk jobs and exports rather than small paginated pages. The author notes the two also diverge on updates, deletes and inserts, where many production bugs originate.

0
ProgrammingDEV Community ·

Why AI agents need a separate orchestration layer for reliable distributed work

Many diagrams of AI agent orchestration blur two distinct jobs: deciding the next step, which is reasoning, and reliably executing distributed work, which is orchestration. Agent frameworks excel at breaking down tasks, selecting tools, and adjusting plans, but they lack built-in guarantees for retries, idempotency, long-running state, and large-scale fan-out. A true orchestration layer must persist state, survive restarts, retry with backoff, deduplicate, and support rollbacks. The article recommends pairing the agent with a governed capability runtime that validates schemas, enforces identity and approvals, and records traces, with the agent acting only as planner and an orchestrator handling execution.

0
ProgrammingDEV Community ·

Pakistan agriculture pilot builds operator-owned dashboard linking farm sensors and historical data

An agriculture and earth observation operator in Pakistan is running a federal productivity pilot to address data held in separate silos. Sensor feeds, historical datasets and an analytics repository currently require manual exports to trace a result from a season down to a single field and reading. The proposed solution uses scheduled batch adapters to pull telemetry and repository data into one PostgreSQL/PostGIS schema the operator fully controls, with no streaming layer and no cloud outside its control. Analytics are deterministic aggregations and reports reproducible from the operator's own data, and every alert must be acknowledged by a named user under an assigned role. The rollout begins with a one-farm prototype intended to measure per-farm integration cost before the fixed budget is committed.

0
ProgrammingDEV Community ·

MUNHelper: Open-Source RAG Tool Helps Model UN Delegates Search ECOSOC Resolutions

MUNHelper is an open-source preparation assistant built for Model United Nations delegates working in ECOSOC committees. It uses a retrieval-augmented generation pipeline over ECOSOC resolutions, paired with an open-weight language model, to return precise answers with contextual citations. The tool is designed to cut the time delegates spend searching dense UN documents, and it can run locally via Docker so it works without internet access at conference venues. Its developers also highlight zero per-token API costs and better privacy compared with cloud-based alternatives. The project is available on GitHub and was submitted to a Hacktoberfest open-source AI challenge.

0
IndiaTimes of India ·

Pragyan Ojha may stay on as interim chief selector after Parthiv Patel's exit

Parthiv Patel has decided not to continue in his role, prompting speculation about changes in cricket selection. Reports suggest that Pragyan Ojha could remain as interim chairman of the selection committee. The BCCI's Centre of Excellence head, VVS Laxman, may also gain a larger influence over selection matters. With the ODI World Cup less than a year away, it remains unclear whether the board will keep both figures in their current roles.

0
IndiaTimes of India ·

Hope's unbeaten 102 powers West Indies to 24-run win over India in fourth T20I

West Indies captain Shai Hope scored an unbeaten 102 off 50 balls in the fourth T20I against India. The visitors posted a total of 247, which Hope described as competitive on a difficult pitch. West Indies went on to win by 24 runs, drawing the series 2-2. Hope was named Player of the Match, extending a strong tour in which he has scored four centuries across formats.

0
ProgrammingHacker News ·

The Double Headed Stack Allocator: A Memory Allocation Technique Explained

A blog post on demofox.org introduces the double-headed stack allocator, a memory management approach. The article, dated October 3, 2026, is shared on Hacker News, where it has gathered 6 points and no comments so far. The source text provided is limited to metadata, so the technical details of the allocator cannot be summarized from it. Readers would need to consult the original post for an explanation of how the design works.

0
IndiaTimes of India ·

Oil prices slip $1 after three-week high amid Middle East shipping concerns

Crude oil prices declined after reaching a three-week peak, as investors weighed possible threats to shipping through the Strait of Hormuz. The earlier rise had been driven by recent attacks on Saudi Aramco facilities and provocative actions from Iran. The Trump administration is reportedly considering easing sanctions on oil tankers to help bring down shipping costs. Freight rates have climbed sharply, adding pressure on the market. The situation remains closely watched by traders given the strategic importance of the waterway.

0
ProgrammingDEV Community ·

Why AI Zombie Love Story Videos Are Spreading Fast on Social Media

A viral autumn 2026 format, the zombie love story, shows a partner turned into a zombie while the other chooses to embrace them anyway. The trend took off after filmmaker Aytech Ashkhamakhov posted the short AI film "CHOICE" on Instagram in mid-September 2026, and many viewers initially mistook it for a real movie scene. Its shareability comes from a fixed three-beat structure with personalized faces, an emotional rather than gory tone, and a built-in tag-your-partner loop. A DEV Community write-up explains that typical photo-to-video pipelines detect and validate faces, transform one identity into a zombie while preserving recognizable features, and animate per-scene keyframes before stitching segments and adding audio. The article argues that template-driven tools with strong narrative structure tend to outperform open-ended prompt interfaces for mainstream users.

0
ProgrammingDEV Community ·

Agencies Face Outage Liability When Clients Pay Vendors Directly

Agencies are increasingly managing websites and digital assets whose vendor bills are paid directly by clients on their own cards. When those payments fail, the service can lapse even though the agency had no control over billing. Clients often choose this split-billed setup to satisfy procurement rules, avoid ownership concerns, or keep invoices in their own legal entity. Vendors typically limit third-party access so that managers can administer assets but cannot update payment methods. As a result, agencies may still bear the blame, reputational damage, and emergency work when an outage occurs.

0
ProgrammingDEV Community ·

Claude Code Shipped Nine Releases in Eight Days, Outpacing Third-Party Interfaces

Claude Code published nine versions between October 1 and October 8, 2026, according to the npm registry, with further releases on October 9 and 14. OpenAI's Codex CLI also shipped four stable releases in five days during the same period. The article notes that new interface features, such as keyboard shortcuts, pickers and terminal status signals, appear in the vendors' own terminals on the day they ship. Tools that re-render these agents through scraped output or the SDK must redesign their screens to match, so they tend to trail the official releases. The author argues that this lag is structural rather than a one-off problem.

0
ProgrammingDEV Community ·

Retrained AI Models Can Shift Medical Device Risk Profiles Faster Than Static Risk Files Track

A regulatory professional recounts a review meeting where no one could say how a recent quiet retraining of a software medical device would have been caught by the existing risk documentation. The author argues that a risk management file is a point-in-time snapshot, while learning models change continuously, so scheduled reviews leave gaps. Changes such as subgroup performance drift, upstream labeling shifts, or inference-stack dependency updates often fall outside formal change control and generate only log entries. The piece points to standards including ISO 14971, IEC 62304, the EU AI Act, and the FDA's Predetermined Change Control Plan guidance as expecting risk to be linked to changes, ideally continuously. The author suggests triggering risk reviews from telemetry and committing in advance to a PCCP protocol that defines permissible model changes.

0
IndiaNDTV ·

Delhi Unveils Rs 1,000 Crore Industry Push Including Hospital Incentives

Delhi's government has launched a Rs 1,000 crore incentive scheme aimed at boosting industry, with healthcare among its key focus areas. Under the healthcare provisions, eligible projects will generally receive 25 per cent capital investment assistance. The support is capped at Rs 10 crore for most projects, rising to Rs 12 crore for enterprises led by women. Hospitals with at least 1,000 beds are eligible for a higher ceiling of Rs 100 crore.

0
ProgrammingDEV Community ·

Developer builds a 12-axis political quiz with Vite, TanStack Start and Cloudflare Workers

A developer describes creating The 12 Axes, a free political quiz that scores users on twelve independent axes rather than a single left-right line. The quiz is offered in English, Spanish and Portuguese, and its statements and scoring model come from an open-source MIT-licensed project. The site is built with Vite, TanStack Start and Router, and served from the edge via Cloudflare Workers, with no database because results are encoded in shareable URLs. Ideologies and historical figures are matched to results using root-mean-square distance, with unknown axes penalised to avoid unfairly favouring figures with fewer known positions. Progress and answers are stored in the browser's localStorage, so no accounts are required.

0
IndiaNDTV ·

US Teen Charged Over Alleged Plot to Attack Chicago Hindu Temple

A US teenager has been arrested in connection with an alleged plan to carry out a mass shooting at a Hindu temple in Chicago. The suspect faces two charges: making a terrorist threat and unlawful possession of weapons. The weapons count involves a rifle with a barrel shorter than 16 inches. The source article provides limited further detail beyond these charges. Authorities have not been quoted in this excerpt regarding the motive or any further developments.

0
ProgrammingDEV Community ·

Heartbeat monitoring for Go import jobs: alert on missing completions, not just dead processes

A marketplace import page should trigger when scheduled imports stop producing results, rather than only when the API process crashes. The recommended approach is an external heartbeat monitor, such as Healthchecks or Better Stack, to detect a missing completion, with errors, logs, and metrics used to explain the cause. Alerts should name the late import, its last successful completion time, and how far it is past its expected interval. The runbook then checks in order whether a run started, whether it failed, and whether it produced a plausible result count, which keeps rollback decisions safe. The article also suggests sending a success heartbeat only after results are committed, with thresholds set from the schedule plus normal runtime and a grace period.

0
ProgrammingDEV Community ·

Python Method Splits Word Documents by Page Range or Section Breaks

Splitting a long Word document into separate files is a common need, such as dividing a report by chapter or extracting a specific page range. The article notes that python-docx handles paragraphs well but cannot directly access rendered page information, whereas Spire.Doc for Python can read page layout and section structure. It describes two strategies: extracting a range of rendered pages with the ExtractPages method, and saving each section, defined by section breaks, as its own file. Spire.Doc is installed via pip and does not require Microsoft Word on the runtime system. The article warns that page-based splitting depends on final typesetting, so changes to fonts, images, or margins can alter pagination.

0
ProgrammingDEV Community ·

Self-Taught Developer Turns Three Beginner Python Scripts Into a Windows Desktop App

A self-taught developer began learning cybersecurity by writing three simple Python scripts: a network connection monitor, a port scanner, and a system snapshot reporter. The original scripts contained bugs, such as a syntax error that stopped the monitor from running and a scanner that could not distinguish closed ports from open ones. The developer rewrote them and combined them into a single Tkinter-based app called QuantumCat SOC Toolkit, which adds an AI-assisted triage tab using a local Ollama model. The app ships as a Windows installer and a Linux package, with the goal of avoiding terminal setup for users. It is sold for $12 as a learning and triage tool, with its source code included.