SShortSingh.

Programming

0
ProgrammingDEV Community ·

Cannabis-friendly rentals directory rewrites listings to lead with plain guest rules

A directory of rental properties that permit cannabis smoking has overhauled how it presents listings. Its earlier notes were fully accurate but crowded with audit details like sources, check dates, and legal categories, which made them read like warnings and deterred potential guests. The editor now leads with simple rules, such as where smoking is allowed and where it is not, and keeps only facts that affect whether a guest can book or be turned away, like age requirements. The full sourcing record is kept separately for internal audits instead of being shown on each listing. The revision also uncovered misleading template elements, including invented popularity and risk-level badges and an unsupported claim of monthly policy checks, which the editor has now addressed.

0
ProgrammingDEV Community ·

SlothSort: A Local AI Tool That Organizes Cluttered Files for You

A developer has built SlothSort, a local-first desktop app that uses AI to clean up messy folders such as Downloads. The tool reads file contents, proposes descriptive names, categories, and destinations, and flags duplicates and naming conflicts. Users review a cleanup plan before any changes are made, and an undo feature reverses operations. It runs an open-weight language model through Ollama, so files are never uploaded to a cloud service, and the developer argues this keeps costs down and gives users control over their data.

0
ProgrammingDEV Community ·

Structuring Jenkins Shared Libraries for Maintainable, Reusable Pipelines

Teams managing many repositories often end up with duplicated Jenkinsfiles, so a single fix must be applied across twenty pull requests. A Jenkins shared library, a Git repository loaded into the pipeline's Groovy classpath, is the usual remedy. The article explains its conventional layout, where vars/ holds global steps, src/ holds Groovy classes, and resources/ holds non-Groovy files. It warns that poorly designed libraries, such as bloated global steps, floating versions, or heavy logic running on the controller, can become as hard to maintain as the original sprawl. It also flags risks around hardcoded secrets and the lack of tests, which can push untested changes into production pipelines.

0
ProgrammingDEV Community ·

Moving cost calculator estimates prices across 47 states without collecting personal data

A moving quote tool has been built that produces estimates using only an origin state, destination state, home size, and move month, with no address, account, or contact details required. It covers 27,854 route pages across 47 states and relies on a single pricing model. The model draws on public US Census county-to-county migration data, which is aggregated into a corridor demand index that adjusts for carrier competition on busy versus thin routes. Estimates rely on distance bands, weight tied to home size, and seasonal multipliers derived from search and quote-request data, with summer moves priced higher. The calculator runs entirely in the browser, so no personal data is sent to a server.

0
ProgrammingDEV Community ·

Google Play Top Charts API: Free, Paid, Grossing and Trending apps in 130 countries

Google Play offers no public API for its top charts, so third-party vendors resell the data, often by reading the Play Store's internal RPC. Five lists are available per country and category: Top Free, Top Paid, Top Grossing, Trending, and Top New Free, each capped at 200 apps. Trending is distinct from Top Free, sharing only a handful of apps with it, which makes it the better place to spot breakout apps. Requesting an unsupported country code returns the chart of the requester's own location rather than an error, so scrapers must verify each market against a reference chart. By that test, the author's scraper currently covers 130 verified countries and 54 categories.

0
ProgrammingDEV Community ·

EU Remote Developers Face Hidden Tax Residency Risks When Working Across Borders

Developers working remotely from another EU country under a contract with an employer in a different member state may be exposed to tax obligations they did not anticipate. Each country applies its own domestic tests for tax residency, such as having a permanent home or a centre of vital interests there, so a person can end up resident in two countries at once. Bilateral tax treaties, typically based on the OECD model, resolve such dual residency through a tiebreaker sequence that considers permanent home, vital interests, habitual residence, and nationality. The article also notes that the commonly cited 183-day threshold governs when employment income becomes taxable in the source country rather than determining residency itself. Social security coordination and possible permanent establishment risks for employers are additional areas of concern.

0
ProgrammingDEV Community ·

Java Standard Library Covers X.509 Certificate Parsing and Chain Validation

A DEV Community guide, republished from Code Beneath, explains how to read and parse X.509 certificates in Java using only built-in APIs available since Java 1.4. It argues that the java.security.cert package, including CertificateFactory, X509Certificate, and CertPathValidator, is sufficient for most tasks, so external libraries such as Apache Commons or Bouncy Castle are often unnecessary. The article covers loading PEM and DER files, reading certificate chains, and extracting fields such as subject and issuer distinguished names. It includes sample code that aims to work in production without external dependencies.

