SShortSingh.

Programming

0
ProgrammingDEV Community ·

Aldi cheapest on weekly 31-item grocery basket, Coles dearest by 22%

A weekly price index comparing Coles, Woolworths and Aldi found Aldi had the lowest total for a 31-item staples basket at $105.40 on 22 October 2026. Coles was the most expensive at $128.57, about 22 percent more than Aldi, while Woolworths came in at $123.81. The comparison uses online shelf prices for the cheapest matching product per item, measured per kilogram or litre so pack sizes do not skew results. The report is rebuilt weekly so that price movements can be tracked over time.

0
ProgrammingDEV Community ·

Why Standard HTTP Status Codes Make APIs Easier to Use and Debug

HTTP status codes signal the outcome of a request, and using them consistently helps developers consume and troubleshoot APIs. The article highlights 200 OK for success and 201 Created when a new resource is made, such as after a POST to a users endpoint. Client-error codes like 400, 401, 403, 404, 409, and 429 indicate that a request was unacceptable, for instance when authentication is missing or permissions are lacking. Server-side failures are represented by codes such as 500 Internal Server Error and 503 Service Unavailable, the latter often signaling temporary downtime. The author argues that returning 200 for every response forces clients to parse custom fields, so standard codes should be treated as part of the API contract.

0
ProgrammingHacker News ·

Disney Raises Streaming Prices Days After Saying Ads Will Reach All Tiers

Disney has announced a price increase for its streaming service just days after confirming that advertisements will now appear on every subscription tier. The change means subscribers on previously ad-free plans will see commercials alongside their content. The news was shared on Hacker News, where it drew discussion from readers. The source article, published on a TV fan site, reports the pricing move and links it to the broader push toward advertising revenue. Further details on exact new prices and effective dates were not included in the provided text.

0
ProgrammingHacker News ·

ClickBench Pull Request Calls for Removing pgrust Entry Over Alleged Cheating

A pull request on the ClickBench GitHub repository proposes removing the pgrust entry from the benchmark. The request argues that the submission is cheating, meaning it does not represent a legitimate performance result. The article itself is brief and provides only the pull request link, with limited detail about the specific methods alleged. The discussion gained modest attention on Hacker News, with 8 points and one comment at the time of posting. Readers should consult the pull request directly for the full reasoning behind the accusation.

0
ProgrammingDEV Community ·

Developer shares how to build a native-feeling six-box OTP code input

A DEV Community tutorial describes common usability problems with six-box one-time code inputs, such as paste landing only in the first box and backspace failing on empty cells. The author explains that their component treats the code as a single digit string that the six inputs merely display, so typing, pasting, and iOS autofill all update the same value. Key behaviors include moving focus to the first empty cell, replacing digits in filled cells, stripping non-digit characters from pasted codes, and shaking the field with a reset on an incorrect code. The article also covers accessibility attributes such as inputMode, autoComplete set to one-time-code on the first cell, and ARIA labels for screen readers. Code excerpts from the shipped React component illustrate the approach.

0
ProgrammingDEV Community ·

How ISO 27001 and ISO 42001 Can Be Built Into AI Development Workflows

Governance gets harder when security and compliance work sits apart from the engineering process, especially for AI systems that raise questions about intended use, model behaviour, and risk ownership. The article argues that ISO/IEC 27001 (information security) and ISO/IEC 42001 (AI management) can help organizations close the gap between technical implementation and governance. It explains that standard security controls alone do not address issues such as sensitive data exposure in model inputs, the need for human review of outputs, or post-deployment monitoring. The piece recommends connecting these management-system activities to existing development lifecycle stages, starting with planning questions about purpose, data, dependencies, and ownership. It also suggests that testing and review should cover both security and AI-specific concerns, with documented results and clearly identified approvers.

0
ProgrammingDEV Community ·

Browser image loop decodes, draws, encodes and saves photos one at a time, with per-step timings

A developer reviewed a teammate's in-browser loop that converts a folder of product photos to JPEGs for an upload form, measuring each step with timers. The loop processes one photo at a time and releases the decoded bitmap after drawing it to a canvas, keeping memory low compared with decoding everything first, which had reached about 5,192 MB by photo 100. Tests on six valid photos plus two invalid files showed that corrupt images are caught at the decode step by a try/catch, so processing continues rather than stopping early. Measurements across two runs put decoding at roughly 24–29 ms per photo and encoding at 46–52 ms, with drawing and saving much faster. The author notes that the progress display should show each file's label, since files arrive in input order rather than sorted order.

0
ProgrammingDEV Community ·

Vibe coding moves to phones and enterprise tools, but review safeguards lag behind

