SShortSingh.
Back to feed

How to Verify File Checksums on macOS, Linux, and Windows

0
·1 views

A cryptographic checksum, such as SHA-256, acts as a unique fingerprint for a file's exact contents, changing entirely if even a single bit is altered during download or transfer. Verifying a checksum confirms both that a file was not corrupted in transit and that it matches what the publisher originally distributed. On macOS and Linux, the built-in commands shasum -a 256 or sha256sum handle this, while Windows users can rely on certutil -hashfile or PowerShell's Get-FileHash. SHA-256 is the recommended algorithm for security purposes, whereas MD5 and SHA-1 are considered insufficient against deliberate tampering. Browser-based tools that use the Web Crypto API offer a convenient alternative, provided the file is hashed locally and never uploaded to a remote server.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

How Laravel Agencies Can Separate Infrastructure, APM, and Web Vitals Monitoring

Laravel agencies managing multiple client apps often conflate three distinct monitoring jobs: infrastructure and deployments, application performance monitoring (APM), and front-end Core Web Vitals. Tools like Laravel Forge and Vapor reliably track server health and deployment pipelines, while APM products cover server-side timing, database queries, and failed jobs. Neither category automatically measures browser-side metrics such as Largest Contentful Paint or Cumulative Layout Shift on specific client URLs. A shared Blade layout change, for instance, can silently degrade mobile PageSpeed scores across an entire client portfolio even when ops dashboards show all-green. Keeping these three jobs clearly separated in retainer agreements prevents teams from missing front-end regressions and ensures clients understand exactly what is and is not being monitored.

0
ProgrammingDEV Community ·

How to Stream AI Token Responses Into an Angular App Using Fetch API

Streaming AI responses improves perceived performance by displaying tokens as they are generated, rather than waiting for a full response before rendering. Developer tutorial published on DEV Community walks through building a streaming chat component in Angular without relying on any SDK. The guide explains why the browser's built-in EventSource API is unsuitable for most LLM endpoints, as it only supports GET requests and cannot send authorization headers or JSON bodies. Instead, the tutorial uses a standard fetch call with stream enabled, reading chunks from the response body via a ReadableStream. The resulting component handles thinking tokens, clean cancellation, and typed responses, and is compatible with any OpenAI-compatible API endpoint.

0
ProgrammingDEV Community ·

AI Hype Mirrors the PC Boom: A Developer's Case for Healthy Skepticism

A software engineer argues that the current artificial intelligence hype cycle closely mirrors the Wintel era of the 1980s and 1990s, when Intel and Microsoft locked businesses into costly, perpetual upgrade cycles. In today's version, Nvidia plays the role of Intel by dominating expensive GPU hardware, while OpenAI, Anthropic, and Google ship increasingly resource-heavy models that demand massive infrastructure. The developer contends that despite bold claims about approaching artificial general intelligence, real-world performance gains between successive model releases are narrowing into incremental refinements rather than paradigm shifts. Drawing on history from the steam engine to the personal computer, the author notes that every major technological transition has produced the same split between fervent believers and doomsday forecasters. The piece calls on engineers to apply rigorous skepticism and evaluate AI tools by their practical utility rather than benchmark scores or marketing narratives.

0
ProgrammingDEV Community ·

Only 36% of To-Do Tasks Get Done, and Most Are Finished Within a Day

An analysis of 21,655 one-off tasks logged by 1,375 users on the habit-tracking app Loggd found that just 35.9% of tasks were completed. The study, conducted in August 2026 by the app's developer, excluded auto-generated recurring tasks to focus only on items people deliberately wrote down. Of completed tasks, 40.8% were finished on the same day they were created, and the median completion time was just one day. In contrast, overdue open tasks had a median age of 56 days past their planned date, with the top 10% sitting more than four months overdue. The data suggests that to-do lists function less as long-term storage and more as short-lived queues — tasks either get done quickly or are rarely done at all.

How to Verify File Checksums on macOS, Linux, and Windows · ShortSingh