0
ProgrammingDEV Community ·

Arista Warns of Critical SQL Injection Flaw in VeloCloud Orchestrator Exploited in the Wild

Arista has disclosed CVE-2026-114625, a SQL injection vulnerability in VeloCloud Orchestrator rated CVSS 9.9 and already exploited in attacks. Exploitation requires a valid login with at least Enterprise Read Only access, so account inventories matter as much as host inventories. Fixed releases are published per train, and Hosted and Dedicated orchestrators have already been patched by Arista. The advisory recommends preserving logs before upgrading, patching externally reachable systems first, and reviewing user accounts and network exposure. Some open questions remain, including whether an upgrade removes access already gained.

0
ProgrammingDEV Community ·

Ginkgo Bioworks and OpenAI Test AI-Run Lab Experiments at Scale

In February 2026, Ginkgo Bioworks linked GPT-5 to its cloud laboratory to carry out biological experiments. The AI system covered 36,000 experimental conditions over six repeated cycles. In each cycle it designed experiments, ran them physically, and used the results to refine its next round. The work points to AI moving beyond data analysis toward carrying out empirical research on its own. It also hints at future labs where AI plans and performs wet-lab experiments with minimal human direction.

0
ProgrammingDEV Community ·

Building a Production RAG Chatbot on Amazon Bedrock: Where the Real Work Begins

A developer walkthrough describes a document Q&A system built with NestJS, PostgreSQL with pgvector, hybrid search using Reciprocal Rank Fusion, prompt caching, and Claude on Amazon Bedrock. The author notes that RAG systems often fail silently, with healthy infrastructure metrics masking gradually declining answer quality. Retrieval design, chunking, embedding consistency, and document lifecycle management are presented as more decisive than model choice or prompt engineering. The piece explains why RAG is preferred over stuffing documents into prompts or fine-tuning for business chatbots, since it allows knowledge updates through re-ingestion and cited answers. The system is described as having an offline indexing stage and an online retrieval and generation stage.

0
ProgrammingDEV Community ·

How one free games portal guards against fake download buttons and misleading ads

A free HTML5 games portal with over 56,000 browser-based titles says its trustworthiness depends on how the site is built, not just moderated. Each game runs in a sandboxed iframe, and new embeds must pass an automated check that confirms they render content without hijacking the page. The operator enforces a written creative policy with ad networks that bans fake install buttons and OS-style dialogs, and it pulls ad slots showing suspicious click-through spikes pending review. Ads are plainly labeled and the real play button is styled consistently, so players can tell games from advertising. Players can also report broken games, misleading ads, or suspicious redirects, with the most serious reports prioritized.

0
ProgrammingDEV Community ·

Aspiring DevOps engineer Ash shares hands-on learning with AWS, Terraform and Kubernetes

Ash, an aspiring cloud and DevOps engineer, has published a first post on DEV Community describing months of moving from theory to hands-on projects. The projects cover AWS and Terraform infrastructure, Docker and Kubernetes, CI/CD pipelines with blue-green and canary deployments, and monitoring with Prometheus, Grafana and Alertmanager. Ash says the most valuable lessons have come from troubleshooting errors such as IAM permission issues and failing pipelines. The author plans to write about practical projects, debugging experiences and lessons learned, and invites readers in cloud and DevOps to share their own experiences.

0
ProgrammingDEV Community ·

AI agent finds written deadlines lacked alarms, so dates did not trigger reminders

An AI agent's work notes describe how a proposal deadline six days out had a date written in its task list but no timed alert set. Reviewing its records, it found the same gap had appeared earlier, when one of three deadlines went unalarmed and was only caught by chance. A further check revealed two more deadlines without alarms, one of which had also gone stale because the underlying dependency had shifted. The agent now sets an alarm in the same step it records a date and checks the rest of the list whenever it fixes a gap. It admits that a missed lunchtime draft on 13 October was also a lapse, and that its earlier catches relied on luck rather than any systematic safeguard.

0
ProgrammingDEV Community ·

Responsive shadcn Dialog: Card on Desktop, Bottom Sheet on Phones

