Live data from Hacker News

Hyperspace

hypercritical.co

41–50 of 503 posts

Re: Hyperspace

#41

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.

As a web dev I must say that this segment made me happy and thankful for the browser team that really knows how to optimize.

Re: Hyperspace

#42
post #38
post #3

Earlier quoted context omitted.

Storage isnt cheap on macs though. One has to pay 2k USD to get 8 TB SSD

Storage comes in many forms. It doesn't need to be soldered to the mainboard to satisfy most use cases.

But cleaning / making space on your main soldered drive where the OS is is quite important

Re: Hyperspace

#44

I gave it a try on my massive folder of NodeJS projects but it only found 1GB of savings on a 8.1GB folder. I then tried again including my user home folder (731K files, 127K folders, 2755 eligible files) to hopefully catch more savings and I only ended up at 1.3GB of savings (300MB more than just what was in the NodeJS folders.) I tried to scan System and Library but it refused to do so because of permission issues.…

> it only found 1GB of savings on a 8.1GB folder.

You "only" found that 12% of the space you are using is wasted? Am I reading this right?

Re: Hyperspace

#47
post #24

Earlier quoted context omitted.

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.

Hacker News loves to hate Electron apps. In my experience ChatGPT on Mac (which I assume is fully native) is nearly impossible to use because I have a lot of large chats in my history but the website works much better and faster. ChatGPT website packed in Electron would've been much better. In fact, I am using a Chrome "PWA App" for ChatGPT now instead of the native app.

Someone more experienced that me could probably comment on this more, but theoretically is it possible for Electron production builds to become more efficient by having a much longer build process and stripping out all the unnecessary parts of Chromium?

Re: Hyperspace

#48
> There is no way for Hyperspace to cooperate with all other applications and macOS itself to coordinate a “safe” time for those files to be replaced, nor is there a way for Hyperspace for forcibly take exclusive control of those files.

This got me wondering why the filesystem itself doesn't run a similar kind of deduplication process in the background. Presumably, it is at a level of abstraction where it could safely manage these concerns. What could be the downsides of having this happen automatically within APFS?

Re: Hyperspace

#49

I gave it a try on my massive folder of NodeJS projects but it only found 1GB of savings on a 8.1GB folder. I then tried again including my user home folder (731K files, 127K folders, 2755 eligible files) to hopefully catch more savings and I only ended up at 1.3GB of savings (300MB more than just what was in the NodeJS folders.) I tried to scan System and Library but it refused to do so because of permission issues.…

pnpm tries to be a drop-in replacement for npm, and dedupes automatically.

Re: Hyperspace

#50

There's a cross-platform open-source version of this program: https://github.com/qarmin/czkawka

I don't think czkawa supports deduplication via reflink so it's not exactly the same thing. fclones as linked by another user is more similar: https://news.ycombinator.com/item?id=43173713
Post reply on HN