Vibe coding, once a personal experiment on home computers, expanded in October into mobile apps, company tools, and autonomous agents. Google Play now lets users build and privately run Android apps made in AI Studio without a paid developer account, though the apps are not publicly listed. A VentureBeat-published survey of 307 tech leaders, sponsored by Retool, found that few organizations have full visibility into internal tools or governance over AI-generated code. GitHub made local sandboxing for Copilot agents generally available, but it is off by default, leaving commands largely unrestricted until enabled. The author argues that the speed of generating code now needs matching review processes and stopping rules, rather than abandoning the practice.

0
ProgrammingDEV Community ·

Symfony Bundle Skeleton Refresh Grows Into a New Generator Built by AI Agents

A Symfony developer set out to modernize the bundle skeleton created by a Symfony core team member, which had not been updated since November 2024. Since then, Symfony 7.4 LTS, 8.0 and 8.1 had been released, and the generator still declared support for older versions and lacked testing, CI and QA tooling. Instead of a minor refresh, the project turned into a completely new generator, with the code written by AI agents working in parallel git worktrees while the author made decisions and reviewed results. The work was coordinated through a planning phase, specialized agents for different components, an integration step to merge branches, and independent reviewers who checked for problems. The author has disclosed the AI involvement openly in the commit history.

0
ProgrammingDEV Community ·

Batch photo processing in the browser: memory spikes from the final ZIP step

A developer tested browser memory use while re-encoding a 300-photo batch to JPEG, measuring total usage across all browser processes. Decoding every photo up front made memory grow with folder size, while releasing each bitmap after use kept it near one photo's footprint. Keeping all re-encoded results for a final ZIP pushed memory up sharply at the end, adding about 830 MiB against a 428 MiB archive. Writing each file to disk instead showed memory climbing in the browser outside the JavaScript heap, a cause the author had not yet identified. The author also noted an unexplained startup memory baseline that appears across runs.

0
ProgrammingDEV Community ·

APEX Compute: A Zero-Dependency C++20 Engine for Vectorized Matrix Multiplication

APEX Compute is a C++20 engine built from scratch with no external dependencies, designed to run cache-tiled, explicitly vectorized matrix multiplication (GEMM) on both ARM and x86 processors. The project pairs its low-level SIMD kernels with an automated benchmarking tool, apex-bench, and a differential validation suite, apex-validate, to check results for correctness. It also offers an optional natural-language layer powered by Gemma 4, which converts a user's stated intent into a structured hardware run plan. The project's source code is available in its public repository.

0
ProgrammingDEV Community ·

Solo Developer Packages 39 Digital Products on a 2 GB, Single-Core Server

A developer built a pipeline to package 39 digital products totaling 856 MB on a server with one vCPU, 2 GB of RAM, and no GPU. After a parallel batch job crashed the machine, they shifted to running one process at a time, freeing memory between items, and measuring peak memory usage. Four scripts handle metadata for stock platforms like Adobe, Vecteezy and Dreamstime, upload tracking to prevent double posting, Markdown-to-PDF conversion, and cover and thumbnail creation. Two of the four scripts rely only on Python's standard library, while the others need two third-party packages. The article presents this fixed-structure approach as a way to keep a growing product catalogue organized.

0
ProgrammingDEV Community ·

Python ile borsa veri analizinde kullanılan sekiz temel paket

Bir yazar, borsa verileriyle çalışırken karşılaştığı karmaşayı aşmak için kullandığı sekiz Python kütüphanesini paylaşıyor. Pandas'ın veri temizleme ve zaman serisi işlemleri için nasıl kullanıldığı, eksik işlem günlerinin reindex ve ffill yöntemleriyle doldurulması örnekleniyor. Yazar, büyük veri setlerinde bellek yönetiminin önemine ve veri tiplerini optimize etmenin gerekliliğine dikkat çekiyor. Yahoo Finance üzerinden veri çekiminde API sınırlamalarının yarattığı engeller ve veri doğrulamanın önemi de vurgulanıyor. Ayrıca zaman serilerinde look-ahead bias hatasının tahmin modellerini nasıl geçersiz kılabileceği ve teknik göstergeler için Technical Analysis Library'nin RSI hesaplamasındaki kullanımı anlatılıyor.

0
ProgrammingDEV Community ·

Checklist for Agencies Uploading Client Documents to AI Tools

Agencies should not upload client documents to an AI tool until they know where the text is sent, how long it is retained, whether it is used for model training, who else processes it, and what their client contract permits. These answers vary widely between personal chat accounts and business products built on commercial APIs. The article offers a vendor-neutral checklist covering storage, training, model providers, sub-processors, location, access, deletion, export, contracts, and independent assurance. It stresses that the guidance is practical rather than legal advice, and that client contracts and counsel decide what is permitted. Discovery material can be more sensitive than it appears, and some of it may count as personal data under laws such as the GDPR.

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.

← NewerPage 101 of 2926Older →