A tutorial describes how to build a single shadcn/ui dialog that shows a centered Dialog above 768px and a draggable Drawer bottom sheet on phones. The shadcn docs' example duplicates the trigger, header and form across two branches, and picks the branch with a hook that initially guesses wrong, causing remounts and flicker. The author instead puts a breakpoint switch inside one root component, so content is written once and open state persists across resizes. The breakpoint is read with useSyncExternalStore so server and hydration renders match. Ready-made wrappers such as Credenza and Dice UI are mentioned as alternatives, with a caveat about their initial-render behavior.

0
ProgrammingHacker News ·

Swurf Launches a Swipe-Based Feed for Discovering Real Web Pages

A developer has released Swurf, a Show HN project that lets users swipe through web pages one after another in a feed. The tool learns user interests over time and avoids repeating pages it has already shown. The creator built it to find high-quality blogs and niche sites that people rarely encounter while browsing. Swurf requires no account to start, and includes options to submit, save links, control adult content, and search related topics. The project was shared on Hacker News, where it had 5 points and 2 comments at the time of reporting.

0
ProgrammingHacker News ·

Same AI request produces 8.5 times more CO2 in Texas than in Sweden

A blog post from Berget.ai, an AI infrastructure company, reports that identical AI requests generate roughly 8.5 times more carbon dioxide when processed in Texas than in Sweden. The difference is attributed to the carbon intensity of the electricity grids powering data centers in each location. The figures were shared on Hacker News, where the post drew 30 points and six comments. The source material provided is limited to a headline and link, so the exact methodology and underlying data are not described here.

0
ProgrammingDEV Community ·

Developer Builds Backwards Word Game Noillirk, Where Answers Must Be Recalled in Reverse

A developer describes Noillirk, a word game whose name is 'Krillion' spelled backwards and which is the third title in a family that includes Dive Krillion and Krillion Infinite. In the game, players answer prompts like 'name a fruit' by producing words reversed, which disrupts the brain's usual fast, forward-only retrieval and makes the task feel noticeably harder. Building it required curating a separate prompt bank, keeping rarity-based scoring intact, and designing the interface to signal the mirrored mode without a tutorial. The developer found that playtesting the backwards version revealed where the difficulty of the original games comes from, namely the race to retrieve less obvious answers. The backwards game ended up serving as a diagnostic of players' own word retrieval as well as entertainment.

0
ProgrammingDEV Community ·

Architecting for AI: What Changes in Software Design and What Still Holds

A developer-authored book argues that AI introduces a probabilistic, costly, and unaccountable component into systems designed before it existed. The author contends that the industry's business model, development methods, and architecture must all adapt, while foundational practices like capability maps, domain modeling, and documented decisions remain essential. The book offers practical guidance for extending enterprise architecture frameworks to cover AI, including evaluation-based testing, guardrails for agents, and risk-tiered trust design. Each chapter addresses a common belief about AI in software, examines what is genuinely valuable about it, and closes with a checklist of recommended practices. The author aims the book at solution and enterprise architects, tech leads, and engineering managers, as well as developers concerned about their roles.

0
ProgrammingDEV Community ·

O'BLOCK dev borrows Balatro's UI feel, not its visuals, after one player's bug list

The developer of O'BLOCK, a free Steam sneaker-reseller game, rebuilt the interface overnight after a tester listed usability problems. The list covered a scroll wheel that moved the selection, a card drawn beneath text, a hard-to-read price bar, and a custom sneaker price stuck at 1.1k. The team's guiding rule was to copy interaction behavior from Balatro, such as hover and press responses, while keeping every on-screen object drawn from the game's own world. Across five builds shipped in one night, the street screen grew from 8 to 27 visible shoeboxes, and the update touched 18 source files. The developer published a before-and-after dataset alongside the Build 18 patch notes.

0
ProgrammingDEV Community ·

Why local LLMs give different answers at temperature 0

Setting temperature to 0 and fixing the seed does not guarantee identical outputs from a local language model. A test with llama.cpp on the gsm8k benchmark changed the generated text on 41 of 100 problems when requests were run one at a time versus eight at once. Other studies cite similar results, including 80 different completions from 1,000 identical temperature-0 requests and accuracy swings of up to 9% when only hardware or batch size changed. The root cause is that floating-point addition is not associative, so differences in GPU kernel reduction order, batching, and prompt caching alter the computed probabilities slightly. Issue trackers for several popular inference engines report the same behavior, making it a broad rather than engine-specific problem.

← NewerPage 95 of 2919Older →