Live data from Hacker News

Hyperspace

hypercritical.co

11–20 of 503 posts

Re: Hyperspace

#11
post #4

The fact that copying doesn't copy seems dangerous. Like what if I wanted to copy for the purpose of modifying the file while retaining the original. A trivial example of this might be I have a meme template and I want to write text in it while still keeping a blank copy of the template. There's a place for alias file pointers, but lying to the user and pretending like an alias is a copy is bound to lead to unintende…

Copy-on-write means that it performs copy only when you make the first change (and only copies part that changes, rest is used from the original file), until then copying is free.

Re: Hyperspace

#12
post #4

The fact that copying doesn't copy seems dangerous. Like what if I wanted to copy for the purpose of modifying the file while retaining the original. A trivial example of this might be I have a meme template and I want to write text in it while still keeping a blank copy of the template. There's a place for alias file pointers, but lying to the user and pretending like an alias is a copy is bound to lead to unintende…

CoW is not aliasing. It will perform the actual copying when you modify the file content.

Re: Hyperspace

#14
As a web dev, it’s been fun listening to Accidental Tech Podcast where Siracusa has been talking (or ranting) about the ins and outs of developing modern mac apps in Swift and SwiftUI.

Re: Hyperspace

#16

As a web dev, it’s been fun listening to Accidental Tech Podcast where Siracusa has been talking (or ranting) about the ins and outs of developing modern mac apps in Swift and SwiftUI.

The part where he said making a large table in HTML and rendering it with a web view was orders of magnitude faster than using the SwiftUI native platform controls made me bash my head against my desk a couple times. What are we doing here, Apple.

Re: Hyperspace

#18

Is this the dedup function provided by other FS?

I think the term to search for is reflink. Btrfs is one example: https://btrfs.readthedocs.io/en/latest/Reflink.html

Like with Hyperspace, you would need to use a tool that can identify which files are duplicates, and then convert them into reflinks.

Post reply on HN