SShortSingh.
Back to feed

Developer bypasses zip file storage constraint with selective HTTP downloads

0
·1 views

A developer faced a common storage issue where they lacked space for both a large zip file and its extracted contents. They devised a method using HTTP Range requests to download only a zip file's central directory, which lists its contents, without saving the zip itself. This allows users to selectively download and extract specific files directly, saving significant disk space when only parts of an archive are needed. The developer implemented this solution as a command-line tool and later as a Chrome extension with a native helper program. However, the technique does not work on servers like GitHub that do not support HTTP Range requests for zip downloads.

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
ProgrammingHacker News ·

Oxide Computer raises $445 million in Series D funding round

Oxide Computer Company has secured $445 million in a Series D funding round. The announcement was made public via a post on the company's official blog. The news was subsequently shared and discussed on the Hacker News platform, where it garnered significant community engagement. The capital infusion is intended to support the company's ongoing development and business objectives.

0
ProgrammingHacker News ·

Deno Runtime Joins Cloudflare, Strengthening Serverless Platform

Deno's company is joining Cloudflare, as announced in a blog post on September 12, 2024. The open-source JavaScript and TypeScript runtime will become part of Cloudflare's product portfolio. The move aims to integrate Deno's capabilities with Cloudflare's global network and serverless offerings. The acquisition's goal is to accelerate development and enhance the developer experience for both platforms.

0
ProgrammingDEV Community ·

GitHub Actions Cron Schedules Unreliable on Free Tier, Community Analysis Finds

A development team using GitHub's free tier experienced unreliable scheduled workflows despite correct configuration. Their GitHub Action, set to run hourly, missed seven out of eight expected executions on a critical day, with the sole run arriving significantly late. The incident highlights that GitHub explicitly designates cron scheduling as 'best-effort,' particularly for free accounts and during high platform load. A key diagnostic challenge is that GitHub's API cannot report missed cron opportunities, only created runs. This behavior can disrupt software planning and release cycles for teams relying on automation.

0
ProgrammingDEV Community ·

Sales ops automations cost $6,500 to build, save 50 hours monthly

A developer built three sales operation automations for a client, detailing real costs and outcomes. The systems automated lead scoring, pipeline reporting, and deal follow-up reminders. The total build cost was $6,500, with a monthly $270 run rate, saving roughly 50 hours of manual work monthly. The developer also highlighted specific technical failures encountered during implementation, such as flawed scoring logic and expired API tokens. These issues underscored the importance of building safeguards like confidence thresholds and error alerts into automated systems.

Developer bypasses zip file storage constraint with selective HTTP downloads · ShortSingh